WordPress.org

Ready to get started?Download WordPress

Forums

Widgets Reloaded
Feature Request - Archives (5 posts)

  1. vmodha
    Member
    Posted 2 years ago #

    I've got the most recent version of your Plugin, the 'Archive' widget reads:

    'An advanced widget that gives you total control over the output of your archives.'

    BUT it hasnt got an option on there to exclude archives by category. I've recently created an employee category and we don't want the recent posts list populated by all of the new employees.

    Would you consider adding an 'exclude from category' option in you 'Archive' functionality?

  2. toddneufeld
    Member
    Posted 2 years ago #

    I have a similar problem -- I want to display one category of the archives, but can't. I tried using Widget Logic and the "in_category()" parameter, but it didn't like that.

    Does anyone have a work-a-round?

  3. vmodha
    Member
    Posted 2 years ago #

    Maybe you could try using CSS to hide what you don't want to show? I don't fully understand what it is you're trying to do so it may not work.

    E.g.

    .widget ul.categories li
    {
    display:none;
    }
    
    .widget ul.categories li.cat-item-4
    {
    display:block;
    }

    Best of luck.

  4. intheshallow
    Member
    Posted 2 years ago #

    I would also like some acknowledgement of this possibly being added in?

  5. Justin Tadlock
    Member
    Plugin Author

    Posted 2 years ago #

    This will have to change in WordPress core for it to change in the plugin. The widget is a wrapper for the wp_get_archives() function, which does not currently allow you to specify the category.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic