
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 ?> 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
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.
Copyright (c) 2023, Tusko Trush
You must buy ACF PRO or ACF Options Page Addon.
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).
Starting from $0 per month.
Rating
Reviewers
7 reviews
Tags
Developed By
Tusko Trush
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Display ratings from multiple platforms in a reviews trust box that builds credibility, social proof, and boosts conversions.
Showcase content with a creative card carousel that rotates banner style items to highlight offers and important messages.
Use a pricing slider to show dynamic prices by quantity, help visitors compare options, and support confident purchases.
Create immersive 360 virtual tours with interactive hotspots that let visitors explore spaces, view details clearly, and experience panoramic environments seamlessly.
Create interactive quizzes with a quiz maker that lets you build custom questions, collect responses, and increase engagement with easy site integration.
Add interactive image hotspots to your site to turn static visuals into clickable guided experiences that improve engagement.
Use a coupon popup to highlight special offers, capture email leads, reduce cart abandonment, and turn more visitors into paying customers.

Add a Google powered search bar that delivers relevant results, improves navigation, and helps visitors find content fast.
Add interactive stories to your site to showcase content in a visual, mobile friendly format that boosts engagement and guides visitors toward action.
Display a cookies consent bar that explains usage and supports GDPR compliance, enhancing user trust and legal clarity.
Add an interactive spinning wheel to offer prizes, capture leads, and drive user engagement through gamified rewards.
Create and customize product catalogs with a catalog widget that organizes items clearly, improves browsing, and helps visitors explore your offerings easily.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
