Is there a PHP Conditional Tag to target all events manager content?
-
Hi, I’m trying to target all events manager events pages to remove something via php using a conditional tag. Does events manager have something similar to let’s say “is_woocommerce()” so just like with woocommerce, I can target all events manager pages easily?
I’m trying to remove an advertisement I added via php to all my posts within the content and it is only showing up on events pages. I created a single-event.php page to try and target that with is_page_template( ‘single-event.php’ and tried various other things and can’t get it to work. Any ideas?
Thanks for all your help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Is there a PHP Conditional Tag to target all events manager content?’ is closed to new replies.