Support

Home Forums Event Espresso Premium change excerpt

change excerpt

Posted: December 13, 2016 at 1:32 pm


a.chiarottino

December 13, 2016 at 1:32 pm

Hi,
it’s possible change the length of the excerpt only on eventespresso posts?
thanks


a.chiarottino

December 14, 2016 at 4:01 am

Can I have an answer? The excerpt works very bad on the main event espresso section and display a lot of characters.


Josh

  • Support Staff

December 14, 2016 at 4:50 pm

Yes it’s possible to change the length of the excerpt.

https://gist.github.com/joshfeck/4bfdcaad62671a65583bac52df8e32eb


a.chiarottino

December 15, 2016 at 3:04 am

Hi Josh, i add that on function.php but nothing is change..


Tony

  • Support Staff

December 15, 2016 at 6:31 am

Can you link us to where you want to change the excerpt?


a.chiarottino

December 16, 2016 at 7:56 am

for example here http://www.eataly.dk/cooking-classes/
and i use that shortcode: [ESPRESSO_EVENTS category_slug=cooking-classes limit=100]

thanks


Josh

  • Support Staff

December 16, 2016 at 9:37 am

Looks like you’re using an older version of Event Espresso. You’ll need to update to a more current version (we recommend the current version) for the code snippet to have an effect.


a.chiarottino

December 16, 2016 at 10:37 am

sorry josh I have some problems with the new version, can you help me with this issue? I really have a lot of problems to set excerpt on eventespresso, I try a lot of tricks for set up this on wordpress but nothing works…


Josh

  • Support Staff

December 16, 2016 at 11:07 am

No need for tricks, this is the solution that will work:

1) You update to Event Espresso 4.9.23.p
2) You add this code to your website:
https://gist.github.com/joshfeck/4bfdcaad62671a65583bac52df8e32eb
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

If you have problems with 4.9.23.p please let us know what they are and we can help with that.

The support post ‘change excerpt’ 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