Advanced Custom Fields : CPT Options Pages
Small addon for ACF Options. Adds ACF location for each custom post type.
Envisager une alternative
Advanced Custom Fields shows warning signs in 2026 — compare the alternatives below before installing. It runs on 2K+ sites, is rated 5/5 and was last updated 4 years ago, and scores 29/100 on our health check.
- Momentum — downloads up 43.5% vs the previous 30 days
- Pas de mise à jour dans 3 ans
- Uniquement testé jusqu'à WordPress 6,2 (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 supportTéléchargements quotidiens
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 Advanced Custom Fields stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| acf options | >100 |
| Champs personnalisés avancés | >100 |
| archiver | >100 |
| Type de poste personnalisé | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 7 avis
About Advanced Custom Fields
From the official readme · v2.0.9Description
Small addon for ACF Options. Adds ACF location for each custom post type.
New feature in the major version 2!
Important!
After update to v2+ you must reconnect Field Groups to Options Pages
Now you can activate/deactivate CPTs and create custom options pages for each CPT.
By default, options pages are activated for all custom post types.
Usage
The default functions of ACF plugin (get_field, the_field, etc.) can be used to load values from a CPT Options Pages, but second parameter is required to target the CPT options.
This is similar to passing through a $post_id parameter to target a specific post object.
The $post_id parameter needed is a string containing the cpt_ and CPT name in the following format; "cpt_{CPT_NAME}" and for subpages you can copy generated ID while creating subpages.
Exemples
In examples Custom Post Type name is
projects.
So, let’s go!
Display a field
<p><?php the_field('field_name', 'cpt_projects'); ?></p>
and the subpage’s field
<p><?php the_field('field_name', 'cpt_projects_testpage'); ?></p>
Retrieve a field
<?php
$field = get_field('field_name', 'cpt_projects');
// do something with $field
?>
Display a sub field
<?php if( have_rows('repeater_name', 'cpt_projects') ): ?>
<ul>
<?php while( have_rows('repeater_name', 'cpt_projects') ): the_row(); ?>
<li><?php the_sub_field('the_title'); ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
Display with shortcode
[acf field="field_name" post_id="cpt_projects"]
Please read documentation about shortcodes with ACF
Customization
function cpt_projects_customize($cptmenu) {
$cptmenu['page_title'] = 'Dev Custom title';
$cptmenu['menu_title'] = 'Dev Custom title';
return $cptmenu;
}
add_filter('cpt_projects_acf_page_args', 'cpt_projects_customize');
Don’t forget to replace cpt_projects_ to your custom post type name 🙂
It works only for first level options pages, not for subpages.
Donner
Licence
Copyright (c) 2023, Tusko Trush
Obligations
You must buy ACF PRO or ACF Options Page Addon.
Traduction
qTranslate-XT
This plugin is compatible and has included ACF qTranslate.
Just enjoy!
qTranslate-X
If you are using Qtranslate-X, you must install ACF qTranslate.
WPML/Polylang
If you are using WPML or Polylang, you must add constant ICL_LANGUAGE_CODE to post_id,
for example: get_field('archive_title', 'cpt_projects_' . ICL_LANGUAGE_CODE).
Installation
- Upload ‘acf-cpt-options-pages’ to the
/wp-content/plugins/directory. - Activate the plugin through the
Pluginsmenu in WordPress. - Go to
Custom fieldssubmenuCPT Options pageand activate CPTs what you need or create subpages for that. - Create your Custom Field Group, set location rule
Options Pageand choose your CPT options page or subpage. - Read the documentation to display your data.
Journal de modifications
Update documentation. Change labels and slugs.
2.0.9
- Tested up with WP 6.2 and ACF Pro 6.1.3
2.0.8
- Tested up with WP 5.8.1 and ACF Pro 5.10.2
- Fix lang switcher and Wysiwyg Editor capability on ACF CPT Options pages
- Modified page slug ‘-options’ -> ‘acfcpt-options’ to make qTranslate config regex
2.0.7
- Tested up 5.7.2
- @Ekeler PR: Update class.acf-cpt-options-pages.php
2.0.6
- Tested up 5.7.1
- Added apply_filters cpt_options_post_types_params
2.0.5
- Tested up 5.3.2
- Fix donate links
2.0.4
- Tested up 5.2.1
- Assets updated
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.
Best Advanced Custom Fields alternatives
All acf options plugins →| Rang | Plugin | Installations actives |
|---|---|---|
| 2 |
|
60+ |
FAQ
Advanced Custom Fields: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Advanced Custom Fields free?
Yes. Advanced Custom Fields is free to download and use from the official WordPress.org plugin directory.
Is Advanced Custom Fields safe to use in 2026?
Advanced Custom Fields shows warning signs in 2026 — compare the alternatives below before installing. It runs on 2K+ sites, is rated 5/5 and was last updated 4 years ago, and scores 29/100 on our health check.
How many websites use Advanced Custom Fields?
Advanced Custom Fields is active on 2K+ WordPress websites and has been downloaded 67,083 times since it launched in July 2016. It was downloaded 742 times in the last 30 days.
Does Advanced Custom Fields work with WordPress 7.1?
Advanced Custom Fields is officially tested up to WordPress 6.2.16, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Advanced Custom Fields last updated?
The latest version, 2.0.9, was released on April 8, 2023 (4 years ago).
Who makes Advanced Custom Fields?
Advanced Custom Fields is developed and maintained by Tusko Trush.
What are the best alternatives to Advanced Custom Fields?
The most popular alternatives to Advanced Custom Fields are Tr Options Migrator for ACF… (60+ 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

