Display date/excerpt/button on slider
-
Hi, I’m trying out the addon for having the events in a slider (https://theeventscalendar.com/extensions/event-slider-add-on/)
It works good, and looks good too (after some CSS tinkering). But I would like to display the date, the excerpt and a read more-button. Is that possible to add, with extra short-code terms maybe?
The page I need help with: [log in to see the link]
-
I managed to add the excerpt and a read more-button with this string after the title in the php file for the shortcode:
$output .= '<div class="tec-event-slide-details"><p>' . get_the_excerpt() . '</p><a href="' . get_permalink() . '"><span>Läs mer</span></a></div>';But I can’t figure out if its possible to add the event date in a similar way? And maybe the event category as well, that would be awesome!
Also, since this will be overwritten when the plugin gets an update – any way you can add it to the plugin for the next version? (or something similar…)
To sum it up, it would be great if you would add these shortcode conditions:
excerpt=”true”
read_more=”true”
date=”true”
category=”true”
autoplay=”5000″ (ms)
tag=”true”Something like that. What do you think, is this doable?
Just realized that the the default order for the events is the publication of the event, instead of the start date (as would be logical). So the option to change that, and also swap between asc/desc would also be appreciated 🙂
order=”descending/ascending”
edit: after closer inspection, the events seems to be total random. I can’t tell how the order is determined. So what is it? It should be start-date, right?
Hi @niwin ,
Thank you for reaching out and for your feedback on our Event Slider add-on extension plugin.
We have limited support with The Events Calendar extension plugins, and your desired use case here falls in the line of code customization.
While this is not something we discourage. This is; however, something that may require extensive knowledge in WordPress/web programming and we, the support team, are not equipped with such command. — Please see our scope of support page.
If you are comfortable handling (or writing) code, a good place to start in finding documentation of our code functions would be our DevDocs: and our themer’s guide. You can also find some third-party alternatives in our Slider Revolution & Essential Grid knowledgebase article.
Nevertheless, I’ve shared your feedback with our products team for consideration on our future roadmap.
I understand your position. If you do get around to push a new release, I still hope you consider adding some of these shortcode additions, as several of them are pretty basic stuff.
Did you have an answer to my question to what determines the order of the slides?
Hi @niwin ,
I appreciate your understanding, and I agree with your feedback.
As for the slide’s sort order, it doesn’t look like it is being ordered at all — looking at the code level in the
\wp-content\plugins\tec-labs-event-slider\src\TEC\Shortcode.phpfile. I’d be more than happy to share your feedback on this as well with our products team.Thank you, I hope someone on your team will get around putting a few (or all :)) of the suggested shortcode attributes in place for a future release – just autoplay and startdate order will go along way to make it a more fitting addon for a calendar plugin.
Hi @niwin ,
Thank you for your message.
We appreciate your feedback and feature request. I am unable to provide an exact date or time estimate for when this feature request will be realized. However, if you haven’t already, you can use this link to sign up for our Newsletter to be kept up to date on all of our current sales, updates, and promotions.
I understand, and thanks for the link – now I am subscribed!
That’s great! Thank you, @niwin !
Hi there,
It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.
The topic ‘Display date/excerpt/button on slider’ is closed to new replies.