• Love this plugin! However, the Related Posts are only appearing on the permalink pages and not on the homepage itself.

    Help is much appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter cowgirly

    (@cowgirly)

    Also, wondering how this plugin works– is it using tags, or words within the post itself?

    Thread Starter cowgirly

    (@cowgirly)

    Hello, wondering if anyone has ideas on why the “related posts” are only appearing on the permalink pages, and not on the blog homepage?

    Many thanks…

    @cowgirly – as for your first question, that is by design. You can include the related posts on your index and archive pages by adding the code <?php related_posts() ?> to your template files in your Loop.

    As for the second, yes, it uses tags, categories, and words within the post content and titles, which, in my humble opinion, gives you much better results than some of the “competitors.” ??

    ps: all of this information is on the FAQ… please take a look at the documentation. ??

    Hi Mitch, thanks for the great plugin.

    For people who may need a bit more help, can you explain how to do this: “…by adding the code <?php related_posts() ?> to your template files in your Loop.”

    I tried inserting that code into the plugin code in the editor but got a fatal error.

    @jcmilton – you want to put that code in your *template* file, not the plugin file. You can edit your templates in wp-content/themes/YOUR THEME . You most likely want to edit the archive.php file and an index.php file, although this depends on the particulars of your theme. For more information on editing The Loop, check this out:

    https://codex.www.ads-software.com/The_Loop

    Thanks Mitch.
    Followup question… is there a way to turn off the number that follow the related posts? From what I understand those numbers show the amount of relevance, but I think it would look better if it just showed the related post title, without the number at the end. Is that an option?

    Thanks!

    @jcmilton – that match score is only displayed to you, the administrator, when you are logged into wp-admin… it is not displayed to visitors.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Related Posts showing on permalink pages, but not homepag’ is closed to new replies.