How to know “Who created this coupon?”
What to do when your client ask “Who created this coupon?” . in WooCommerce. But we don’t have any default things in WooCommerce which automatically show author of coupon .
What to do when your client ask “Who created this coupon?” . in WooCommerce. But we don’t have any default things in WooCommerce which automatically show author of coupon .
How To Limit Search Results For Specific Post Types in WordPress
How to add menu in WordPress admin panel – In this post we see how we can add custom menu to admin sidebar. Sometimes when we on WordPress and we need to show some features or any information in admin page then we can use this code snippet to create the same.
I added a text field to the posts filter form and I use s= parameter to make the search work. But how to search only in the title of the post (not in the content)? how to limit search to post titles? How to search only by Post Title?
How to add a submenu page to the WooCommerce “Products” admin menu using “admin_menu” hook.
Example: Sometime we need to show content on frontend with adding some prefix or suffix or may be you have enter spelling mistakes in 2000 posts. so it is very difficult to modify 2000 posts so we can modify using filter . SO mistake will be replaced by correction. For Modifying post content only: function link_words( $text ) { $replace = ‘Replace with’; $text = str_replace( ‘Want To replace text’, $replace, $text ); return $text; } add_filter( ‘the_content’, ‘link_words’ ); For Modifying post excerpt only function link_words( $text ) { $replace = ‘Replace with’; $text = str_replace( ‘Want To replace text’, $replace, $text ); return $text; } add_filter( ‘the_excerpt’, ‘link_words’ ); For Modifying post content and excerpt both function link_words( $text ) { $replace = ‘Replace with’; $text = str_replace( ‘Want To replace text’, $replace, $text ); return $text; } add_filter( ‘the_content’, ‘link_words’ );
Elementor’s popup in WordPress to show CF7 form. The popup closes before it can show the after submit confirmation text or validation error.
Filters the field $value after being loaded. Sort a repeater field using a function called array_multisort(). Sorting Filtering Modifying ACF results .
How to add some text to the thank you page, the page that customers see after they place an order In WooCommerce Checkout page.
Fetch wordpress categories Using inbuilt functions like get_categories(), wp_list_categories(), wp_dropdown_categories().