Support » Plugin: Widget Logic » [Plugin: Widget Logic] Conditional Tags for a single post from a category?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am having a very similar issue. I was wondering if you could do this based on the URL slug of the post and use that to actually call which widget is used.

    Did you ever get this resolved?

    Plugin Contributor alanft

    (@alanft)

    Thanks Alanft. I am using that and it is working fine.

    I have another question for you that I will start another thread for.

    Thanks in advance!

    How to use include page and not include page.

    When you have the plug in installed whatever page you want to have that widget appear on simply put is_page(‘page-name’) in the widget logic field. That pulls that widget just for that one particular page. You can do the same thing for single posts using is_single(‘post-name’)

    If you want to use a widget for multiple pages you can do that by using separating the calls with two of the pipe symbols like this…

    is_page(‘page-name1’) || is_page(‘page-name2’) || is_page(‘page-name3’)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Widget Logic] Conditional Tags for a single post from a category?’ is closed to new replies.