function to get category name of a post
-
I’m trying to edit mdv’s plugin to not display posts from a certain gallery. I looked through the functions, but I can’t find the function name that will work for something like below:
if ($post->cat_name != ‘Gallery’) //Don’t post things in galleries category
$posts->get_category_name()…? Something like that?
- The topic ‘function to get category name of a post’ is closed to new replies.