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

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • No, that’s not possible.

    soceuro

    (@soceuro)

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

    Plugin Author mitcho (Michael Yoshitaka Erlewine)

    (@mitchoyoshitaka)

    @soceuro, sorry, I don’t think I follow what you’re asking. 🙁

    soceuro

    (@soceuro)

    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 😉

    Plugin Author mitcho (Michael Yoshitaka Erlewine)

    (@mitchoyoshitaka)

    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.

    soceuro

    (@soceuro)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] use shortcode when no related post are found’ is closed to new replies.