Events Made Easy › Forums › Bug fixed or feature request implemented › Excerpt
- This topic has 4 replies, 2 voices, and was last updated 9 years ago by
Franky.
-
AuthorPosts
-
Mon 20 Jun 2016 at 08:09 #55515
Anonymous
InactiveHi Franky,
I hope you are doing fine!? I just wanted to change my list of events and display an excerpt of the events. But if I’m right the Excerpt is part of the description so from the beginning until I set the more shortcut?
#_EVENTDETAILS (or #_NOTES) displays the details of the event [..] #_EXCERPT shows an excerpt of the event (this is the content of #_NOTES until you place a <!––more––> marker
So I do not have the chance to write my own excerpt that would be totally different from my event description? If so please move this post (if you like) to the feature request to implement an independent excerpt field.
Or please let me know how to write an excerpt that is not part of my description… maybe I just missed something.
Many thanks in advance…
Joerg
Mon 27 Jun 2016 at 00:42 #55523Franky
KeymasterAdded event placeholder #_NOEXCERPT for this, see
https://plugins.trac.wordpress.org/changeset/1443801/Fri 1 Jul 2016 at 08:48 #55524Anonymous
InactiveMhmh, I’m still not sure if this solves what I try to achieve…
The documentation says: (this is the content of #_NOTES until you place a <!––more––> marker)
So here is where I’m lost, where are the NOTES in an event? I only have the details section. And the documentation says #_EVENTDETAILS (or #_NOTES) if this is the same, I still do not know how to write an Excerpt.I would expect an independent field like one has at a regular post where the excerpt is placed?
If I write my Excerpt (separate text) at the top of the details section and mark its end with a <!––more––> marker that is all I need?
Then simply go to the page and place the placeholders to display either all (#_EVENTDETAILS), or just the notes (#_NOTES, which is basically the Excerpt??) or displaying the details without the notes (#_NOEXCERPT)? Is that what you mean?
Fri 1 Jul 2016 at 09:42 #55525Anonymous
InactiveOK Solved 🙂
#_EXCERPT is just the part from the details up to the <!––more––> marker
#_EVENTDETAILS and #_NOTES are identical and will display all
and I assume #_NOEXCERPT will just display all after the <!––more––> marker
Just a side note when I place #_EXCERPT I got an additional blank row before the excerpt starts. Can you please remove this extra line?
Sat 2 Jul 2016 at 00:25 #55526Franky
KeymasterThe extra blank line came probably because after the more-delimiter you used a carriage-return.
Now knowing what people want exactly (with or without extra cr) is difficult, but I think I got the “normal” way down. Try this change:
https://plugins.trac.wordpress.org/changeset/1447490/ -
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.