We will do our best to assist you with any issues related to our themes and plugins.
Home › Forums › Themes Support › HelpDesk › woocommerce categories
Response time up to 1-2 business days.
This topic contains 3 replies, has 2 voices, and was last updated by Harry 5 months, 3 weeks ago.
How can I put the categories under the main menu on Home Page? I would like to have the menu like on the “Shop page”. I don’t want to change the homepage to Shop.
On the homepage it doesn’t support display product categories menu. If you want you have to create “custom page template” http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/ for homepage and add below code after header
<?php if ( is_active_sidebar( 'wc-categories' ) ) : ?>
<?php if ( ! function_exists( 'dynamic_sidebar' ) || ! dynamic_sidebar( 'wc-categories' ) ) : endif; ?>
<?php endif; ?>
Can I add this code to homepage html?
No, you need create a .php file and put it in child theme.
You must be logged in to reply to this topic.