WordPress.org

Ready to get started?Download WordPress

Forums

Conditional Widgets
Can we hide widgets in taxonomy pages? (8 posts)

  1. ronrrico
    Member
    Posted 1 year ago #

    Hi, fantastic plug-in!

    I have special sidebars that I display per category that I are relevant to taxonomies pages

    Can we hide widgets in taxonomy pages?

    Thanks,
    Ronnie

    http://wordpress.org/extend/plugins/conditional-widgets/

  2. ronrrico
    Member
    Posted 1 year ago #

    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

  3. ronrrico
    Member
    Posted 1 year ago #

    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

  4. ronrrico
    Member
    Posted 1 year ago #

    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

  5. Jason Lemahieu (MadtownLems)
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. ronrrico
    Member
    Posted 1 year ago #

    Thanks for the reply Lems,

    Mission accomplished! + display by url added.

    Regards,
    Ronnie

  7. aous77
    Member
    Posted 1 year ago #

    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.

  8. Jason Lemahieu (MadtownLems)
    Member
    Plugin Author

    Posted 1 year ago #

    "If that doesn't fit your needs, then I'd suggest using Widget Logic"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.