Showing full content, not limited content (auto excerpt) after update to 4.0

Home Forums Calendar Products Events Calendar PRO Showing full content, not limited content (auto excerpt) after update to 4.0

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #1034290
    Simon
    Participant

    Previously list-view showed truncated content.
    http://artthrob.co.za/events/

    #1034331
    Astrid
    Participant

    It’s the same at my site. And as I use Site Origin Page Maker also code is shown. Any idea? I have to downgrade….

    Aktuelle Termine

    #1034342
    Krisztián
    Participant

    Same at my site
    need help please

    #1034343
    Jonathan Sanderson
    Participant

    Same issue here, luckily on my dev/test site and not on live. I’m seeing full content in calendar/month view as well, which typically bumps the event title off the top of the screen(!).

    I’ll watch this thread and wait for an update.

    #1034382
    Tiffany
    Participant

    Same here.. it cuts off the top of the preview and isn’t displaying right. Following.

    #1034743
    Josh
    Participant

    Hey Everyone,

    Thanks for reaching out to us and bringing this issue to our attention!

    We’ve got this bug logged in our internal tracking system and will notify you here as we make progress on this issue. I apologize for any inconvenience that this issue has caused.

    Let me know if you have any further questions.

    Thanks!

    #1035044
    Tiffany
    Participant

    How can I get the previous version of the events calendar? (not the pro version)

    #1035204
    Simon
    Participant

    I took a backup of previous version – here – before updating.

    #1035242
    Jan
    Participant

    Same here. 🙁

    #1035256
    Konrad
    Participant

    (Subscribed)
    BTW: I think, the problem is not, that the excerpt is not used, but the automatically generated excerpt from full text is not truncated. If I enter a short exerpt manually, everything looks fine to me.

    #1035257
    Konrad
    Participant

    duplicate bug here

    Updated to 4.0, excerpt problem

    • This reply was modified 10 years, 4 months ago by Konrad.
    #1037251
    Josh
    Participant

    Hey Everyone,

    Thanks for reaching out to us and bringing this issue to our attention!

    We’ve got this bug logged in our internal tracking system and will notify you here as we make progress on this issue. I apologize for any inconvenience that this issue has caused.

    In the meantime, you can fix this issue by making some quick modifications to the core plugin. These changes will get overridden with the next update which will include an official fix to this issue.

    Within the main Events Calendar plugin, navigate to the src > functions > template-tags > general.php file and open it within your preferred text editor.

    Navigate to line #1320 within that file. It should look like:

    $excerpt = wp_trim_excerpt( $excerpt );

    You can change that line to be:

    $excerpt = wp_trim_words( $excerpt, ’55’ );

    Where “55” is the number of words that you would like the excerpt to be there.

    Let me know if you have any further questions or concerns here.

    Thanks!

    #1037348
    Astrid
    Participant

    Thank you very much Josh. That solved the problem:

    Aktuelle Termine

    Looking forward to your update 🙂

    Astrid

    #1038050
    Josh
    Participant

    Hey Astrid,

    Awesome! Happy to help

    There are some known issues where this doesn’t fully work with localized sites, however the update coming for the plugin should address those issues.

    Thanks!

    #1055316
    Konrad
    Participant

    I have all updates, but I was not satisfied with the result. My normal blog posts get truncated after 40 words (I guess this is a setting from my template) but the photo view excerpt was truncated at 80 words, which was way to long for my layout.

    I succeeded now by inserting the following code into my functions.php

    // shortend excerps for photo view of TEC
    add_filter( 'excerpt_length', 'tribe_excerpt_length', 999 );
    function tribe_excerpt_length( $length ) {
            if ( tribe_is_photo() ) {
                return 20;
            }
     
        return 40;
    }
    
Viewing 15 posts - 1 through 15 (of 16 total)
  • The topic ‘Showing full content, not limited content (auto excerpt) after update to 4.0’ is closed to new replies.