WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How to find the ID numbers of my individual pages

[Resolved] How to find the ID numbers of my individual pages

  • On my WP site, http://www.lc-norway.com, I have two levels of navigation. If you look at my site, you’ll see “2006” to “2009” in the navigation sidebar, as a sub-level to the page “Resultater”. Then, at a sub-level to “2008”, there’s a page named “19. april: Trøgstad, Østfold”. I want this page, and all other pages at that sub-level, to be hidden from the navigation.

    I found this page with info on how to do this:

    http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List

    What it recommends is this:

    Exclude Pages from List

    Use the exclude parameter to hide certain Pages from the list to be generated by wp_list_pages.

      <?php wp_list_pages(‘exclude=17,38’ ); ?>

    Now, I’m a WP newbie, so please bear with me. I understand that I need to change the code somewhere, but in which file? Also, how do I find the ID numbers of the pages that I want to “hide”? I can’t find any page ID numbers anywhere in the Site Admin area.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] How to find the ID numbers of my individual pages’ is closed to new replies.
Skip to toolbar