Replies: 0
Hello, I’d like to do a thing based on whether or not something is in an event category. This isn’t working.
Help?
if(has_term( 8, 'term_id' )) {
$hidetitle = " no-title";
} else {
$hideexcerpt = "";
}
Replies: 0
Hello, I’d like to do a thing based on whether or not something is in an event category. This isn’t working.
Help?
if(has_term( 8, 'term_id' )) {
$hidetitle = " no-title";
} else {
$hideexcerpt = "";
}