Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #559

    Is it possible to remove the default sidebar widgets Categories and Archive. Or even move them to the bottom. I can’t find these in the widget areas so must be part of the template somewhere. Can you advise?

    #31934

    Ah… don’t worry I’ve found it. There is an area marked for deletion in sidebar.php which gets rid of these two widgets.

    #31935

    I have the same problem but i can’t find where you remove them can you explain again please

    #31936

    Hello. If you open up sidebar.php and sroll down, you should find this code:

    // <!– you can delete from here –> // ?>

    <div class=’box box_small’>

    <h3>Categories</h3>

      <?php wp_list_cats(‘sort_column=name&optioncount=0&hierarchical=0′.$exclude); ?>

    </div>

    <div class=’box box_small’>

    <h3>Archive</h3>

      <?php wp_get_archives(‘type=monthly’); ?>

    </div>

    <?php

    // <!– until here –> //

    You just need to delete that whole block and save (and upload if doing by FTP) and that gets rid of those items.

    I hope that helps.

    #31937

    thanks for your help

    #31938
    #31939

    hi i got rid of that html but now i get this error on the left side of my page:

    Parse error: syntax error, unexpected ‘}’ in /home2/brymphot/public_html/wp-content/themes/display/sidebar.php on line 55

    http://www.brymphotography.com/about/

    is there any way to get rid of that and just make it a full page?

    #31940

    never mind i got it fixed!

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

The topic ‘Remove default sidebar items Categories and Archive’ is closed to new replies.