Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter GM_hps

    (@gm_hps)

    And also a widgt with the most visited events?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    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”]

    Thread Starter GM_hps

    (@gm_hps)

    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,
    Guido

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry 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

    Thread Starter GM_hps

    (@gm_hps)

    1/ the shortcode appears as itself integrated in a text/html widget
    2/ the shortcode works integrated in a page or post. see:
    https://www.maedchenfussball-blog.de/neue-termine-in-der-turnierboerse/

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try to add this custom snippet at the end of your theme functions.php

    add_filter('widget_text', 'do_shortcode');
    isant

    (@isant)

    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”]

    isant

    (@isant)

    It’s OK with recurring=1

    Code

    [events_list scope=”future” limit=30 recurring=1 pagination=1 orderby=”event_date_created” order=”DESC”]

    THanks!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Widget with last events submitted’ is closed to new replies.