Remove this from image-pages (3 posts)

  1. makta112
    Posted 4 years ago #


    I'm using a related posts plugin called "Yet Aanother Related Posts Plugin".

    The plugin does so that links to some related posts appear on a... blog post.

    But the links also appear on image-attachment pages, like this one: http://www.geimaku.com/20/05/2012/test-post-with-screenshots/newuploads_2012_0410_856b22a9bcd486e13681e541ffc47097_re6_captivate_0002/

    Can I do so that the links only appear on blog posts?

  2. Aaron
    Posted 4 years ago #

    If it is not one of the plugin options then the easiest way would probably to edit the plugin to add a conditional statement if the current page is a page/post then display it.

  3. makta112
    Posted 4 years ago #


    It's not in the options, unfortunately.

    Would you mind helping me some more? :) How do I add a conditional statement? And where?

Topic Closed

This topic has been closed to new replies.

About this Topic