Support

Home Forums Event Espresso Premium Caption under image won't show up in Staff description

Caption under image won't show up in Staff description

Posted: January 26, 2013 at 1:55 pm

Viewing 2 reply threads


Étienne Pilon

January 26, 2013 at 1:55 pm

What i did :

  1. I have created a new staff member and addd some descriptions with image/caption under it (wordpress standard fonction)
  2. I have created a page to show this member staff with this shortcode : [ESPRESSO_STAFF id="2"]

i see the image, and the text, but the “shortcode” for the image shows this in the text in production mode :
[caption id="attachment_161" align="alignright" width="199"] THE ACTUAL IMAGE [/caption]


Dean

January 28, 2013 at 12:47 am

Hello,

OK I have raised a development ticket for this to get it fixed in a future update.

In the mean time, you can resolve this by a simple code edit but it does affect a core file, so please be aware that it will be over written on update and to backup your files and database as a precaution.

in event-espresso/includes/shortcodes.php look for the end of the ESPRESSO_STAFF shortcode function, approx line 637.

Where it says return $buffer; above that line add $buffer = apply_filters('the_content', $buffer);

screenshot of code

This will display the caption correctly.


Étienne Pilon

January 28, 2013 at 6:59 am

thanks, it works fine !

Viewing 2 reply threads

The support post ‘Caption under image won't show up in Staff description’ 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