Support

Home Forums Event Espresso Premium Shortcode for Event Pricing NAMES

Shortcode for Event Pricing NAMES

Posted: July 29, 2013 at 5:26 pm


Adrian

July 29, 2013 at 5:26 pm

Hi,
Using WordPress 3.5.2, Event Espresso Version 3.1.33.3.P with Permission Version 1.5.4.1, site is http://www.2boats.org
Under Event Pricing, the “Add a Price” button allows multiple prices to be listed, and provides name fields such as Name 2, Name 5 etc. to which a text label can be entered. What is the shortcode to pull the value of the text field allocated to the “Name” field out of the database?
Thanks


Dean

July 30, 2013 at 5:30 am

Hi Adrian,

Looking at this we don’t seem to have a shortcode to do what you need, the closest is the Event Price shortcode https://eventespresso.com/wiki/shortcodes-template-variables/#event-price but that displays the numerical value not the ticket label.

As such you would probably need to either to create a shortcode or at least add a custom SQL query in the template, depending on what you are trying to do.


Adrian

July 30, 2013 at 3:06 pm

Hi Dean
Thanks for your prompt reply. Apologies perhaps didn’t fully explain, the shortcode was need it the custom email responders, and we found that using [ticket_type] produced the desired result


Dean

July 31, 2013 at 1:11 am

Ahhh right, yes I was looking in a different direction! Glad you got it sorted though.

The support post ‘Shortcode for Event Pricing NAMES’ 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.

Event Espresso