• Mitcho, congratulations for the plugin, thank you.

    1) I would need to list only entries from “Articles” category as related posts, for example.
    2) I also would need to reallocate the listing to the top right of the post body in single.php. Is it possible?

    Regards,

    Ray Baccaro
    TaxBlog.com

    RESPONSE FROM THE AUTHOR

    Hi Ray,

    1) A simple way to do this would be to “disallow” all other categories in your YARPP “The Pool” options.
    2) You can do this by adding the code <?php related_posts(); ?> to the appropriate place in your single.php, and then turn off “automatically display” in the YARPP options.

    mitcho

Viewing 1 replies (of 1 total)
  • Thread Starter rbaccaro

    (@rbaccaro)

    Mitcho,

    1) Thank you, I guess you helped but for example, we have 3 categories: A, B and C. I need to list “Related Posts” from category “A”, when calling the single.php and SINCE the post belongs to category “B” and/or “C.

    Would it be a new “Display” option? For example:

    “Display only for categories: A | B | C”

    I was thinking to add an IF on the single.php to call the “related_posts()” but we run multisite installation and the category to list or not the “Related Posts” would not be the same from blog to blog. Can you help me with it?

    Please, let me know if I am missing something.

    2) ok, thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘YARPP – Exclude categories to be listed’ is closed to new replies.