Jump to content

Getting wordpress categories and displaying?


olli460

Recommended Posts

Hello,

 

Im trying to do a PHPScript that selects the category from a drop down list, I know how to do the drop down list but how can i grab the category, I can't see anything in wp_posts that relates to the categories.

 

The categories are stored in wp_terms but i can't see anything releating to the posts to grab the category for that specific post.

 

Anyone got any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.