WordPress.org

Forums

Event Organiser
[resolved] event_excerpt length not changing (6 posts)

  1. emmafull
    Member
    Posted 1 year ago #

    Hello

    I am trying to change the event_excerpt length using the shortcode but it isn't changing:

    [eo_events numberposts=1]%event_title% %event_excerpt{20}%[/eo_events]

    Am I missing a step or do I need to include something in my theme funtions file? Or would it be easier/is it possible to add this to shortcode-event-list.php instead?

    Thanks :)

    http://wordpress.org/plugins/event-organiser/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Emma,

    Have you specified an actual excerpt for the event? (i.e. via the excerpt metabox). The excerpt length argument applies only to excerpts generated from the content of the event, not manually specified excerpts.

    Although that may seem odd, its inline with out WordPress handles excerpts.

  3. emmafull
    Member
    Posted 1 year ago #

    Hi Stephen

    Yes I have, I was hoping I was going to have a DOH moment there and it would suddenly work but no, the excerpt meta is there.

    Any other ideas? I am working locally - I don't know if that would be causing any issues? I'm a bit unsure if there is another problem going on tbh. I've made changes to the template files and they don't always show on the front end - I can only think that working through XAMPP is causing some further bugs?

  4. Stephen Harris
    Member
    Plugin Author

    Posted 1 year ago #

    So you are specifying an excerpt - that's why the limit isn't applied. The limit actually refers how much of the event content to use in case an excerpt is not provided.

    Template handling will work in a local environment fine. So I'm not sure why it wouldn't work for you (or why it would inconsistently).

  5. emmafull
    Member
    Posted 1 year ago #

    And there is the DOH moment :) Thank you

    I might try the template handling on a live server at least then it will point out where I'm experiencing the issue (hopefully!)

  6. emmafull
    Member
    Posted 1 year ago #

    Posting to mark this as resolved :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event Organiser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic