Home Forums Themes Support HelpDesk woocommerce categories

Viewing 3 reply threads
  • Author
    Posts
    • #14193

      Hi,

      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.

    • #14203

      Hi,

      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; ?>
      </div>
      <?php endif; ?>

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #14211

      Can I add this code to homepage html?

    • #14222

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

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 3 reply threads

You must be logged in to reply to this topic.