Title: appleswitchmaccom's Replies | WordPress.org

---

# appleswitchmaccom

  [  ](https://wordpress.org/support/users/appleswitchmaccom/)

 *   [Profile](https://wordpress.org/support/users/appleswitchmaccom/)
 *   [Topics Started](https://wordpress.org/support/users/appleswitchmaccom/topics/)
 *   [Replies Created](https://wordpress.org/support/users/appleswitchmaccom/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/appleswitchmaccom/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/appleswitchmaccom/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/appleswitchmaccom/engagements/)
 *   [Favorites](https://wordpress.org/support/users/appleswitchmaccom/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Needed: 2 Hacks for large WP based site](https://wordpress.org/support/topic/needed-2-hacks-for-large-wp-based-site/)
 *  Thread Starter [appleswitchmaccom](https://wordpress.org/support/users/appleswitchmaccom/)
 * (@appleswitchmaccom)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/needed-2-hacks-for-large-wp-based-site/#post-355239)
 * Ok, Ill just use news as the main page and add about to the side like a normal
   blog so thats 1 issue out of the way.
 * So now I think I have it numbered down to trying to automate the header in the
   board with current_page_item fully functioning.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Needed: 2 Hacks for large WP based site](https://wordpress.org/support/topic/needed-2-hacks-for-large-wp-based-site/)
 *  Thread Starter [appleswitchmaccom](https://wordpress.org/support/users/appleswitchmaccom/)
 * (@appleswitchmaccom)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/needed-2-hacks-for-large-wp-based-site/#post-355218)
 * My current setup is as follows
    `<ul class="navbar"> <?php wp_list_pages('sort_column
   =menu_order&depth=1&title_li='); ?> <li class="<?php if (((is_home()) && !(is_paged()))
   or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item
   <?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home');?
   >">Blog</a></li> <?php wp_register('<li class="admintab">','</li>'); ?> </ul>
 * I found [the link](http://wordpress.org/support/topic/63491?replies=4) to [a redirect plugin](http://redalt.com/downloads/)
   like CG-Redirect but that doesn’t cover my problem getting the link to [my board](http://board.boernewireless.com/)
   to show up as the ‘current_page_item’ class.
 * As for manually adding the links, I think this could work If i had `if ($_SERVER['
   REQUEST_URI'] == 'http://board.boernewireless.com/') {`or something along those
   lines but even If i got it coded it would take away the automation.
 * Cypher, your solution would work but I would loose automation because currently
   Im pulling the header, not duplicating it. If I can’t find a solution though 
   I will

Viewing 2 replies - 1 through 2 (of 2 total)