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?
Remove default sidebar items Categories and Archive
8 posts from 3 voices-
Posted 2 years ago #
-
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.
Posted 2 years ago # -
I have the same problem but i can't find where you remove them can you explain again please
Posted 2 years ago # -
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.
Posted 2 years ago # -
thanks for your help
Posted 2 years ago # -
Posted 2 years ago #
-
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?
Posted 2 years ago # -
never mind i got it fixed!
Posted 2 years ago #
Reply
You must log in to post.














