Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you using “wp_list_pages()” to generate the nav menu, if so we can play with that to alter the ordering.

    To link to off-WP pages, you would just manually add the link to the menu.

    Ensure that you have the ‘current_page_item’ defined in the CSS for both WP and Invision Board, allow things to work as they do in WP, but in Invision Board, manually add that tag to the link.

    Regards

    You can also use something like CG-Redirect to embed a page redirect to another site or another subsystem withing your site. You just activate the plugin, create a new page, add something like <redirect https://www.mysite.com/mybb />, and that ‘page’ will now show up in the page list, but ‘jump’ you to the other resource.

    -d

    Thread Starter appleswitchmaccom

    (@appleswitchmaccom)

    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 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'] == 'https://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

    Thread Starter appleswitchmaccom

    (@appleswitchmaccom)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Needed: 2 Hacks for large WP based site’ is closed to new replies.