Support » Fixing WordPress » Dropdown list of pages withn a specific category?

  • Ok, maybe I’m just using the wrong search terms…but I can’t seem to find a simple way of generating a dropdown list of pages that is limited to just a single category.

    The codex shows you how to get a dropdown with all your pages, but that’s it.

    Any help would be greatly appreciated.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • One way would be to use a query to get the IDs of all posts in the category and then use wp_list_pages with the ‘include’ parameter for those IDs.

    thanks!….but you forgot the all important “how”… 🙂

    Sorry, I was thrown off by the ‘list of pages’ in your original post.

    I am guessing what you want is a list of Posts in a given category. There are several plugins that will do this for you. For example, Utech List Post Titles, WP List Posts Shortcode, and List category posts.


    well I can get what I want using the page dropdown code from the codex…having only show the pages that are a child of specific other page…but… I want to make it so the form doesn’t have a submit button. I would like it to go to that page upon selection. Using the shown method for doing this with the category dropdown doesn’t work.

    any ideas?

    Sorry, no.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dropdown list of pages withn a specific category?’ is closed to new replies.