Support

Home Forums Event Espresso Premium Ticket Page Shortcode with WP User Integration

Ticket Page Shortcode with WP User Integration

Posted: July 30, 2017 at 8:45 pm


Robby Gunawan

July 30, 2017 at 8:45 pm

Hi,
I’m read in https://eventespresso.com/wiki/wp-user-integration/, it show that we can use [ESPRESSO_MY_EVENTS] shortcodes to display each user’s registration detail.
Is there any shortcodes to display tickets in a page? so each user has access directly to the ticket without open email and click the link


Tony

  • Support Staff

July 31, 2017 at 5:46 am

Hi there,

There are no shortcodes for this but there is a snippet you can use to add a ticket link to the My Events section:

https://gist.github.com/Pebblo/e56f98451d1aa0964717

You can add that to a custom functions plugin on your site, we have details on how to create a custom functions plugin here:

http://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Note in a future version of Event Espresso the ticket link will automatically be added to the my events section, at that point you will need to remove the above snippet from your site.


Robby Gunawan

July 31, 2017 at 2:16 pm

Hi Tony,

It’s works now thanks.. and my next question, how to display only ticket name, ticket date ad ticket number in My Events section?


Tony

  • Support Staff

July 31, 2017 at 3:18 pm

I’m not sure I understand what you mean can you post an example?


Robby Gunawan

July 31, 2017 at 3:52 pm

Hi Tony,

Please check this picture http://imgur.com/julOLN9

something like that, is it possible?


Tony

  • Support Staff

August 1, 2017 at 7:36 am

It’s possible to do, but you will need to customize the templates for the my events section to suit how you want them to output the details.

There are various different templates files used to output the my event details so you’ll need to edit multiple templates and load them from your theme (its recommend to create and use a child theme).

Take a look within eea-wp-user-integration/templates/

The 2 templates you will need to edit at a minimum will be:

content-espresso_my_events-event_section.template.php
content-espresso_my_events-event_section_tickets.template.php

Note that whilst we can point you in the right direction, we can not provide support for customizations.

The support post ‘Ticket Page Shortcode with WP User Integration’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 1 year, 10 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!