The following wp_query function returns a single category that the post is published within:
get_query_var('cat')
Is there a means of returning multiple categories that the post may be published within?
The following wp_query function returns a single category that the post is published within:
get_query_var('cat')
Is there a means of returning multiple categories that the post may be published within?
get_query_var('cat') returns the category of a category archive.
Is there a means of returning multiple categories that the post may be published within?
where?
possibly with:
http://codex.wordpress.org/Function_Reference/get_the_category
This topic has been closed to new replies.