How to programmatically INSERT (WooCommerce) widgets
-
Hello guys,
I’ve a WordPress WooCommerce Shop with Jonradio Multiple Themes to run a theme for the shop and one for the normal blog.
The problem is that this system doesn’t support plugins for each theme.Now I’d like to programmatically add the following functions to my theme:
- Product Search
- Product Categories
- Featured Products
- Top Rated Products
- Recently Viewed Products
I tried everything, but it won’t work.
In my “archive-product.php” theme file where I want to add the widgets to the sidebar I inserted:
do_action('get_product_search_form');
But it doesn’t work. Also Implementing widget areas from the activated theme (ARRAS theme, Shop theme is “The Retailer”) doesn’t work.
Do you have an idea how I can run the 5 widgets in my theme archive-product.php?
Thanks!
- The topic ‘How to programmatically INSERT (WooCommerce) widgets’ is closed to new replies.