removing sidebar items
-
Hello, I thankfully was taught how to get rid of sidebar items earlier in this forum by doing this:
Placing these tags
<?php /*?>whatever you want to hide is here<?php */?>However, I still have some links on the sidebar that I am not sure where to place those tags, my stylesheet is below, your help will be greatly appreciated!
And my website is conchowebdesign.com
<div id=”sidebar”>
<?php /*?><p id=”font-resize”>
A A+ A++
</p><?php */?><?php // if there are subpages of the current page,they will be listed here
if($post->post_parent)
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0&sort_column=menu_order”); else
$children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0&sort_column=menu_order”);
if ($children) { ?><!– subpages –>
<div class=”widget”><h4>Subpages</h4>-
<?php echo $children; ?>
</div>
<?php } ?><!– widget –>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar_left’) ) : ?>
<h4>Categories</h4>-
<?php wp_list_categories(‘title_li=0&categorize=0’); ?>
<h4>Archives</h4>
-
<?php wp_get_archives(‘type=monthly&limit=10’); ?>
<?php endif; // endif widget ?>
<!– widget –>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar_second’) ) : ?>
<div id=”meta” class=”widget”>
<?php /*?><h4>Blogroll</h4><?php */?>-
<?php wp_list_bookmarks(‘title_li=0&categorize=0’); ?>
<?php /*?><h4>Meta</h4><?php */?>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- ” title=”<?php _e(‘Syndicate this site using RSS’); ?>”><?php _e(‘<abbr title=”Really Simple Syndication”>RSS</abbr>’); ?>
- ” title=”<?php _e(‘The latest comments to all posts in RSS’); ?>”><?php _e(‘Comments <abbr title=”Really Simple Syndication”>RSS</abbr>’); ?>
<?php wp_meta(); ?>
</div>
<?php endif; // endif widget ?>
</div>
- The topic ‘removing sidebar items’ is closed to new replies.