[Plugin: Yet Another Related Posts Plugin] problem with related_posts_exist() (3 posts)

  1. Coffee4cr
    Posted 6 years ago #

    I currently have a problem, I want my related post to only show if there's some related post.

    so at first i do

    if(related_posts_exist()) {
     //code here
     //more code

    inside both functions I did a echo to show the results at the end.

    ---YARPP Related Exist Result 3---

    ----YARPP Related Result No related posts. ---

    Is there a difference between the two in the way they handle the queries?

  2. Coffee4cr
    Posted 6 years ago #

    I noticed that they weren't calling the same query.
    So I went and changed the call in related_post
    to call teh same one as exist()

  3. This was fixed in 3.1.5. Please let me know if there is still an issue.

Topic Closed

This topic has been closed to new replies.

About this Topic