• I’ll be really grateful if you help me widgetize my sidebar

    <div id="sidebar">
    <?php if (is_home() || is_page() || is_single() || is_category() || is_search() || is_archive()){ ?>
    <h5 class="caption">Categories</h5>
    		<ul class="categories">
    			<?php wp_list_cats('sort_column=id&hide_empty=1&exclude=10, 11'); ?>
    		</ul>
    <h5 class="caption">Archives</h5>
    		<ul class="archive">
    			<?php wp_get_archives('type=monthly&show_post_count=true'); ?>
    		</ul>
    <?php } ?>
    </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Kindly Widgetize My Sidebar’ is closed to new replies.