Hide featured image on single event pages keep 1/3 – 2/3 format

Home Forums Calendar Products Events Calendar PRO Hide featured image on single event pages keep 1/3 – 2/3 format

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #997285
    Luke
    Participant

    Hey Guys, I’d like to remove the featured image in a single event. I found the below link but when I make the change to now row 58. I lose the formatting.

    http://www.screencast.com/t/oT6Ta1rNl – Original formatting with map and venue info
    http://www.screencast.com/t/WWFv8wu2a1K – Formating after removing line 58
    <?php echo tribe_event_featured_image($event_id, ‘full’, false); ?>

    Link to help post showing above code: https://theeventscalendar.com/support/forums/topic/hide-featured-image-on-single-event-pages/

    #997541
    Josh
    Participant

    Hey Luke,

    Thanks for reaching out to us. You’ve got the coolest Gravatar I’ve seen in a while.

    Looking at the difference between the two screenshots, it looks like your theme (parent theme or child theme) might have already had an overwrite template for the single-events.php file. Check your themes to ensure there wasn’t already a “tribe-events” folder with that file in it.

    If so, you can take the customized file and take the:

    
    <?php echo tribe_event_featured_image($event_id, ‘full’, false); ?>
    

    Line out of that file.

    Let me know if this helps.

    Thanks!

    #999177
    Luke
    Participant

    Hey Josh,

    Thanks man. Everyone loves a lil nacho.

    When I remove that code I lose the 1/3 – 2/3 layout. Is there a way to remove the featured image but keep the same layout with the map and venue in the left sidebar and the post content in main content area?

    http://www.screencast.com/t/WWFv8wu2a1K
    The above image shows the main content with the map and venue info now below.

    Thanks so much for the help and sorry for my lag in reply.

    -luke

    #999558
    Josh
    Participant

    Hey Luke,

    This 1/3 – 2/3 (http://www.screencast.com/t/oT6Ta1rNl) appears to be a customized view managed most likely by your theme.

    Does your active theme have an existing “tribe-events” folder in it? If so, can you paste the code for the “single-event.php” file into a gist and paste a link here?

    Thanks!

    #1004189
    Support Droid
    Keymaster

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hide featured image on single event pages keep 1/3 – 2/3 format’ is closed to new replies.