Support

Home Forums Event Espresso Premium inserting headings into the EE ticket shortcode output

inserting headings into the EE ticket shortcode output

Posted: February 7, 2017 at 4:55 pm

Viewing 5 reply threads


DiabetesFeetAustralia

February 7, 2017 at 4:55 pm

I’d like to insert headings into this area

Screenshot: https://www.dropbox.com/s/yctrn2sk7kqthvs/Screenshot%202017-02-06%2016.43.09.png?dl=0

url: http://wordpress-29868-68998-211674.cloudwaysapps.com/register/

The top one “Registration” is no problem, that’s effectively outside the shortcode output area.

And I can place the ‘Day Registration’ & ‘Social Events’ headings and move them using relative positions with css. However, when the show details expand the headings won’t move accordingly and look broken.

Is there some way to anchor them in place?

Thanks!


Josh

  • Support Staff

February 7, 2017 at 7:16 pm

Hi there,

This is something that can be done with a tiny bit of jQuery, and what’s nice is you can use the newish wp_add_inline_script() function to load the inline jQuery. Some example code:

You can add the above to a functions plugin or into your WordPress theme’s functions.php file, which will result in adding some headings like in this screenshot:
https://www.evernote.com/shard/s4/sh/79acee41-f858-4f16-be07-1cf32468c02a/f36db567ad4eb529a8e0f1c73e4d73f8


DiabetesFeetAustralia

February 15, 2017 at 5:33 pm

Hi Josh

Thanks for the response.

Unfortunately this has not worked on my site.

I placed the code you provided into a site specific functions plugin.

Thanks

url: http://wordpress-29868-68998-211674.cloudwaysapps.com/register/


Tony

  • Support Staff

February 16, 2017 at 4:03 am

Can you post the contents of your custom functions plugin into a gist or pastebin so we can view it please?


DiabetesFeetAustralia

February 16, 2017 at 9:07 pm

My apologies, it is now working! Thanks for the fantastic product and support.


Tony

  • Support Staff

February 17, 2017 at 3:29 am

No problem, I’m glad its working for you.

Viewing 5 reply threads

The support post ‘inserting headings into the EE ticket shortcode output’ 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