WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WordPress Category Archive] Good, but with downsides (6 posts)

  1. mikedev
    Member
    Posted 4 years ago #

    Very useful plugin, but could be modified to conform with standard widgets. Is missing the "Show post counts" option in the standard Archives widget, and post counts should not be included within the href.

    Also, the list should be displayed within the standard unordered list (ul li) format so that it can be styled like a standard widget.

    http://wordpress.org/extend/plugins/wp-category-archive/

  2. hookjd
    Member
    Posted 4 years ago #

    This plugin also links to urls that won't work if you have permalinks on. If it can be altered to work with an existing permalink structure it would be great.

  3. Hugh Mandeville
    Member
    Posted 4 years ago #

    Thanks for the feedback. I added the "show post counts" option to the widget (v1.2) and have the count displayed outside the href. I also made the list display as an unordered list (ul li).

    I am not sure exactly what to do about permalinks. The current links (?m=%year%%monthnun%&cat=%category%) work for me with permalinks turned on.

    I think in order to have the category month URL in the permalink format, the permalink would have to have a custom structure with the category, year and month in it (e.g. /%category%/%year%/%monthnum%/%post_id%/), otherwise I am not sure what the URL is that shows posts for a particular category and month (other than ?m=%year%%monthnun%&cat=%category%).

    For example with the permalink structure /%year%/%monthnum%/%day%/%postname%/ what is the URL to see posts for a particular category and month, since %category% isn't part of the structure?

    WordPress has functions for getting the permalink for a month (get_month_link) or a category (get_category_link), but nothing for both (get_category_month_link?).

  4. skiddie95
    Member
    Posted 4 years ago #

    Does not work for me at all. Installs, but breaks wp-admin/widgets.php. When attempting to drag/drop it to my sidebar, I get a JavaScript error. Shame, I'd really prefer to have an Archive Widget that supports yearly, rather than monthly.

  5. cfibanez
    Member
    Posted 4 years ago #

    I use WP2.9.2 and Atahualpa theme. The plugin successfully displays a monthly archive of posts in a single category. BUT, when one clicks on a particular month, ALL posts in that category are displayed, regardless of date. Please help!

  6. cfibanez
    Member
    Posted 4 years ago #

    I now got it to work with the permalink structure /%category%/%year%/%monthnum%/%post_id%/

Topic Closed

This topic has been closed to new replies.

About this Topic