Additionally, I think it can be changed in render.php.
I think these 2 need to be combined, but I don’t know how:
1) echo $event->data->thumbnails[‘meccarouselthumb’];
2) href=”<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date[‘start’][‘date’]); ?>”>
Please advise. Thanks.
Plugin Contributor
webnus
(@webnus)
Hi All,
— @frostengine thanks for sharing the topic.
@thesalsakid, yes, changing the render.php can meet your needs,
Please head over to this article: https://webnus.net/dox/modern-events-calendar/overriding-mec-shortcodes-skin/
Also, this topic is an example of it: https://ww.wp.xz.cn/support/topic/tiles-view-clickable-image/ (but it is about tile view, you can do this structure for your desired shortcode)
Best Regards
@frostengine, @webnus Thanks man. I’ll have a look at it.
@frostengine, @webnus Sorry guys, but I’m not a developer.
I see the differences in code for the Tiles render.php, but still don’t get the concept of classes, and how to incorporate that for Carousel render.php.
I think I only need to combine these 2 lines in one class, extended with Hoovering?
1) echo $event->data->thumbnails[‘meccarouselthumb’];
2) href=”<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date[‘start’][‘date’]); ?>”
Help is much appreciated.
I got it working.
But now it opens the event page instead of the popup.
Any suggestions where I can find this code?
Thanks
I found it, I added the <h4 class=”mec-event-carousel-title”>.
Plugin Contributor
webnus
(@webnus)
Hi @thesalsakid
Good job,
Also, I will forward your topic to our developer team and they’ll surely receive it. If it is possible they will add this feature in the upcoming updates of the Plugin.
Best Regards