WordPress.org

Ready to get started?Download WordPress

Forums

nrelate Related Content
[resolved] Manual Code Not Working (4 posts)

  1. PauloCot
    Member
    Posted 1 year ago #

    I am trying to get related posts on all pages but UNDER the comments. Simply clicking the include in page doesn't work because this puts the nrelate above the comments. When I insert the manual code <?php if (function_exists('nrelate_related')) nrelate_related(); ?> in either comments.php or page.php it doesn't show on the page.

    Anyone know what could be the issue?

    http://wordpress.org/plugins/nrelate-related-content/

  2. @PauloCot -- You can control exactly where you'd like the plugin to show on your page by following the instructions for "Manually Inserting PHP function into your FUNCTIONS.PHP FILE:" here - http://nrelate.com/theblog/2011/12/22/manually-adding-nrelate-code-to-your-wordpress-template/

    Hope this helps! Let us know if you need more assistance with this.

    - Katrina @ nRelate

  3. PauloCot
    Member
    Posted 1 year ago #

    Thank you, I think the issue was the page field wasn't ticked when the code was manually inserted. Just so you know I have both page and post ticked, with neither post at top or bottom ticked but the page.php doesn't need to the manual code whereas the post page (single.php) does!

  4. @PauloCot -- Great, glad to hear that you were able to get manual placement to work for you.

    Thanks for using nRelate!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic