stormywhether
Member
Posted 2 years ago #
Hey!
At the bottom of every post I want to call YARPP and alongside it, thrust in a tiny subscription form.
So technically I'd have YARPP stage left, and the subscription form (Gravity Forms) stage right.
I can't even figure in single.php where YARPP is called, which makes for very tricky styling!
So my question:
How could I wrap YARPP and a form in a <div> if I can't even find the call to YARPP from single.php?
@stormywhether That's because there's no direct call (by default) to YARPP from your template file. YARPP, if you're using the "automatically display" option, will add the related posts to the post content.
If you want to directly control where it's shown, turn off the "automatically display" option and instead add the PHP code related_posts() to single.php where you want it.