• I understand I can link an event or production to the ticket url, but I cant get this to work.

    Under Jeero settings, in the Theater for WordPress there is a variable called tickets_url, how do I link the event title to go to that page?

    [wpt_productions limit=”5″]<p>{{title}}</p><br>{{dates}}[/wpt_productions]

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeroen Schmit

    (@slimndap)

    Hi!

    So you would like the title to link directly to the tickets page, and not to the event detail page on your website?

    In this case I would use Jeero to create a new custom field during the import, eg. title_with_tickets_url.

    The template for this field would be <p><a href="{{tickets_url}}">{{title}}</a></p>.

    Then change the shortcode to this:

    [wpt_productions limit="5"]{{title_with_tickets_url}}{{dates}}[/wpt_productions]

    Jeroen

    Thread Starter mdegive

    (@mdegive)

    Thanks for the example, unfortunately it does not quite works, instead it displays the html.

    <p><a href="https://ravenperformingartstheater.thundertix.com/orders/new?performance_id=2850456">Cesar Died Today</a></p>
    
    January 19, 2023 to January 22, 2023
    <p><a href="https://ravenperformingartstheater.thundertix.com/orders/new?performance_id=2866515">Matt Schofiled</a></p>
    
    January 27, 2023

    See this page: https://wp.rpat.org/theater-events/

    Thread Starter mdegive

    (@mdegive)

    Never mind I got it to work. Dank u for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tickets url’ is closed to new replies.