Nigel

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Thumbnails not linking in shortcode list #1066568
    Nigel
    Participant

    That worked like a charm! Thank you very much, Nico!

    in reply to: Thumbnails not linking in shortcode list #1065880
    Nigel
    Participant

    Thank you for the tip, Nico!

    Unfortunately, after editing the code the thumbnail links are still linking ‘home’ for us. This is only occurring in the “This Week” widget. The links are working properly in every other view option.

    Thank you very much for your patience and troubleshooting!

    in reply to: Thumbnails not linking in shortcode list #1065444
    Nigel
    Participant

    Hello Nico!

    Yes, I am making an override to the code. It’s worked beautifully, except for the links. The function appears to link the thumbnails automatically in other views, but it is redirecting “Home” in this case.

    The current code is:

    <div id="tribe-events-event-<?php echo esc_attr( $event->ID ); ?>" class="<?php tribe_events_event_classes( $event->ID ) ?> tribe-this-week-event" >
    
    	<?php echo tribe_event_featured_image( $event->ID, null, 'medium' ) ?>
    
    	<h2 class="entry-title summary">
    		<a href="<?php echo esc_url( tribe_get_event_link( $event->ID ) ); ?>" rel="bookmark"><?php echo esc_html( $event->post_title ); ?></a>
    	</h2>
    
    	<div class="duration">
    	<?php echo tribe_events_event_schedule_details( $event->ID ) ?>
    
    	</div>
    	<div class="fn org tribe-venue">
    		<?php echo tribe_get_venue_link( $event->ID ); ?>
    	</div>
    
    </div>

    No matter how I add a code, it does not recognize it. Also, if I duplicate h2 below the thumbnail, it will also link Home/current page as well, even though it clearly links to the event otherwise.

    Thank you for the congratulations and timely response!

    in reply to: Spinning Wheel of Death (kind of) #1052202
    Nigel
    Participant

    Thanks Geoff – the theme was the culprit. Bummer, we like using that particular one.

    Thanks again!

Viewing 4 posts - 1 through 4 (of 4 total)