WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Version 3.3.3 breaks templates in widget (7 posts)

  1. rbottomley
    Member
    Posted 2 years ago #

    Once I updated to version 3.3.3, the YARPP widget would no longer use templates to display. I tracked it down to line 248 of includes.php:

    if ( is_array(templates) && count($templates) ): ?>

    should be changed to:

    if ( is_array($templates) && count($templates) ): ?>

    Notice the dollar sign in front of the first "templates".

    Now it works.

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for your report! This issue is now fixed in YARPP 3.4 beta 4:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.4b4.zip

    Link should be available in a moment. Thanks again!

  3. echezuria
    Member
    Posted 2 years ago #

    [I post this on a new thread: http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-version-34-loading-same-articles?replies=1

    Once I update to version 3.4 the related posts stop working fine, and the list it was loading was basically the same for every post on my blog. There is some kind of trouble in the way matches are calculated on version 3.4+

    For the moment I just downgrade to version 3.3.3 where related posts are loading fine.

    Please could you fix this out? I really want to keep my plugin updated to its latest version.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    I believe your issues might be fixed in this beta:

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.4.1b5.zip

    Please try it out.

  5. echezuria
    Member
    Posted 2 years ago #

    It seems to be working fine with that beta. Thanks a lot!

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Great! I just pushed 3.4.1, the final version, so you'll want to upgrade to that.

  7. echezuria
    Member
    Posted 2 years ago #

    Done!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic