WordPress.org

Support

Support » Plugins and Hacks » nrelate Related Content » How do I hide nRelate on subcategory?

How do I hide nRelate on subcategory?

Viewing 4 replies - 1 through 4 (of 4 total)
  • To be clear, I have a category template set up for this subcategory. Is there a template tag I can use?

    Plugin Author Steve Bruner

    @sbruner

    You can use this template tag:
    <?php if (function_exists('nrelate_related')) nrelate_related(); ?>

    For instructions are here:
    http://wordpress.org/extend/plugins/nrelate-related-content/installation/

    @sbruner,

    Thanks for the reply. I’ve added the template tag to my singles template and unchecked “Single Posts” under layout settings. nRelate now does not show up on any single posts. I tried re-indexing, but two hours later, it still does not show up.

    If I DO check “Single Posts,” it shows up on all single posts.

    I’m using nRelate 0.47.1 by the way.

    http://www.parkcitiespeople.com

    Plugin Author Steve Bruner

    @sbruner

    I’m not sure I fully understand, but to manually place the nrelate content:
    1) uncheck both Auto Layout options
    2) check where you want related to show up (ie single, archives, etc)
    3) manually place the code in the proper template file.

    That should work.

    (FYI: we know this isn’t the most intuitive and we’re working on a fix)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I hide nRelate on subcategory?’ is closed to new replies.
Skip to toolbar