Hide featured image from listings depending on category

Home Forums Calendar Products Events Calendar PRO Hide featured image from listings depending on category

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #83181
    Hunter
    Moderator

    Hello!
    I’m wondering how I can hide the featured image when viewing a particular category (Concerts) as seen here: http://familyoffestivals.com/events/category/concerts/

    Any help is appreciated.

    #83300
    Barry
    Keymaster

    Hi joinfof,

    You’d probably want to start by looking at our Themer’s Guide – what you’d be interested in here of course are the templates relating to photo view.

    In this case you would probably be particularly interested in pro/photo/single-event.php and the call to tribe_event_featured_image() which takes place close to the start of that particular template. You could build your own conditional statement to control when it is used, and might for instance build on the following functions to figure out if an events category is being used and, if so, which one:

    Hope that helps!

    #89819
    Barry
    Keymaster

    It’s been a while so I’ll mark this as complete: hope you figured something out and thanks for reaching out to us 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide featured image from listings depending on category’ is closed to new replies.