WordPress.org

Ready to get started?Download WordPress

Forums

Need help adjusting header (3 posts)

  1. mkirkwag
    Member
    Posted 4 years ago #

    Would someone mind giving me a bit of help with my header? My theme is "Orangy" by Skinpress. I want to control which pages show up in the header navigation links. The theme automatically chooses them. I think the relevant code is here, but it's not what I expect to see, having read about them in the Codex:

  2. href="<?php echo get_option('home'); ?>/"><span>Home</span>
  3. <?=wp_list_pages2()?>

    <div id="main_search">

    Am I looking at the wrong thing? It's the only place in the header that I se "wp list" at all.

    Thanks in advance!

  • Peter Boosten
    Member
    Posted 4 years ago #

    the wp_list_pages() function lists all pages you've created, and shows them as list items to create your navigation bar.

    Probably three ways to change this behavior:

    1. stop using wp_list_pages() and create your own menu
    2. find some plugin to modify the default behavior of wp_list_pages()
    3. delete some of the pages

    Peter

  • mkirkwag
    Member
    Posted 4 years ago #

    OK...I can't modify wp_list to list only certain pages by specifying their position in the page order?

    I looked for a plug in, and found several, but they all seem to only control the site navigation - apparently defined as the sidebar navigation.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags