List info based on event category Post date Home › Forums › Calendar Products › Events Calendar PRO › List info based on event category This topic has 4 replies, 3 voices, and was last updated 11 years ago by Support Droid. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts October 5, 2012 at 8:54 am #26144 KenParticipant I have 2 categories and on the list.php page I want venue information to be visible for 1 category and not visible for the other. if ( tribe_meta_event_category_name()=='My Category') : ; //do something endif; This doesn’t seem to work properly for the events in the specific category. Am i using the tag incorrectly or the wrong tag? October 5, 2012 at 9:00 am #26148 JonahParticipant Hey Ken, You’ll want to use has_term() instead: http://codex.wordpress.org/Function_Reference/has_term if( has_term( 'My Category', 'tribe_events_cat' ) ) { // do something } – Jonah October 5, 2012 at 9:05 am #26149 KenParticipant Thanks again for coming to the rescue Jonah! October 5, 2012 at 9:07 am #26151 JonahParticipant You’re welcome Ken, glad I could help! – Jonah July 7, 2015 at 6:26 am #977907 Support DroidKeymaster This topic has not been active for quite some time and will now be closed. If you still need assistance please simply open a new topic (linking to this one if necessary) and one of the team will be only too happy to help. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The topic ‘List info based on event category’ is closed to new replies. → Please verify your API key is correctly entered on the settings