weekly archive for custom category

<?php $args = array(
    'cat'             => '2',
); ?>

<?php wp_get_archives($args);  ?>

I pull out the custom category with the above codes, it works fine & shows up “February 2013”.
here, My question is can I display it in “weekly”.

I put (type = weekly) in $args, but it displays weekly posts archive, not the category.

Read More

My question is almost same as this question. It seems the questioner didn’t get a clear answer yet.
I’m also looking for the answer..

Related posts

Leave a Reply

1 comment

  1. I read the readme.txt file of Archives for a category WordPress plugin.

    The plugin author has stated following limitation on it.

    Limitations

    This plugin does not work for weekly archives. The list with archive links is correct, but the
    links themselves do not include the category. So when used, WordPress will not filter the resulting
    page on the category.
    The technical reason is that WordPress does not apply filters when the links for weekly archives
    are generated, so the plugin can’t change them. Perhaps this is fixed in a next version of
    WordPress.

    I checked latest version of wordpress(3.5.1) to find out whether this version has added any filter for weekly url but it has not added yet 🙁

    I think you will have to develop custom code and sql query to implement this functionality and should not depend on Archives for a category WordPress plugin and wp_get_archives function to implement this functionality.