Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #7333

    It´s Any possibility to edit the default sidebar? I´ll love to add some widgets. For example for search results.

    //default dummy sidebar

    if ($default_sidebar)






    echo “</div>”;




    Just need to know how i call the differents widgets to appears in this default sidebar. :-P



    in you widgets menu you can drag widgets to your preferred spot and it’ll automatically replace the default widgets.

    These standard widgets can be found under your theme folder under Shoutbox > Includes > admin > register-widget-area.php

    The standard widgets are listed there.


    I know that i can drag the widgets to the place i need. The problem it´s that there´s no way to create a sidebar for search results page. If i use the page sidebar (for example) this sidebar don´t replace my other custom ones and get two sidebar listed. Pages sidebar + custom sidebar.

    Any ideas?





    you can use plugins like: http://wordpress.org/extend/plugins/widget-logic/ or http://wordpress.org/extend/plugins/display-widgets/ to create page specific sidebars.


    But what’s the id for a search page? Or an archive page?


    The is_archive() function: http://codex.wordpress.org/Function_Reference/is_archive supports category ids and/or slugs. Search pages can be found with is_search()




    That answers my question too… I think. Cheers Dude!


    Glad that I could help you :)

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Edit default sidebar’ is closed to new replies.