• Resolved sixtyseven

    (@sixtyseven)


    Hi Brian,

    first of all: Greetings from Germany and thank you for your nice plugin, which is absolutely useful for me right now.

    However, I came up with an idea: Now, if I want to show the past events together with the current events, I will have to put two shortcodes on the page. Would be nice, if we could get another parameter in the shortcode, that will display the past events in the same UL as the current ones. Would be a lot easier for consistent styling.

    And there is another slight disadvantage regarding using your plugin in my language:

    $output .= '<span class="duration venue"><em> at </em>' . apply_filters( 'ecs_event_list_venue', tribe_get_venue(), $atts ) . '</span>';

    It would be perfect If I could somehow get a grip on the <em> at </em> part without using a ton of javascript. Maybe a filter around it?

    Thanks again for your effort.

    André

    https://wordpress.org/plugins/the-events-calendar-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi André,

    Sorry for the late reply! Yes you would need a separate shortcode for past and future events at this time.

    There is a filter now ecs_event_venue_at_text which you could use to modify the ‘at’ to translate it as needed, and ecs_event_venue_at_tag_start / ecs_event_venue_at_tag_end if you want to modify the <em>...</em>

Viewing 1 replies (of 1 total)
  • The topic ‘past events together with current events’ is closed to new replies.