Widget with last events submitted
-
Hi all,
is it possible to install a widget which shows always just the last added events?thx,
Guido
-
And also a widgt with the most visited events?
you can try to use shortcode in text widget and then use EM shortcode
[events_list scope=”future” limit=10 pagination=1 orderby=”event_date_created” order=”DESC”]
Hi Angelo, it works perfectly on pages and posts. But not with an Text or HTML widget.
The code will be shown unformatted:
[events_list scope=”future” limit=5 pagination=1 orderby=”event_date_created” order=”DESC”]
Is there something else to consider?
Thx,
Guidosorry for the confusion but can you give us more details about this please? is the shortcode working but the style is different or the shortcode appear as is?
thanks
1/ the shortcode appears as itself integrated in a text/html widget
2/ the shortcode works integrated in a page or post. see:
http://www.maedchenfussball-blog.de/neue-termine-in-der-turnierboerse/you can try to add this custom snippet at the end of your theme functions.php
add_filter('widget_text', 'do_shortcode');Thanks a lot gelo_nwl !!
I see the most recents events!But i have recuring events so how to have distincts title ?
Code :
[events_list scope=”future” limit=30 pagination=1 orderby=”event_date_created” order=”DESC”]It’s OK with recurring=1
Code
[events_list scope=”future” limit=30 recurring=1 pagination=1 orderby=”event_date_created” order=”DESC”]
THanks!!
The topic ‘Widget with last events submitted’ is closed to new replies.