Forum Replies Created

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

    (@edthemusical)

    Thanks, Otto and Handy… the plug-in wasn’t working for me, but I figure that, if I can change the theme on a per-category basis, I can have the sub-domain redirect to the category page. Not the cleanest fix ever, but it’ll do. ??

    Thanks again!

    If you’re calling the pages with the wp_list_pages function, then you can fake WordPress into displaying with the pages.

    The code looks like this:
    <ul>

    <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'); ?>">Home</a></li>

    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    </ul>

    Using that, you get the first item on the list to be a ‘Home’ link, which would be followed by a list of your pages.

    Hopefully that explained it well enough…

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