'sidebar on the shop page is not showing but showing in blog and single product pages only [closed]

⦁ Problem: The sidebar on the shop page is not showing. (image1).

⦁ What I need help with: TO get sidebar in shop page.

⦁ What currently works: in blog pages and single product pages the sidebar shows "which is ok for me for blog and single product pages". (

![image2, blog, single product page][3]]5 )

⦁ Where not showing sidebar: in home page, about me page. which is currently ok for me, no need sidebar for these pages.

⦁ What have I tried:

  1. in the inspect element I noticed there is no sidebar named keyword found in shop page but in blog and single product pages where the sidebar is showing I saw in inspect element I found the keyword'sidebar' code in there. so I think the shop page is not having 'get sidebar code'.

  2. I Wrote some code at end line between div closing content and div closing row, in the 'archive.php' file but didn't work. I thought the archive.php file is for the shop page maybe I am wrong.

            </div><!-- #content -->
<?php if($enable_sidebar) get_sidebar(); ?>
        </div> <!-- .row -->
    </div><!-- .container -->
  1. Full width is currently active in Customize / layouy& style . i changed to boxwidth but didnt worked .it only have to option box and full width.(image3).
  2. tried smalling and larging content area width of shop page from inspect element CSS in chrome, Mozilla Firefox, other browsers but didn't show.
  3. used sidebar plugins but didn't work.
  4. i cleared cashed after every try but didnt worked.

⦁ what theme i useing : its docent theme useing in wordpress.

⦁ These are theme files from the -appearance /theme editor. (image).

⦁ I think these theme files will help you to check what's missing in the code which caused not showing the sidebar on the shop page.

so, I tried my efforts but didn't Figured out how to get the sidebar on the default shop page. what code should I write and where or else? i need help its important .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source