Display a message after the 1st paragraph of posts
Thank you for reading this post, don’t forget to subscribe!Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
/** * Snippet Name: WooCommerce Change “$0.00” to “Free” * Snippet Author: ecommercehints.com */ add_filter( ‘woocommerce_get_price_html’, ‘ecommercehints_change_zero_price_display’, 10, 2 ); function ecommercehints_change_zero_price_display( $price, $product ) { if (empty($product->get_price()) || $product->get_price() == 0) { // If price is not entered or…Continue reading
// For non-recurring function mepr_stripe_payment_descriptor( $args ){ $args[ ‘statement_descriptor’ ] = ‘Custom Descriptor’; // max 22 chars return $args; } add_filter( ‘mepr_stripe_payment_intent_args’, ‘mepr_stripe_payment_descriptor’, 10 );Continue reading
function mepr_cust_registration_input( $product_id ) { $post_id = url_to_postid( wp_get_referer() ); if( isset( $post_id ) && $post_id ) { $input_str = ““; echo $input_str; } } add_action( ‘mepr-checkout-before-submit’, ‘mepr_cust_registration_input’ ); function mepr_cust_thankyou_url_params( $url, $args ) { if ( isset( $_REQUEST[ ‘mepr_cust_current_page_id’…Continue reading
function mepr_allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[ ‘allow_mailchimp’ ] ) ) { $block = false; } return $block; } add_filter( ‘mepr-pre-run-rule-content’, ‘mepr_allow_mc_through’, 11, 3 );Continue reading
//Alternatively, you can use the wp_head hook instead. Wp_footer works best if using ReadyLaunch(tm) function mepr_move_paypal_smart_buttons() { ?>Continue reading
//Posts function mepr_cust_pw_exclude_posts_pages( $exclude, $post ) { $exclude[] = 1234; //Change this to the post or page id you want to exclude. $exclude[] = 64; //Change this to the post or page id you want to exclude. $exclude[] = 107;…Continue reading
/* Increase the image size in the slider */ .container { width: 100%; max-width: 90%; /* margin: 0 auto; */ } .custom-slider.slick-initialized.slick-slider { position: absolute; width: 111.11%; /* Set width to 100% to make it stretch */ top: -45px; /*…Continue reading