Support » Plugin: Widget Logic » [Plugin: Widget Logic] Single Page Logic Not Working

Viewing 5 replies - 1 through 5 (of 5 total)
  • Also I’m using Special Recent Posts Free Edition and AVH Extended Categories.

    Special Recent Posts works on all pages (seems correct)

    But AVH Extended does not show up on the individual category pages just the All Category Page.

    http://rubyhaus.com/category/inspiration/

    once you chose an article you’ll see the categories on right sidebar disappear.

    But then if you click on an actual category name now you’re under a new URL and no Sidebar Widgets show up at all.

    http://rubyhaus.com/category/mobile-app-design/

    I guess really the issue is… can you do multiple Categories suchas:

    is_category(‘6,7,14’) || (is_single() && in_category(‘6,7,14’))

    doesn’t seem easy to allow this. Just disappears when I try to.

    Ok so I resolved when you’re on “New” category page where it shows on that categories posts using:

    is_category( array( '6', '7', '14' ) ) || (is_single( array( '6', '7', '14' ) ) && is_category( array( '6', '7', '14' ) ) )

    But still NO single page widgets are visible.

    I thought is_single would be the answer but not likely so it seems.

    oops here is the correct code.

    is_category( array( '6', '7', '14' ) ) || (is_single( array( '6', '7', '14' ) ) && in_category( array( '6', '7', '14' ) ) )

    Plugin Contributor alanft

    (@alanft)

    try without the parameters for is_single…

    is_category( array( '6', '7', '14' ) ) || (is_single() && in_category( array( '6', '7', '14' ) ) )

    is_single can be given an array as paremeters, but…
    http://codex.wordpress.org/Conditional_Tags#A_Single_Post_Page

    it’s to match the ID of the post

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Widget Logic] Single Page Logic Not Working’ is closed to new replies.