C
by Rolands Atvars
5 (1 reviews)
Custom Post Type Archives
Enables custom post type archives that will support both paging and feeds. All fully customizable.
Tested up to WP 3.2 (Current: 6.9)
v1.5.1
Current Version v1.5.1
Updated 14 years ago
Last Update on 08 Aug, 2011
Synced 16 hours ago
Last Synced on
Rank
#11,898
—
No change
Active Installs
200+
-28.8%
KW Avg Position
N/A
—
No change
Downloads
22.9K
+2 today
Support Resolved
0%
—
No change
Rating
100%
Review 5 out of 5
5
(1 reviews)
Next Milestone 300
200+
300+
399
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 22 more installs to reach 300+
Rank Changes
Current
#11,898
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
5.0
1 reviews
Overall
100%
5
1
(100%)
4
0
(0%)
3
0
(0%)
2
0
(0%)
1
0
(0%)
Tracked Keywords
Showing 0 of 0| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| No keyword data available yet. | ||||
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.5.1
- Last Updated
- Aug 08, 2011
- Requires WP
- 3.0+
- Tested Up To
- 3.2
- PHP Version
- N/A
- Author
- Rolands Atvars
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 5
- Reviews
- 1
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowFrequently Asked Questions
Common questions about Custom Post Type Archives
You should go to 'Permalinks' submenu under 'Settings' menu in WordPress admin backend after you update 'URL base' or 'Enabled Custom Post Type Archives' options. This will force WordPress to flush the old rewrite rules and re-generate the new ones that will have the stuff plugin needs in them.
The prefix for URLs that will lead to your post type archives. If you want to access your post types from URL 'http://example.com/{POST_TYPE}' then leave this option blank. If you want to have an URL 'http://example.com/post-type/{POST_TYPE}' then you would put 'post-type' as this options value. And if you want 'http://example.com/some/long/link/to/post/type/{POST_TYPE}' then you would put 'some/long/link/to/post/type' as options value.
This might be a bit hard to understand. If you don't know what it is, then leaving it enabled, probably, is the best option. By default the rewrite slug will be the same as post type name, but you can change it if you like. Please look at these examples: register_post_type('photo', array( /* other options */ )); // will have a rewrite slug 'photo' register_post_type('photo', array( /* other options */ 'rewrite' => array('slug' => 'awesome-photo') )); // will have a rewrite slug 'awesome-photo' If you never specify a custom rewrite slug, then I would suggest disabling this option because it will work just fine, because the post type name will be the same as the rewrite slug. Although, if you specify custom rewrite slugs, then enabling this option is what you want, otherwise the URLs will have the post type name in them not post type rewrite slug. I made this choise, because I think (note the 'I think' - I havent tested it...yet), that disabling this option will make the code a bit faster.
You put the title you want to appear in post type archive in here. You can use several variables in this option: {POST_TYPE_NAME} - replaces with current post type name (in plural) {POST_TYPE_SINGULAR_NAME} - replaces with current post type name (singular) {SEP} - replaces with seperator (which is specified in wp_title function) {SEP_LEFT_SPACE} - replaces with seperator prefixed with space {SEP_RIGHT_SPACE} - replaces with seperator suffixed with space {SEP_SPACED} - replaces with seperator wrapped in spaces I have so many space variables because WordPress trims variables before saving. Anyway - if you have a post type with name 'Photo', a seperator '»' and 'Title' options value '{POST_TYPE_NAME} {SEP}', then title on 'Photo' post type archive would be 'Photos »'. If you leave this option blank, then title won't be changed (it will probably be blank). It's also worth noting that the same variables will be available for the custom - per custom post type - 'Title' options as well. If they are left blank then it will fall back to global 'Title' option.
The template name that will be used to render post type archives. You can use a {POST_TYPE} variable in this name and that will be replaced with current post type. So if this option has a value 'post-type-{POST_TYPE}.php' and you are in 'photo' post type archive, then 'post-type-post.php' template will be used. Templates should live in the root of your theme directory. If you leave this field blank then it will default to '{POST_TYPE}.php'.
Name of the template that will be used if the template that's stored in 'Template Pattern' option won't exist. So if you have 'Template Pattern' option value of '{POST_TYPE}.php', 'Fallback Template' option value of 'fallback.php' and you are in a post type archive for post type 'photo', but 'photo.php' doesn't exist then 'fallback.php' will be used. Template should live in the root of your theme directory. If you leave this field blank, then it defaults to 'index.php'.
That's because the 'automatic-feed-links' support is enabled for your theme. Don't worry - the feed links will be included automatically!
You can only see this option if 'Use Rewrite Slug' option is enabled.
Sadly you can't do it from backend. But! You can do it using the 'pta_add_feed_link' filter! Just return false in it and thats it! Here's an example (put this in themes functions.php file): function disable_pta_feed_links($add_feed_links) { return false; } add_filter('pta_add_feed_link', 'disable_pta_feed_links');
Just put '/feed/' at the end of your post type archive URL. That's how WordPress will know that you want an RSS feed of that. (it will also support all the other feed types as well, like atom and rdf)