WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

Custom Post Archives

Custom Post Archives creates a fully featured set of archives for each post type using a robust back-end and native templating functionality.

Functions and Filters

The following function and filters are created by this plug-in. For more detailed descriptions, check the Help section built into the settings page.

Functions

is_custom_archive({$post_type = false});
get_custom_archive_url($post_type);
get_custom_archive_label({$post_type = false});
get_custom_archive_link($post_type);

The following functions are for advanced users. Each overrides the settings for the corresponding post_type in the plugin settings.

add_custom_archive($post_type,$slug,{$in_default = false,$in_rss = false});
remove_custom_archive($post_type);
add_to_default_archive($post_type);
remove_from_default_archive($post_type);
reset_custom_archive_to_default($post_type);

Filters

cpa_rewrite_label

Allows you to format the label returned by get_custom_archive_label().

cpa_templates

Allows you to provide or alter the list of templates Custom Post Archives searches for.

Requires: 3.0 or higher
Compatible up to: 3.1.4
Last Updated: 2010-12-1
Downloads: 5,760

Ratings

3 stars
3.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
80,5,4
100,1,1 100,1,1
100,1,1
100,2,2
100,1,1