WordPress.org

Forums

nrelate Related Content
Use on only SOME pages, but automatically on posts (3 posts)

  1. walkerba2
    Member
    Posted 1 year ago #

    Hi there. Thanks so much for your wonderful plug-in.

    I have been searching to find out if I can post to only some (not all) pages manually (probably using shortcode), but automatically to all pages. I have been toying around with different settings within nrelate and it seems that if I have it set up automatically for posts, then selecting the pages will do the same thing. If I just place the shortcode, but do not enable pages in the layout settings, then nrelate does not appear. But, if I enable the pages in the layout settings, then nrelate appears on all my pages, not just the pages where I want it.

    I would like to enable nrelate on only some pages, but all posts. Is there a way to do this? If I have missed a resource, please feel free to point me in the right direction. I have a feeling I might need to do something with the conditional tags found here: http://codex.wordpress.org/Conditional_Tags. But, if so, I'm not sure where to add this?

    Thanks for your help.

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

  2. @walkerba2 -- Thanks for using nRelate on your site. You can select "Pages" in your Layout Settings for nRelate to appear on all pages. Then, you can remove nRelate from appearing on particular and pages manually: http://nrelate.com/theblog/2011/10/19/remove-nrelate-from-a-particular-post-or-page/

    - Katrina @ nRelate

  3. walkerba2
    Member
    Posted 1 year ago #

    Hi Katrina,

    Thanks for your help! I was able to add the code to the functions.php file to remove nrelate from specific pages. Thanks!

    Brittany

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.