Support » Plugin: Related Posts by Categories and Tags » How to not any posts if no matching tags

  • Hi!
    Thanks for a great plugin.

    The related posts are working exclusively off the tags and that is great! However, if a post doesn’t have a tag it shows other related posts.

    How can I stop it from showing related posts if there is no matching tagged post found?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ajay

    (@ajay)

    I will need to look into this. I’m not sure how exactly you prevent it at this stage.

    If it helps, I used this work around:

    <?php 
        if ( has_tag() ) {
            if ( function_exists( 'echo_crp' ) ) { echo_crp(); } 
        }
    ?>
    Plugin Author Ajay

    (@ajay)

    Thanks. Let me see what I can do with that. Need to dig more into the tags and what comes out of them

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.