Select post based on category name (not cat id)?
-
about the get_posts() fuction:
Is there any way to specify the category to get posts from by passing a category name rather than id?
Or alternatively is there a function that can be used to return the category id if a category name is passed to it?
thanks for your help!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Select post based on category name (not cat id)?’ is closed to new replies.