Support » Plugins » Exclude pages from listing by name

  • lobsterman

    (@lobsterman)


    is there a way to do this?
    the exclude parameter for the wp_list_pages functions only accepts id’s

Viewing 3 replies - 1 through 3 (of 3 total)
  • moshu

    (@moshu)

    Only IDs. Since it is in the code, why does it make a difference?

    lobsterman

    (@lobsterman)

    I’m making a theme for a client, and she has to set up the site following my instructions, so I can’t guess the page id’s and I can’t get her to touch the code.

    lobsterman

    (@lobsterman)

    OK, nvm I created custom functions based on the regular ones and put them in the theme’s functions.php, busically I changed the sql query to query the name and not the id.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude pages from listing by name’ is closed to new replies.