Support » Plugin: Conditional Widgets » [Plugin: Conditional Widgets] Can we hide widgets in taxonomy pages?

Viewing 7 replies - 1 through 7 (of 7 total)
  • ronrrico

    (@ronrrico)

    Ok, managed to hide my sidebar widgets in taxonomy pages with the following code.

    <?php if (term_exists($term, $taxonomy)) { ?>
    <?php }else{ ?>
    <?php dynamic_sidebar(‘your slidebar name’);?>
    <?php } ?>

    This solves my problem but, it would be nice to apply this option to this already fantastic widget.

    Ronnie

    ronrrico

    (@ronrrico)

    Hi, this is a follow up,
    I found my self that i do need the a show/hide with a list of taxonomies.

    The solution I posted in my last post did hide sidebar widgets from my taxonomy pages.

    Now,
    I have an additional sidebar that I want to display widgets per taxonomy.

    MadtownLems,
    I’m willing to contribute a with a donation for your time to get this done… 🙂

    Let me know….
    Ronnie ronrrico at aol.com

    ronrrico

    (@ronrrico)

    Hello again MadtownLems,
    I need the features I mention above with your plug-in to continue my development.
    Please let me know if this is something you can do for me, I will compensate you for your time.

    Thanks,
    Ronnie

    You can choose to hide widgets from all tag archives pages with the appropriately labeled checkbox. If that doesn’t fit your needs, then I’d suggest using Widget Logic, since you’re obviously comfortable with PHP already.

    Thanks for the reply Lems,

    Mission accomplished! + display by url added.

    Regards,
    Ronnie

    sorry to reopen this. but what was the solution for custom taxonomy?
    can you we hide/display the widgets on a custom tax posts page?

    right now it does not hide anything.

    Plugin Author Jason Lemahieu (MadtownLems)

    (@madtownlems)

    “If that doesn’t fit your needs, then I’d suggest using Widget Logic”

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Conditional Widgets] Can we hide widgets in taxonomy pages?’ is closed to new replies.