Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rockgeek

    (@rockgeek)

    <!-- top tab navigation -->
                    <div id="tabs">
                     <ul>
                     <?php
                      if((get_option('show_on_front')<>'page') && (get_option('fusion_topnav')<>'categories')) {
                       if(is_home() && !is_paged()){ ?>
                        <li id="nav-homelink" class="current_page_item"><a href="<?php echo get_settings('home'); ?>" title="<?php _e('You are Home','fusion'); ?>"><span><span><?php _e('Home','fusion'); ?></span></span></a></li>
                       <?php } else { ?>
                        <li id="nav-homelink"><a href="<?php echo get_option('home'); ?>" title="<?php _e('Click for Home','fusion'); ?>"><span><span><?php _e('Home','fusion'); ?></span></span></a></li>
                      <?php
                       }
                      } ?>
                     <?php
                       if(get_option('fusion_topnav')=='categories') { echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span><span>$3</span></span></a>', wp_list_categories('show_count=0&echo=0&title_li='));  }
                       else { echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span><span>$3</span></span></a>', wp_list_pages('echo=0&title_li=&exclude=107,109,137,138,139,173')); }
                      ?>
                     </ul>
                    </div>
                    <!-- /top tabs -->

    This is the whole snippet of code

    Thread Starter rockgeek

    (@rockgeek)

    Now it’s working. All I did was delete some themes I was not using!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_list_pages Exclude Doesn’t Work’ is closed to new replies.