WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] How to dd manually "Product Categories" on sid (2 posts)

  1. Nikolas
    Member
    Posted 1 year ago #

    Hello, I need to show the product categories manually on the sidebar as the widget shows them, but I can not figure it out.

    The theme I use shows latest news like this:

    <div class="sidebar-left" style="margin: 10px 0 0;">
                <div class="sidebartop"></div>
                <div class="sidebarmain">
                  <div class="sidebarcontent">
                    <h4 class="sidebarheading"><?php echo __('Latest News','ecobiz');?></h4>
                    <?php
                    $blog_page = get_option('ecobiz_blog_page');
                    $blog_pid = get_page_by_title($blog_page);
                    $blog_cats_include = get_option('ecobiz_blog_categories');
                    if(is_array($blog_cats_include)) {
                      $blog_include = implode(",",$blog_cats_include);
                    }
                    ?>
                    <?php imediapixel_latestnews($blog_cats_include,5,"");?>
                  </div>
                </div>
                <div class="sidebarbottom"></div>
              </div>

    http://wordpress.org/extend/plugins/woocommerce/

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    If you don't want to use the category widget, use a custom menu widget so you can define them how you want.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic