Add the following code to your theme's function.php file, or a functionality plugin to prevent the WordPress Search function from listing Pages. … [Read more...] about Prevent WordPress Search from listing Pages
Code Snippets
Override Genesis Page Layout Theme Settings
Add the following code to your WordPress theme's function.php file, or a functionality plugin to override Genesis Page Layout Theme Settings. … [Read more...] about Override Genesis Page Layout Theme Settings
Disable Genesis SEO When SmartCrawl is Enabled
As of the posting of this code snippet, the Genesis Theme Framework will disable SEO functionality for Yoast SEO, and All In One SEO. But if you use an alternative SEO plugin like SmartCrawl by WPMUDEV the Genesis SEO will stay active leading to SEO conflicts with SmartCrawl and confusion for Contributors, Editors, and Admins. The good news is you do not need to change … [Read more...] about Disable Genesis SEO When SmartCrawl is Enabled
WordPress Email Spambot Shortcode
The WordPress Email Spambot Short Code encodes email address when placed inside the short code. Usage Example: Code to hide email addresses from spambots: … [Read more...] about WordPress Email Spambot Shortcode
Add Empty Cart To WooCommerce Cart Page
Add the following code to your theme's function.php file, or a functionality plugin to add an empty cart button on the Cart Page. … [Read more...] about Add Empty Cart To WooCommerce Cart Page
Add Navigation Bar Widgets to Genesis Child Themes
How to add Primary and Secondary Navigation Widgets to Genesis Navigation Bars. Add the following code to your WordPress theme's function.php file, or a functionality plugin to add Primary and Secondary Navigation Widgets to Genesis. … [Read more...] about Add Navigation Bar Widgets to Genesis Child Themes
Prevent product category from displaying on WooCommerce shop page
Add the following code to your theme's function.php file, or a functionality plugin to modify the WooCommerce Shop Page in order to prevent specific categories from displaying on the WooCommerce Shop Page. … [Read more...] about Prevent product category from displaying on WooCommerce shop page
Open GitHub Gists in New Window in WordPress
Add the following code to your theme’s function.php file, or a functionality plugin to modify Open GitHub Gists in New Window in WordPress. To open GitHub Gists in a new Window in WordPress adjust the jQuery in the Gist to include the "Target = _Blank" code. … [Read more...] about Open GitHub Gists in New Window in WordPress
Change the number of WooCommerce Related Products
Add the following code to your theme's function.php file, or a functionality plugin to modify the number of WooCommerce Related Products that are displayed. … [Read more...] about Change the number of WooCommerce Related Products
Re-position the price on the single product page
Add the following code to your theme's function.php file, or a functionality plugin to move the price under the excerpt in the short description on the WooCommerce shop page. … [Read more...] about Re-position the price on the single product page