WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Tusko Trush v2.0.9

Advanced Custom Fields

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

The facts

Rating
5★ from 7
Active installs
2k+
Price
Free
Last updated
8 Apr 2023
Added
Jul 2016
Requires WP
3.0
Tested up to
WP 6.2.11
Downloads
65,371

Our analysis

AI-assisted

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

  • Free to use from the WordPress.org directory
  • Adds ACF location for each custom post type
  • Allows creation of custom options pages for each CPT
  • Compatible with the latest WordPress version (6.2.11)
  • Has a good user rating (5 out of 5 from 7 ratings)

Where it falls short

  • Requires reconnection of Field Groups to Options Pages after updating to version 2+
  • Limited information on additional features or support

Verdict

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.

From the developer

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.

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.

Examples

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
?>

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for custom content structures.

Ad Inserter

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...

Free 300k+ installs 4.9★ (2,428)
Advanced Custom Fields

ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...

Free 2M+ installs 4.5★ (1,438)
Simple Custom Post Order

Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...

Free 300k+ installs 4.8★ (569)
WP Activity Log

The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.

Free 300k+ installs 4.7★ (488)
Custom Post Type UI

Admin UI for creating custom content types like post types and taxonomies

Free 1M+ installs 4.6★ (276)