Ad Inserter
94Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
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 …
Advanced Custom Fields: CPT Options Pages is a WordPress plugin that serves as a small addon for the ACF Options feature. It allows you to add ACF locations for each custom post type, enabling the creation of custom options pages specific to those post types.
With this plugin, you can activate or deactivate custom post types and create tailored options pages for each. The plugin uses standard ACF functions to load values from these options pages, requiring a specific parameter format to target the custom post types effectively.
Best for: This plugin is suitable for developers or site owners who use Advanced Custom Fields and need to manage options for multiple custom post types.
What it does well
Where it falls short
Advanced Custom Fields: CPT Options Pages is a straightforward tool for enhancing ACF functionality with custom post types. It is useful for those familiar with ACF who need to create specific options pages.
Tusko Trush's own description of Advanced Custom Fields, lightly tidied.
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.
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.
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
?>
Other plugins for custom content structures.
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...
Checkout Field Editor (Checkout Manager) for WooCommerce – The best WooCommerce checkout manager plugin to man...
Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...
The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.
Admin UI for creating custom content types like post types and taxonomies