• Resolved Harrison

    (@bevital)


    Hello, Iโ€™m trying out the free version using woocommerce but the sidebar doesnโ€™t show up on any of the project pages. Iโ€™ve set it to primary side bar and also created a custom sidebar but still nothing.
    It also doesnโ€™t show on any of the category pages. Did I miss a setting somewhere? Example page

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hey,
    This isnโ€™t an option in the free version of pinnacle. The premium version has options for sidebars on product pages but not free sorry.

    As for category pages you can have a sidebar by going to the theme options > shop settings and shooing the sidebar layout for category pages.

    If you interested in a workaround using a child theme you can pull this off with a function that hooks into the sidebar. Are you using a child theme?

    Kadence Themes

    Thread Starter Harrison

    (@bevital)

    Figured that, a bit surprised that under the โ€œshop settingsโ€ the option is there with the only requirement โ€œwoocommerce plugin requiredโ€.

    Sorry iโ€™m not sure what you mean?

    woocommerce plugin required refers to the options on the page. All the options there work. The option there for the shop page sidebar works doesnโ€™t it? Itโ€™s for the shop page.

    In the premium theme there is a separate option specific to the product page.

    Kadence Themes

    Thread Starter Harrison

    (@bevital)

    Guess I thought products were part of the shop. Nice options, other than a side bar on product page, I bit more than I need. But thanks for your help.

    Well if you interested in a child theme edit let me know.

    Kadence Themes

    Iโ€™m interested in that child theme edit, please.
    If it is possible to test it, I would really appreciate it.

    Thank you and best regards!

    function kad_sidebar_on_product_page($sidebar) {
      if (is_singular('product')) {
        return true;
      }
      return $sidebar;
    }
    add_filter('kadence_display_sidebar', 'kad_sidebar_on_product_page');

    You can use that function inside the functions.php file of your child theme.

    It works like a charm!
    Thank you very much.

    Best regards

    Tracy

    (@tracystokes)

    Thank you very much for that child theme edit.

    Is it possible to adapt that for a custom sidebar that I set up called โ€œshop sidebarโ€?

    You would use another function like this:

    add_filter('kadence_sidebar_id', 'kt_custom_product_sidebar_id');
    function kt_custom_product_sidebar_id($sidebar) {
     if (is_singular('product')) {
              $sidebar = 'sidebar2';
     }
    return $sidebar;
    }

    Hope that helps,
    In the future to make sure we donโ€™t miss a question like this please post in a new topic rather then one marked as resolved.

    Kadence Themes

    i am using theme shopisle,https://themeisle.com/demo/?theme=ShopIsle
    it dont show left siderbar. in demo theme you can see it on shop page but in my theme it is not shown and when i try to add it from my dashboard in widget section nothing happens at shop page.

    @woodsmanpk you would need to contact that theme author.

    Kadence Themes

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic โ€˜Sidebar Not Showing on Products Pagesโ€™ is closed to new replies.