-
AuthorPosts
-
September 21, 2018 at 6:39 pm #1012862
hi
in the “config-events-calendar\single-event.php” I find this comment
Event featured image, but exclude linkthis is a command that prevents features to open images larger than the rest of the images?
like the number two image from link from private content?
I need that features images to open in larger imagesSeptember 23, 2018 at 6:25 pm #1013380Hey vasileandrei,
I took a look at the second image on your page and found that it is linked to open full size directly, it couldn’t open any larger.
Is this what you were trying for?
Please see the screenshot in Private Content area to ensure I’m looking at the correct image.Best regards,
MikeSeptember 25, 2018 at 2:20 pm #1014187the first picture is the problem, the features images
September 25, 2018 at 4:55 pm #1014287September 27, 2018 at 9:36 am #1015194September 27, 2018 at 10:35 am #1015208Hi,
This is the default events template code, we didn’t modify it. However you can add this functiobn to your child theme functions.php to activate the lightbox for the featured image
function custom_tribe_event_featured_image( $featured_image ){ if( is_single() ){ $post_id = get_the_ID(); $size = 'full'; $image_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), $size ); $featured_image = ''; if ( !empty( $image_src ) ) { $featured_image = '<a href="'. $image_src[0] .'" title="'. get_the_title( $post_id ) .'" rel="lightbox"><img src="'. $image_src[0] .'" title="'. get_the_title( $post_id ) .'" class="alignleft" /></a>'; } } return $featured_image; } add_filter( 'tribe_event_featured_image', 'custom_tribe_event_featured_image');Best regards,
PeterOctober 1, 2018 at 9:13 pm #1016749is fine thanks
October 2, 2018 at 1:04 am #1016790Hi,
I’m glad you were able to get this resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘features images dont open in popup’ is closed to new replies.

