Support

Home Forums Event Espresso Premium Shortcodes..?

Shortcodes..?

Posted: April 12, 2014 at 3:39 pm

Viewing 1 reply thread


Matthew Thompson

April 12, 2014 at 3:39 pm

Is it possible to either use a shortcode inside a DOM element or to somehow pull into a DOM element just the Upcoming Date & Time for a single event ID..?

  • This topic was modified 10 years, 7 months ago by Dean. Reason: not a pre release question


Dean

April 14, 2014 at 5:14 am

Hi Matthew,

What exactly are you trying to achieve and with which version of Event Espresso?

To try and answer your query in very general terms:

If you are using PHP to insert it, then you can use the do_shortcode function – http://codex.wordpress.org/Function_Reference/do_shortcode

If you are trying to achieve this with JavaScript, then you would be looking at doing AJAX, to call a PHP function (that will probably use do_shortcode) to pull in the right data.

Viewing 1 reply thread

The support post ‘Shortcodes..?’ 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