Hi,
I’m having a hard time figuring out how to do this in WPDM?
if ( in_category( ‘fruit’ ) ) { // do something }
This “WP” way of doing it doesn’t seem to work.
You need to use this:
https://codex.wordpress.org/Function_Reference/has_term
The taxonomy name is wpdmcategory
wpdmcategory
The topic ‘How to do if in_category(); in WPDM’ is closed to new replies.