New Feature: Earn 12 Badges

Bild

Collect up to 12 exclusive badges by sharing your plugin collections and engaging with the community.

See all Badges
Custom Post Archives
Custom Post Archives

by Jacob Dunn

Description

Custom Post Archives bridges the gap between creating Custom Post Types in WordPress 3, and actually displaying those posts. With this plugin, you have
the option of displaying a completely seperate blog-like section for each post type, complete with all the features you expect to see with WordPress.

For each custom post type, if you click “active” and enter a slug-name, this plugin will let you display post-type specific:

  • Archives
  • Date archives
  • Author archives
  • Category archives
  • RSS Feeds

This plug-in also provides many additional features to fully integrate your custom post types, including:

  • Adds a menu option to the new menu section created in WordPress 3 (for themes that support it)
  • Combined archives (http://www.mysite.com/type1+type2/)
  • Option to add post types to default blog
  • Option to add post types to default RSS feed
  • Adds post type support to wp_get_archives function
  • Adds multiple global functions and filters for working with custom post types (see Functions and Filters or Plugin Help for details)
  • Automatically displays the associated post type on custom taxonomy archives
  • Extends upon the WordPress templating, allowing for flexibility by theme authors (see FAQ or Plugin Help for details)
  • Automatically flushes the rewrite cache after modifications are detected
  • Automatically adds a “blog-{post_type}” type class to the body of the created archives (for themes that implement body_class())

For help and support, help has been built into the plug-in page’s contextual help section; be sure to check the FAQ and the plug-in forums if that doesn’t do it.

If there are any other features you’d like to see, I’m all ears. Feel free to send a message, or hit the forums!

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.

All texts and images on this product page are protected by copyright and are the property of the author Jacob Dunn. You will be redirected to the retailer to download the plugin. We act solely as a search engine for plugins and are not affiliated with the retailer or Jacob Dunn.

Tags

Free Plugin

0 Reviews
Last Update
14 years ago
Installations
40

Sponsored Plugin

All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. The WordPress® trademark is the intellectual property of the WordPress Foundation

Collections

SEO Plugins

  • 6 Plugins
  • 6 Views
Yoast SEO
All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
Rank Math SEO – AI SEO Tools to Dominate SEO Rankings
WP Fastest Cache

Page Builder

  • 1 Plugin
  • 13 Views
Page Builder: Pagelayer – Drag and Drop website builder

payment methodes per

  • 1 Plugin
  • 6 Views
Payment Gateway Based Fees and Discounts for WooCommerce

SEO

  • 1 Plugin
  • 8 Views
Yoast SEO

Wordpress

  • 13 Plugins
  • 8 Views
Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)
Forminator Forms – Contact Form, Payment Form & Custom Form Builder
Yoast SEO
Site Kit by Google – Analytics, Search Console, AdSense, Speed

slider

  • 1 Plugin
  • 5 Views
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

Yeer

  • 1 Plugin
  • 6 Views
Autoptimize

Optimisation Plugins

  • 1 Plugin
  • 14 Views
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP | Image CDN

Best Speed Plugins

  • 4 Plugins
  • 6 Views
LiteSpeed Cache
WP Fastest Cache
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
10Web Booster – Website speed optimization, Cache & Page Speed optimizer

Must-Have Plugins

  • 9 Plugins
  • 135 Views
Elementor Website Builder – More than Just a Page Builder
Yoast SEO
All-in-One WP Migration and Backup
Wordfence Security – Firewall, Malware Scan, and Login Security

Best Security Plugins

  • 3 Plugins
  • 6 Views
Jetpack – WP Security, Backup, Speed, & Growth
Wordfence Security – Firewall, Malware Scan, and Login Security
Solid Security – Password, Two Factor Authentication, and Brute Force Protection

Best Member Plugins

  • 5 Plugins
  • 6 Views
Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions
Ultimate Membership Pro - WordPress Membership Plugin
Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress

Best Recruitment Website Plugins

  • 3 Plugins
  • 7 Views
WP Job Openings – Job Listing, Career Page and Recruitment Plugin
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP | Image CDN
WP Job Manager

Cookie Plugins

  • 3 Plugins
  • 16 Views
CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)
Autoptimize
Complianz – GDPR/CCPA Cookie Consent

Donation Plugins

  • 2 Plugins
  • 25 Views
Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More
GiveWP – Donation Plugin and Fundraising Platform