WP-Cat2Calendar

WP-Cat2Calendar is a plugin which can organize posts into a calendar by category(/ies).

Author:Andrew Mihaylov (profile at wordpress.org)
WordPress version required:2.8.4
WordPress version tested:3.0.5
Plugin version:1.0.8
Added to WordPress repository:30-10-2009
Last updated:28-12-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.codeispoetry.ru/wp-cat2calendar
Total downloads:5 213
Active installs:30+
plugin download
Click to start download

WP-Cat2Calendar is a plugin which can organize posts into a calendar by category(/ies). It supports a shortcode so you can create a lot of calendars with different settings for different posts or pages on your blog. Every day in the calendar will list the posts published on that day for the selected categories.

Usage

Use WP-Cat2Calendar shortcode in your post/page to add a calendar.

You can add a calendar using the php lines:

$options = array(...);
global $wpCat2Calendar;
echo $wpCat2Calendar->display($options);

Options

  • cat_id – a comma separated list of category ID’s.
    1.0 – 1.0.1 – uncategorized by default.
    1.0.2 – all categories by default.
    You also can use a special keyword post_author which will be replaced with a post author ID where shortcode is placed.
    WordPress bug (still in 2.8.5) at wp-includes/query.php line 1979 in exclusion so you can exclude only one author, but you can include multiple.
  • author_id – a comma separated list of author ID’s. (all authors by default)
    since: 1.0.2
    You also can use a special keyword post_author which will be replaced with a post author ID where shortcode is placed.
    WordPress bug (still in 2.8.5) at wp-includes/query.php line 1979 in exclusion so you can exclude only one author, but you can include multiple.
  • year – year you want to display in calendar (current year by default)
  • month – month you want to display in calendar (current month by default)
  • show_nav – show/hide month/year navigation, 0 or 1 (0 by default)
  • show_date – show/hide selected month/year title, 0 or 1 (0 by default). Have no affect if navigation is shown.
  • allow_change_date – allow user to navigate through a calendar even if navigation is hidden and user has direct link. Has no affect if navigation is shown.

Examples

[WP-Cat2Calendar cat_id="3,4" show_nav="1" year="2009" month="10"]

It will show a calendar of posts for WordPress categories with ID 3 and 4 with navigation and the start date for a calendar will be October, 2009.

[WP-Cat2Calendar cat_id="1" show_nav="1"]

It will show a calendar of posts for WordPress category ID 1 with navigation and the start date for a calendar will be current date.

[WP-Cat2Calendar author_id="1, 2, 3" cat_id="-4,-5"]

It will show a calendar of posts posted by users with ID 1, 2, 3 for all WordPress categories excluding categories with ID 4 and 5.

[WP-Cat2Calendar author_id="-post_author"]

Show a calendar of posts posted by any user except a posts which belongs to the author of post where shortcode is placed.

[WP-Cat2Calendar author_id="post_author"]

Show a calendar of posts posted by the author of post where shortcode is placed.

See the WP-Cat2Calendar homepage for further information.


Screenshots
FAQ
ChangeLog