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.
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_DEBUGso you can learn how to debug WordPress theme files.
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.
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.
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?
- The topic ‘Insert YARRP after content’ is closed to new replies.