appleswitchmaccom
Forum Replies Created
-
Forum: Plugins
In reply to: Needed: 2 Hacks for large WP based siteOk, 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
In reply to: Needed: 2 Hacks for large WP based siteMy 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 to a redirect plugin like CG-Redirect but that doesn’t cover my problem getting the link to my board 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