I’m using your plugin with woocommerce. I’m trying to create a custom theme that would send a newsletter with selected products based on their tags and/or categories. I tried using the default theme as a starting point, but that theme only fetches the articles/posts tags and categories and not the products ones.
I tried messing with the controls.php file, but I was going out of my depth. I understand that there should be some control that would call for the products tags and categories, but I just don’t know how to get there.
Hi, the default theme should already show the post types to be activated, but if you filter per category probably the taxonomy of products is not recognized. If you remove every tag or category filter, do the products are extracted?
The filter is working fine for posts/pages’ tags and categories. Products use a separate range of tags/categories which aren’t fetched with the default theme filter.
I tried to tamper with the controls.php’s function “categories”, replacing get_categories by get_products_cat, but I’m not even sure if that’s the right approach or the right function. I’m not a true programmer and that’s why I’m asking for your help.
Probably they’re using a custom taxonomy. It would be simple to find the filter to be passes to the post extraction theme and use them directly in a child theme, removing the options panel for your custom theme.