Post Type Archive Pages
Post Type Archive Pages allows you to select pages from within your content page structure to be the archive pages for your custom post types. This gives you control of the permalink for your archive pages and allows…
Betrachten Sie eine Alternative
Post Type Archive Pages shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 7 years ago, and scores 33/100 on our health check.
- Kleine Benutzerbasis (über 200 aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 6 Jahren
- Nur getestet bis WordPress 5.3 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Post Type Archive Pages stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| archive pages | >100 |
| Post-Typen | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 5 from 1 reviews
About Post Type Archive Pages
Aus der offiziellen Readme · V1.0.4Beschreibung
Post Type Archive Pages allows you to select pages from within your content page structure to be the archive pages for your custom post types. This gives you control of the permalink for your archive pages and allows them to be nested under other pages. It also sets the permalink base for single posts of that post type and term archive for the post type’s taxonomies.
Once the plugin is installed and activated you’ll be able to select the archive page for each of your registered post types under Settings > Reading.
Templating
WordPress will look for archive page templates for the pages that you set as archive pages. So archive-$posttype.php and archive.php will be used rather than page.php.
There are also a few functions available that may be helpful in building themes. They are accessed on the plugin’s main instance, which is returned by a call to post_type_archive_pages().
get_archive_page
Returns the page object for the archive page of the provided post type slug. If called from a post type archive template, a singular template or a term archive and a slug isn’t provided, the relative post type will be used. e.g.
$page = post_type_archive_pages()->get_archive_page('book');
get_archive_page_post_type
Returns the post type object that the provided page ID is the archive page for. e.g.
$postType = post_type_archive_pages()->get_archive_page_post_type(5);
Menu – Enhancements
Archive pages added to the menu will be marked as the current menu item when viewing the post type archive and the current menu item’s parent / ancestor when viewing a post of that type. The related CSS classes will also be applied.
Advanced Custom Fields – Enhancements
This plugin is particularly effective when paired with Advanced Custom Fields. It registers additional page type location rules allowing you to add fields to all archive pages or the archive page for a particular post type. So if your listing page requires content like a description or header image you can place fields for those on the archive page itself.
To access fields like these in your archive template you need only call
$desc = get_field( 'description', post_type_archive_pages()->get_archive_page() );
Developer Hooks
The plugin attempts to set defaults that should work best for most scenarios. But there are some places to hook in and alter these defaults where needed.
Filter – post_type_archive_pages/supported_post_types
By default you will be able to set an archive page for any public post type other than the built in post types of page and post. This hook allows you to filter the default array of supported post types to add or remove. The array should contain slugs of valid post types. Please note that the array keys are not important in it’s use, but contain the slugs to allow you to easily unset values.
add_filter( 'post_type_archive_pages/supported_post_types', function( $post_types ){
unset( $post_types['book'] );
return $post_types;
} );
Filter – post_type_archive_pages/taxonomy_post_type
By default taxonomy term archives will inherit the archive page permalink structure of a post type if that post type is the only one that the taxonomy is registered on. For instance if you had a publisher taxonomy the permalink for a term archive might become /books/publisher/penguin. With /books being the permlaink of the archive page, publisher the taxonomy slug and penguin the term slug. This filter allows you to alter the post type who’s archive page permalink structure will be inherited for a given taxonomy.
add_filter( 'post_type_archive_pages/taxonomy_post_type', function( $post_type, $taxonomy ){
if ( $taxonomy === 'publisher' ) return null;
return $post_type;
}, 10, 2 );
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Post Type Archive Pages alternatives
All archive pages plugins →| Rang | Plugin | Aktive Installationen |
|---|---|---|
| 2 |
|
10+ |
| 3 |
|
10+ |
Fragen und Antworten
Post Type Archive Pages: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Post Type Archive Pages free?
Yes. Post Type Archive Pages is free to download and use from the official WordPress.org plugin directory.
Is Post Type Archive Pages safe to use in 2026?
Post Type Archive Pages shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 7 years ago, and scores 33/100 on our health check.
How many websites use Post Type Archive Pages?
Post Type Archive Pages is active on 200+ WordPress websites and has been downloaded 8,014 times since it launched in December 2019. It was downloaded 278 times in the last 30 days.
Does Post Type Archive Pages work with WordPress 7.1?
Post Type Archive Pages is officially tested up to WordPress 5.3.28, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Post Type Archive Pages need?
Post Type Archive Pages requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Post Type Archive Pages last updated?
The latest version, 1.0.4, was released on January 30, 2020 (7 years ago).
Who makes Post Type Archive Pages?
Post Type Archive Pages is developed and maintained by Darren Grant.
What are the best alternatives to Post Type Archive Pages?
The most popular alternatives to Post Type Archive Pages are Multiple Content Types (10+ installs) and Archive Pages in Search Lite (10+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte




