• ncearly

    (@ncearlyaolcom)


    I am working on a video game blog. http://www.millenniumgaming.net and it is using the revolution lifestyle theme base. What i want to do is this. I want a few pages to show highlighted on the home page such as the ones i have there now. But if a user clicks a category post i want it to take them to a page that has a header just like my site header but with different page links on it. Is this possible?

Viewing 1 replies (of 1 total)
  • Thread Starter ncearly

    (@ncearlyaolcom)

    Here is the code i am using to try to make custom nav bar for different pages. I’ve created a different header and replaced the following code //<?php wp_list_pages(‘title_li=&depth=4&sort_column=menu_order’); ?>// with this code

    //<?php
    $children = wp_list_pages(‘title_li=&child_of=’.$post->ID.’&echo=0′);
    if ($children) { ?>

      <?php echo $children; ?>

    <?php } ?>
    // which seems to work on some of the pages way down the generational line but not on the pages closer to the home page. Also is there a way to make the navbar when pages go to 2 lines not be a white line where my text doesnt show until it’s hovered over?

Viewing 1 replies (of 1 total)

The topic ‘Creating various headers’ is closed to new replies.