Snippet for enabling new gallery that comes with new version of WooCommerce 3.0. Add this snippet to your functions.php if your gallery is not visible.
Continue ReadingInclude password protected WooCommerce products in search results
How to include password protected products in WooCommerce search results for non-logged in users? Easy, put this somewhere in functions.php: By default password protected products are displayed only to logged in users. Unfortunately there is …
Continue ReadingAdd Wistia videos oEmbed support to WordPress
Wistia is not on the list of supported websites, but it looks like it’s becoming popular. This snippet will add support for WordPress oEmbed, works with ACF oEmebed field too. How to play video via …
Continue ReadingFilter WordPress posts by multiple taxonomy terms with AJAX
UPDATE: 14. Nov. 2016 Demo is now extended to show standard numbered pagination or infinite scroll. This is the second part of the post where I show how to display and filter WordPress posts based …
Continue ReadingFilter WordPress posts by custom taxonomy term with AJAX and pagination
This is a repost of original post AJAX Filter Posts By Tag. There was a lot of interest about that post so I decided to further improve code example and make it more simple. In …
Continue Reading