With Genesis it's super easy to highlight searched-for text on a webpage, which can be helpful to users hunting for information in text-heavy websites. 1) Create a customized version of search.php in your child theme, adding a couple of custom filters: remove_action( 'genesis_loop', …
Blog
Loading Gravity Forms dynamically in Popups
Came across a tricksy little issue recently trying to submit a Gravity Form that needed to be loaded dynamically onto a popup (used the WP Popup Maker + Remote Content plugins for that) So here's the fix... (all code can go in child theme functions.php) First off you might need to enqueue the …
[Read more...] about Loading Gravity Forms dynamically in Popups
Output a Genesis Simple Sidebar Title
If your Genesis site uses different sidebars on different pages then Genesis Simple Sidebars makes this really simple. But when you need to display the sidebar title before rendering the sidebar itself, here's how you grab it: function add_custom_sidebar_heading() { $sidebarID= …
Implementing WooCommerce Product Search for all products in a multisite
This is pretty straightforward to achieve using a few lines of code within the archive-product.php page template. Remember to override this correctly you'll need to copy the file from it's default location /wp-content/plugins/woocommerce/templates/archive-product.php into …
[Read more...] about Implementing WooCommerce Product Search for all products in a multisite