Support » Plugin: Shortcode Widget » Sidebar Query

  • Resolved dogwomble


    Hi there,

    Hopefully this is a fairly straightforward query.

    I am using this plugin to output a shortode that displays some custom fields. On a blog post page, this works well. However, on an archive page, this means that nothing gets outputted by the shortcode, because there are no custom fields to output. This means I get a widget area with just a title.

    Is it possible for this plugin to detect when no output is generated, and automatically hide the widget when no output is detected?

Viewing 1 replies (of 1 total)
  • Plugin Author Gagan Deep Singh



    By default the plugin does not support that, but you can do one thing, if you have Jetpack plugin installed, just enable Widget Visibility feature(if not enabled) and then you can simply hide the widget from archive pages. Here’s a screencast I created doing exactly that

    Hope it helps

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar Query’ is closed to new replies.