Home › Forums › Calendar Products › Events Calendar PRO › Showing full content, not limited content (auto excerpt) after update to 4.0
- This topic has 15 replies, 8 voices, and was last updated 10 years, 3 months ago by
Josh.
-
AuthorPosts
-
December 2, 2015 at 8:34 pm #1034290
Simon
ParticipantPreviously list-view showed truncated content.
http://artthrob.co.za/events/December 3, 2015 at 1:22 am #1034331Astrid
ParticipantIt’s the same at my site. And as I use Site Origin Page Maker also code is shown. Any idea? I have to downgrade….
December 3, 2015 at 1:56 am #1034342Krisztián
ParticipantSame at my site
need help pleaseDecember 3, 2015 at 1:56 am #1034343Jonathan Sanderson
ParticipantSame 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.
December 3, 2015 at 5:30 am #1034382Tiffany
ParticipantSame here.. it cuts off the top of the preview and isn’t displaying right. Following.
December 3, 2015 at 8:14 am #1034743Josh
ParticipantHey 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!
December 3, 2015 at 2:09 pm #1035044Tiffany
ParticipantHow can I get the previous version of the events calendar? (not the pro version)
December 3, 2015 at 8:47 pm #1035204December 3, 2015 at 11:20 pm #1035242Jan
ParticipantSame here. 🙁
December 4, 2015 at 12:07 am #1035256Konrad
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.December 4, 2015 at 12:09 am #1035257December 7, 2015 at 5:09 pm #1037251Josh
ParticipantHey 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!
December 8, 2015 at 1:40 am #1037348Astrid
ParticipantThank you very much Josh. That solved the problem:
Looking forward to your update 🙂
Astrid
December 9, 2015 at 5:26 am #1038050Josh
ParticipantHey 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!
January 13, 2016 at 8:09 am #1055316Konrad
ParticipantI 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; } -
AuthorPosts
- The topic ‘Showing full content, not limited content (auto excerpt) after update to 4.0’ is closed to new replies.
