Support

Home Forums Event Espresso Premium SHortcodes of EE4 with Fudge theme

SHortcodes of EE4 with Fudge theme

Posted: July 6, 2014 at 7:56 pm

Viewing 4 reply threads


Felicity Cooper

July 6, 2014 at 7:56 pm

Hi. I see that this has been raised on the topics before and seems to have been resolved (but the forums don’t include how it was done). I’m having the same problems as was https://eventespresso.com/topic/ee-and-fudge-wordpress-theme/ with only the shortcode showing (can be seen at http://www.booktheseminar.com).

Any chance you cen help me fix this up?
Thanks


Dean

July 7, 2014 at 2:14 am

Hi,

What version of EE4 are you using?

Has the shortcode been added to a page/post/widget/template file?


Felicity Cooper

July 7, 2014 at 4:42 pm

Hi Dean
The EE is Version 4.2.7.p
I have added the shortcode [ESPRESSO_TICKET_SELECTOR event_id=’18’] to both the main text field and the “registration embed code” field in the registration widget (per the theme instructions)…

Thanks


Felicity Cooper

July 7, 2014 at 11:38 pm

As an aside – it does work with Eventbrite (which is what I’ve been trying to avoid, but have had to put this in place until we can get EE working…) Thanks


Dean

July 8, 2014 at 2:40 am

Hi,

Thanks for the clarification. It looks like it partially works on my tests site, the main text field fails, but the registration embed code field works fine -http://take.ms/5w42e

Looking at the code, it is missing a small section that allows shortcodes in the main text field.

You can edit the file /wp-content/themes/fudge/functions/widget-registration.php and on line 67 you should see:

<p><?php echo stripslashes($registrationtext); ?></p>

Change it to:

<p><?php echo do_shortcode(stripslashes($registrationtext)); ?></p>

Now that will only work until the theme is updated, so I would suggest getting in touch with the theme creators and advise them about this and see what they say.

Viewing 4 reply threads

The support post ‘SHortcodes of EE4 with Fudge theme’ 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