WordPress.org

Support

Support » Plugins and Hacks » Yet Another Related Posts Plugin (YARPP) » [Resolved] [Plugin: Yet Another Related Posts Plugin] Hiding YARPP widget without content

[Resolved] [Plugin: Yet Another Related Posts Plugin] Hiding YARPP widget without content

Viewing 3 replies - 1 through 3 (of 3 total)
  • There isn’t a straightforward way, though you could make the “No related posts” message blank in YARPP options. You can also create a custom YARPP template to display absolutely nothing in this case. More info here:

    http://mitcho.com/blog/projects/yarpp-3-templates/

    Yes, I already have my own custom template and after the “else” statement there is indeed nothing. But the widget itself—i.e. the space it takes up and the styling that is applied—is still there.

    I noticed that in the default tag and category widgets have a ‘hide_empty’ option. I was hoping that widget logic would allow me to use it but I haven’t found out how.

    Thanks anyway.

    I see. Unfortunately with the widget there’s no way to hide everything in that way. Perhaps you can adjust this with some CSS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Yet Another Related Posts Plugin] Hiding YARPP widget without content’ is closed to new replies.
Skip to toolbar