[resolved] Where to place wp_list_pages (4 posts)

  1. mvdkem
    Posted 4 years ago #

    Hi there,

    I just created a privacy policy for my website http://movetochinainfo.com. 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.

  2. Tara
    Volunteer Moderator
    Posted 4 years ago #

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

  3. Digital Raindrops
    Posted 4 years ago #

    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!



  4. mvdkem
    Posted 4 years ago #

    Thank you very much, got it solved now :-)

Topic Closed

This topic has been closed to new replies.

About this Topic