PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Is there a populate_posts function for categories?

  1. Desmond

    Currently I have a field in a form that displays a drop-down of post titles from category x, y, and z using the populate_posts function. I would like to do something similar, but with categories. Is there a way to do this? (But not use the category field since that would create a post on my website)


    Posted 9 years ago on Wednesday December 19, 2012 | Permalink
  2. David Peralty

    You would probably need to use the WordPress function - get_categories and create some custom php to do so:

    Posted 9 years ago on Thursday December 20, 2012 | Permalink