WordPress.org

Support

Support » Installation » [Resolved] Help with PHP to exclude a page

[Resolved] Help with PHP to exclude a page

  • I want to exlude page number 70 but not sure how to edit the following code in my Header:

    <?php wp_list_pages(‘title_li=&depth=1&’.$page_sort.’&’.$pages_to_exclude)?>

    Do I add 70 after “pages_to_exclude”? My attempts to play with the code result in errors. I’m still learning PHP.

    Thanks for any help.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Help with PHP to exclude a page’ is closed to new replies.
Skip to toolbar