WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Insert YARRP after content (6 posts)

  1. How-to-123
    Member
    Posted 1 year ago #

    I am trying to get YARRP to show after the site text on single post sites.

    I want it to be side-by-side with google ads, that are also showing after the text. How can I do this?

    I did try http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-how-to-put-ads-between-text-and-list but I can't get it to work. I only get a blank page.

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    The key idea is the same. Turn off the "automatic display" option and instead call the related_posts() function in your theme.

    If you're getting a blank page, there may have been an error in the PHP code you wrote. Try seeing if your server has an error log, or search for WP_DEBUG so you can learn how to debug WordPress theme files.

  3. How-to-123
    Member
    Posted 1 year ago #

    Hi mitcho thank you for the help.
    I tried playing around with it, and got closer to where I want it, but still not perfekt. But I don't get a blank page anymore:-)

    It seems that instead of the list and my google ads are side by side, the list is pushing down the ad, even though the list is to the left and the ad is to the right.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 1 year ago #

    This sounds like an issue with the layout of elements in your theme. I suggest you ask around for advice on resolving that issue in the "themes/CSS" section of the forums, or by contacting your theme author.

  5. uddhava
    Member
    Posted 1 year ago #

    If you use a Theme Framework, like Genesis or WooThemes, then you can add the function Related_posts() to the hook manager of both frameworks. But maybe mitcho could give an example how to include it into a template?

  6. uddhava
    Member
    Posted 1 year ago #

    oh. You did in another post:

    <?php if (function_exists('related_posts') ) : related_posts(); endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic