WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mrgorefest
    Member
    Posted 3 years ago #

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    No, that's not possible.

  3. soceuro
    Member
    Posted 3 years ago #

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

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

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

  5. soceuro
    Member
    Posted 3 years 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. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    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 3 years 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