September 16, 2012 at 4:29 am #16346
I need to change what is shown in the left sidebar of my ‘site search’ results – the top one in the header area.
Right now it’s a list of ALL pages in the site. I took the advice of another thread and put all unnecessary pages as ‘draft’ so they are no longer showing. However, it still shows “internal” pages (checkout stiff) and a list that is not logical (starts with ‘Change Password’, ‘Edit My Address’ etc). Also, I cannot order the list as I want.
Please, at least I would like to be able to control the order of the page listing.
Even better, I would like to be able to substitute some other information (preferably ‘recent items’ or recent posts).
Any help is appreciated. Thanks!September 16, 2012 at 4:31 am #91160September 16, 2012 at 6:18 pm #91161
How can you turn off or change the contents of the sidebar shown with ‘site search’ (the search box in the header section of theme) results??
The basic theme is right now giving customers a LIST OF PAGES and thus access to inner parts of the site – out of sequence, out of context. It’s causing A LOT of confusion and 404 errors.
Can I please just substitute something else rather than a list of pages?!
Help, please!September 16, 2012 at 10:36 pm #91162
Find your sidebar.php file and back it up before you do this. Maybe just rename it sidebar_OLD.php.
For anybody else the needs to do this, simply comment out the avia_dummy_widget(2); line in sidebar.php
. This is done with the two forward slashes (//) as indicated below.
//default dummy sidebar
Ismael also indicated that this might can be accomplished from Appearance > Widgets; but I couldn’t find anywhere. Try this first before you change code.
Hope this helps,
ScottSeptember 17, 2012 at 1:49 am #91163
Thanks for helping out Scott!
You may also want to try overriding the search by going to Appearance > Widgets > Display Everywhere (left) or Sidebar Pages (left).
MyaSeptember 18, 2012 at 3:03 pm #91164
Bingo! I hadn’t thought of that…
For the record, I did not attempt Scott’s fix – I’m not entirely comfortable editing code. Maya’s worked like a charm.
Thank you to you both!September 18, 2012 at 3:14 pm #91165
The topic ‘Remove pages listing from 'Site Search' results page’ is closed to new replies.