Support

Home Forums Event Espresso Premium HELP… STAFF SHORT CODE NOT WORKING

HELP… STAFF SHORT CODE NOT WORKING

Posted: December 14, 2014 at 5:05 pm

Viewing 3 reply threads


Spider

December 14, 2014 at 5:05 pm

I have tried to redo this event and nothing seems to work… i have this event 3 times in calendar and its the ONLY event that DOES NOT SHOW INSTRUCTOR name… it shows [ESPRESSO_STAFF] (SEE ATTACHED). i have selected an instructor and checked spelling and it just doesnt seem to work???!!!!!

https://www.dropbox.com/s/k9tehoc4vxk10ot/Screen%20Shot%202014-12-14%20at%203.57.14%20PM.png?dl=0

https://www.dropbox.com/s/it9pmv7j9vp2xz0/Screen%20Shot%202014-12-14%20at%203.57.24%20PM.png?dl=0

https://www.dropbox.com/s/rja96g477ou9tiv/Screen%20Shot%202014-12-14%20at%204.02.55%20PM.png?dl=0


Spider

December 14, 2014 at 7:00 pm

Can I please get a reply to this post?? Need to get this working properly!!


Dean

December 15, 2014 at 3:41 am

Hi,

I assume this is related to your other post here: https://eventespresso.com/topic/event-staff-not-showing-with-short-code/ ?

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/send-login-details/

NOTE: login details need to be Admin level.


Dean

December 15, 2014 at 6:15 am

Hi,

Thanks for the login details.

I checked your and the Staff shortcode is working perfectly for events.

I compared your Calendar Table template addon plugin’s code with the default 1.1 release and noticed that the template has been modified.

When using the default code, the ESPRESSO_STAFF shortcode works correctly, when using the code on your site it does not.

It looks like your template file has had the line removed that uses the espresso_format_content function.

As such if you add in

$event_desc = espresso_format_content($event_desc);

after

$event_desc = wp_trim_words( $event_desc, 12, $more = '...' );

(that’s on line 158) then it should work.

If that does not make sense to you, please refer to your web developer/the person that modified the file.

“Can I please get a reply to this post?? Need to get this working properly!!”

I meant to mention this, but please note that our standard support times are:
Monday – Friday:
9AM – 6PM EDT
1PM – 10PM GMT

We do occasionally work outside those hours, but we cannot guarantee support outside those hours.

Viewing 3 reply threads

The support post ‘HELP… STAFF SHORT CODE NOT WORKING’ 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