Forums

Yet Another Related Posts Plugin
use shortcode when no related post are found (7 posts)

  1. mrgorefest
    Member
    Posted 1 year ago #

    is it possible?
    i've tried but it doesn't work because it shows just the shortcode I used (e.g. [shortcodefordoingcoolstuffs])

  2. No, that's not possible.

  3. soceuro
    Member
    Posted 1 year ago #

    It's possible to put a sortcode on posts to display Related Posts were i wont?

  4. @soceuro, sorry, I don't think I follow what you're asking. :(

  5. soceuro
    Member
    Posted 1 year ago #

    i have some posts where i wont use the plugin and others posts i dont wont to use. So on the posts were i wont to use it is possible to put a sortcode like [yarp] and in this posts appear the related posts.

    Sorry for my English ;)

  6. I see. That's something you could do with some custom code within your theme's template files. You can check for certain text in the post content, or a particular custom field, and then call or not call related_posts() as appropriate.

  7. soceuro
    Member
    Posted 1 year ago #

    I apologize, but do not know anything about programming, can you explain me how to do it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic