Forum Replies Created
-
AuthorPosts
-
Nigel
ParticipantThat worked like a charm! Thank you very much, Nico!
Nigel
ParticipantThank 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!
Nigel
ParticipantHello 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!
Nigel
ParticipantThanks Geoff – the theme was the culprit. Bummer, we like using that particular one.
Thanks again!
-
AuthorPosts
