Thread Starter
me2you
(@me2you)
[resolved]
line 162: add post type product
if ( ! is_object($post) || ! isset($post->post_type) || ! in_array( get_post_type($post), array('post', 'page', 'attachment','product') ) ) {
line 212: add post type product for achive product category
if ( ! is_object($post) || ! isset($post->post_type) || ! in_array( get_post_type($post), array('post','product') ) ) {
return;
}
line 281: add is_product_category
elseif ( is_archive() || is_search() || is_home() || is_product_category () {
Thanks.
I’m reopening this as a reminder to add a filter to customize the list of post types without having to edit the source. If other source code modifications were required in order to make this plugin work with WooCommerce, please let me know, so I can make things easier.
Closing topic.
The plugin should work out of the box with custom post types and custom taxonomies.