WordPress.org

Ready to get started?Download WordPress

Forums

RS EVENT multiday
[resolved] %EXCERPT% not working in rs_event_list (6 posts)

  1. renowden
    Member
    Posted 1 year ago #

    Hi - %EXCERPT% doesn't seem to be working in rs_event_list either since the upgrade to this plugin or to WP 3.5 (I am not sure which). This can be seen in http://stmatthews-bristol.org.uk/ where the 2 items under "Services this Sunday" and 1 under "Coming Soon" should show excerpts from the posts.

    http://wordpress.org/extend/plugins/rs-event-multiday/

  2. renowden
    Member
    Posted 1 year ago #

    Looking at the code the problem seems to be the addition of "&& $fulltext_active == 0" to line 693. I don't know what is needed here but removing it solves my problem.

  3. wp-lefty
    Member
    Plugin Author

    Posted 1 year ago #

    The problem is indeed in line 693 and it is a bug. The correct version of this line is:
    if($event->excerpt == '' && $fulltext_active == 1)
    ("1" instead of "0")
    I will publish a new version (1.3.2) with this bugfix as soon as possible.

    However, if you manually add an excerpt when you edit a post in the backend, there should not be any problem and the excerpt gets printed.

  4. renowden
    Member
    Posted 1 year ago #

    Thanks - that does seem to fix the problem. I think also the documentation needs amending to point out that if fulltext_active is set to zero then it also disables the automatic generation of excerpts because that needs the fulltext to work on. So it is only practical to use if you have explicit excerpts for every post.

  5. wp-lefty
    Member
    Plugin Author

    Posted 1 year ago #

    I thought of that. Thank you! I will publish a new documentation along with version 1.3.2. Please have a look at it after I published it and feel free to comment on it (maybe at a new forum thread), especially in order to use proper and correct English terms (since I am obviously not a native speaker) and to make the text easy to comprehend.

  6. wp-lefty
    Member
    Plugin Author

    Posted 1 year ago #

    resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.