🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Post Type Archive Pages icon
Peut-être abandonné Tested up to 5.3.28 #1 in archive pages

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…

Installations actives200+100+ niveaux
Téléchargements · 30D277▲ +11.7% vs prev. 30d
Évaluation5/51 avis
Score de santé33/100En danger
Téléchargements de tous les temps8KDepuis décembre 2019
Support résolu—Aucun fil de discussion récent
A besoin deWP 5.0PHP 5.6+
Téléchargements · 7j65▲ +1.6% week over week
Notre verdict

Envisager une 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.

  • Petite base d'utilisateurs (plus de 200 installations actives)
  • Très peu de critiques jusqu'à présent
  • Pas de mise à jour dans 6 ans
  • Uniquement testé jusqu'à WordPress 5,3 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

4913Sep 5Oct 19Dec 3
Hier9
Moyenne quotidienne (1 ans)6
Jour de pointe24Jan 26, 2026
12 Derniers mois2.2K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Post Type Archive Pages stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
archive pages >100 6,116 Best archive pages plugins →
post types >100 10,000 Best post types plugins →

Adoption de version

Part de sites actifs par version.

  • 1.0100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 1 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Post Type Archive Pages

À partir du Lisezmoi officiel · v1.0.4

Description

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() );

Crochets de développeur

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 );

Captures d'écran

Archive pages can be selected under the reading settings.
Archive pages can be selected under the reading settings.
Archive pages are denoted on the pages table view.
Archive pages are denoted on the pages table view.
Why paired with ACF you can add field groups to archive pages.
Why paired with ACF you can add field groups to archive pages.
Archive page with an ACF field group.
Archive page with an ACF field group.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Post Type Archive Pages alternatives

All archive pages plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
2 Multiple Content Types Multiple Content Types Easily select which content types (custom post types) you want to display on your main blog… par Micah Wood 10+ ★★★★★★★★★★ 5 (2) Il ya 10 ans 30
3 Archive Pages in Search Lite Archive Pages in Search Lite Displays archive pages for categories, tag, author, custom post types, custom taxonomies… by mkhaledche 10+ ★★★★★★★★★★ 5 (1) Il y a 5 ans 30

FAQ

Post Type Archive Pages: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : 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 277 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).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir