• How do I prevent subpages from being listed in the top navigation bar?
    I’m planning on having pretty many subpages, in three categories – ‘Me’, ‘WWW’, and ‘Site’. And I just want those three, plus ‘Home’ to be in the top menu.

Viewing 4 replies - 16 through 19 (of 19 total)
  • vkaryl

    (@vkaryl)

    Good job…. some of the folks here who are good with php etc. might think about it, but would depend on the time they have available of course….

    jacobjmorris

    (@jacobjmorris)

    I’d be willing to give someone $10 ??

    Hm.. I’m using my own theme and I want to list pages that when selected are a different color, like in the Blix theme. I already coded all the CSS so that’s fine . . . but I don’t know the code so that it’ll do what it’s supposed to. Hm, am I making sense?

    Well, I’ve very glad that I’ve finally found a solution to this problem. The trouble I’m having now is that I don’t understand the solution. First, I’m not quite sure where to put the edited code that Minna Suggested. In My header file I found the About_short and pasted after it, ending up with this:
    echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Contact</a></li>n";
    }
    elseif ($page_name == "about_short") {/*ignore*/}
    elseif ($page_id == '6') { /* ignore */ }
    else {
    (is_page($page_id))?$selected = ' class="selected"':$selected='';

    But I still get the funny nav bar. Not only does it still have my child pages up, but it doesn’t show them imediately, only when you mouse over them and they change color. If any one could help I would appreciate it. https://vision-guild.us Thank You.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Remove subpages from top menu’ is closed to new replies.