WordPress.org

Support

Support » Themes and Templates » I Need To Modify This Code

I Need To Modify This Code

  • I need to know how to modify this little bit of code show it show my links in the header bar and not the categories, or if thats not possible modify it so i can chose what categories it shows…

    <div id="catcontainer">
    <div class="cat_navigation">
    <div class="wrapper">
            <ul id="catbar">
    <?php $exclude = $myOptions['cat_excl'];?>
    <?php if(!$myOptions['cat_limit']) {
    $limit = '10'; } else {
    $limit = $myOptions['cat_limit'];
    }</blockquote>
    if($myOptions['cat_limit'] == '0') {
    $limit = 0;
    }
    ?>
    	<?php wp_list_categories("exclude=$exclude&title_li=&depth=2&number=$limit"); ?>
    	</ul>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I Need To Modify This Code’ is closed to new replies.
Skip to toolbar