Support » Fixing WordPress » Where to place wp_list_pages

  • Resolved mvdkem


    Hi there,

    I just created a privacy policy for my website I want to exclude it from my navigation bar and insert it in my footer. I can insert it in my footer but the excluding from my navigation bar I haven’t quite figured out yet.

    I know that I need to use wp_list_pages () and then use the exclude function. But where am I supposed to place the wp_list_pages codex? Into which .php file? Or should I create a new php file? I’m using the ‘picolight’ theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p


    if you see it in
    Admin – Appearance – Menu
    just delete it there

    The Picolight theme supports custom menus, so as t-p points out just go to Admin > Appearance > Menu

    You will not be able to delete it there unless you have already created a custom menu.

    Create a new menu on the right, add menu items like pages, categories, url’s and even single posts, to indent drag the menu items to the right, save the menu.

    You will see a box on the right “Template Locations” just add your new menu to the location and save!



    Thank you very much, got it solved now 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where to place wp_list_pages’ is closed to new replies.