Home Forums Themes Support HelpDesk woocommerce categories

This topic contains 3 replies, has 2 voices, and was last updated by  Harry 8 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #14193


    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' ) ) : ?>
    <div class="shop-top-sidebar">
    <?php if ( ! function_exists( 'dynamic_sidebar' ) || ! dynamic_sidebar( 'wc-categories' ) ) : endif; ?>
    <?php endif; ?>

    Best regards


    Can I add this code to homepage html?


    No, you need create a .php file and put it in child theme.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.