Is there an "if current category" then ____ function for wordpress?
-
I have a theme that uses a “feature” type function. The problem is, the featured posts are getting mixed with OTHER featured posts in different categories.
So I’m wondering if there’s a way I can create a php function that says:
display featured posts only in THIS category.
<?php if ( va_is_listing_featured( get_the_ID() ) && _____________ ) : ?>
is there a function I can do for this?
thanks!
- The topic ‘Is there an "if current category" then ____ function for wordpress?’ is closed to new replies.