WordPress.org

Support

Support » Themes and Templates » [Resolved] how to exclude page using wp_list_pages in Photocrati Them

[Resolved] how to exclude page using wp_list_pages in Photocrati Them

  • Ok so here’s my story. I’ve downloaded plugins “Exclude Pages” and “IM8 Exclude Pages” to no avail. I followed the instructions and the checkbox never showed up. Did lots of research and found that many others with similar problems using these plugins never got their questions answered.

    So i went to plan with plan B and I’ve learned that I can exclude pages using wp_list_pages function. The ony problem is that I cant find it! Im using the Photocrati theme and have looked through all the php’s and nothing. Now, im new to WP so pardon my ignorance but do I have to add the code myself? I have found the code that I need to modify and I also know my page id. It is the following:

      <?php wp_list_pages(‘exclude=222’ ); ?>

    But I dont know where it goes? header.php? page.php? or what?

    any help is so appreciated because i’ve been at it for 3 days now just to learn how to get rid of a page. Pretty frustrating.

    Thanks much!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • normally it would be in theme’s header.php
    I would assume it’s there if you already have pages being automatically added

    alternately, have you looked in
    dashboard – appearance – menus
    to see if your theme supports menu creation
    if so, you can quickly create one that you can exclude/include whatever you want

    Samuel, you’re the man!!!! thanks so much…works great

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] how to exclude page using wp_list_pages in Photocrati Them’ is closed to new replies.
Skip to toolbar