wp list pages / wp list categories (2 posts)

  1. Bardin Ellis
    Posted 6 years ago #


    I'm trying to customize my navigation in my header. I want to list a few pages, then my categories, and then some more pages.

    I'm using "multi-color" theme (http://wordpress.org/extend/themes/multi-color)

    This is how far I've got with the code, but if I try anything else, the page just goes blank.

    \\ <div class="menu">

      <?php if($options['mc_menu'] == 'pages') { ?><li id="home"<?php if(!is_page()) {?> class="current_page_item"<?php }?>>">
      <?php _e('Home','multi-color'); ?>

      <?php echo remove_title_attribute(wp_list_pages('depth=3&title_li=&echo=0&exclude=7,9,10')); ?><?php } ?>

    • <?php wp_list_categories( $args ); ?>
    • <?php if($options['mc_menu'] == 'categories') { ?><li id="home"<?php if(!is_page() && !is_category() ) {?> class="current-cat"<?php }?>>"><?php _e('Home','multi-color'); ?> <?php echo remove_title_attribute(wp_list_categories('depth=3&title_li=&number=10')); ?><?php } ?>

    <div class="clear"></div>
    </div> \\

    Any ideas anyone?

  2. Bardin Ellis
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic