• I have a couple of things i’d like help with; can anyone help, please?

    I would like to display Future, Current and Past productions on my Events page, but I can only seem to get future events to appear on the page. Is there a way of doing this via a shortcode.

    Ideally I’d like three tabs for these at the top of my page.

    Secondly, I’d like to only display start month / year and end month / year not specific days on the single event pages

    Thanks

    • This topic was modified 6 years, 5 months ago by judders.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter judders

    (@judders)

    This is an example of what I’d like to produce

    https://christophernairne.co.uk/productions/

    Plugin Author Jeroen Schmit

    (@slimndap)

    To display past productions:

    [wpt_productions end_before="now"]

    This shows all productions that don’t have any date after ‘now’.

    Can you please define ‘current’ productions?

    Thread Starter judders

    (@judders)

    Great – thanks for the speedy response.

    I’m using to show a light designer’s credits. So there’s shows he’s working on that are on now, ones he’s working on that are on in the future, and the past ones.

    Thread Starter judders

    (@judders)

    how do I combine that shortcode with the following? {{remark}}{{venue}}{{city}}
    {{tickets_url}}

    thankls

    Plugin Author Jeroen Schmit

    (@slimndap)

    Like this:

    [wpt_productions end_before="now"]{{remark}}{{venue}}{{city}}
    {{tickets_url}}[/wpt_productions]
    Thread Starter judders

    (@judders)

    Thanks but

    That’s not working for me

    https://www.tmdtesting.co.uk/credits

    using

    <br />
    <hr />
    <br />
    <h2>Previous Credits</h2>
    [wpt_productions end_before=”now” paginateby=”year”]{{remark}}{{venue}}{{city}}
    {{tickets_url}}[/wpt_productions]

    Thread Starter judders

    (@judders)

    thanks for your help

    Thread Starter judders

    (@judders)

    I’ve now adapted code from another post and it displays the past credits but not the venue etc information, like the current ones

    This is the code

    [wpt_events start_after=”now” paginateby=”month” “year” ]{{thumbnail|permalink}}
    <h3>{{title|permalink}}</h3>
    {{remark}}{{venue}}{{city}}
    {{tickets_url}}[/wpt_events]
     
    <hr />
     
    <h2>Previous credits</h2>
    [wpt_productions end_before=”now” paginateby=”month” “year” ]{{thumbnail|permalink}}
    <h3>{{title|permalink}}</h3>
    {{remark}}{{venue}}{{city}}
    {{tickets_url}}[/wpt_productions]

    Thread Starter judders

    (@judders)

    How do I change the above code to display all the details for past events?

    thanks

    Plugin Author Jeroen Schmit

    (@slimndap)

    Try this:

    [wpt_events end="now" paginateby="month"]{{thumbnail|permalink}}
    <h3>{{title|permalink}}</h3>
    {{remark}}{{venue}}{{city}}
    {{tickets_url}}[/wpt_events]
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Displaying past events’ is closed to new replies.