After some offline conversations with other developers, I came to the solution of creating a settings page under any given custom post type menu. A quick way to get up and running is by using Advanced Custom Fields PRO with this handy snippet by Jared Atchison:
<?php
/**
* Create ACF setting page under Events CPT menu
*
* @since 1.0.0
*/
if ( function_exists( 'acf_add_options_sub_page' ) ){
acf_add_options_sub_page(array(
'title' => 'Event Settings',
'parent' => 'edit.php?post_type=events',
'capability' => 'manage_options'
));
}
Related Posts:
- Page Template as Custom Post Type Archive
- Custom post type yearly/ monthly archive permalinks
- Can’t get post id on page that is a custom post type archive
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Is it possible to remove the posts_per_page limit on a specific post type?
- Is it possible to have an index page for taxonomy term for each custom post type it is assigned to?
- How to get_queried_object on multiple objects?
- Assign Page Template Within A Custom Post Type
- Hide child term posts on parent term pages
- Posts per Page on custom Taxonomy Template
- Compare 3 custom fields and sort by oldest
- Custom Post Type – Archive page title
- Alphabetical sorting of custom post type – one letter per page
- List all posts in Custom Post Type but group dynamically by Custom Taxonomies
- Getting taxonomy terms used by custom post type
- Custom post type archive sorted and grouped by date in post meta field
- Custom Post Type archive giving 404
- Custom-post-type-archive: posts sorted/filtered by year?
- I am facing problem in my archive page , it is partially working
- Add the current menu item CSS class to a custom page type archive in WordPress menu
- taxonomy template for custom post type the same as the archive
- Loop that displays the first post of every available custom post type?
- How to use WP_Query in a CPT achive page?
- Have a Custom Post Type index page display taxonomy items instead of posts
- Conditional tags don’t work
- Specify a Page as the parent to the CPT Archive
- Custom template won’t load for a custom post type (custom permalinks used)
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- Unable to get post archive link
- CPT custom archive template does not get loaded
- Custom post type is showing custom home page, not archive page
- URL of a custom post type’s post format archive?
- Custom Post Type archive loop separated by term, in specific term order
- Show only posts from one category on custom post type archive page
- How should I structure my post types?
- How to use has_archive but disable feed per post type?
- Use Custom Post Type archive page for the taxonomies term archive page
- Display custom post type category, while in a CPT category, then the posts beneath
- Number of Custom Post Types published are not being shown in the custom page
- Custom Post Type Archive URL is wrong
- Canonical url differs from custom post type archive URLs
- Custom post type archive pagination 404
- posttype/taxonomy/term archive page 404 error
- Is it possible to have a custom post type with feed but without the archive?
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Custom Post Archive is not working
- Custom post type archive with page as parent url
- Add parent post to Custom Post Type [closed]
- Set featured image to archive.php
- What’s the name of the custom post type yearly archive template?
- Custom post type, global categories — what’s the template name?
- Url to archive page for custom post type
- How can I use archive-{post_type}.php theme template?
- How to display CPT archives?
- Custom meta Title for custom post type archive from page
- Return the name of the post type
- current-menu-item not added on page showing custom post type (rendered with archive template)
- Alphabetically sort a taxonomy.php template by post title
- Permalink problems with custom post type and custom taxonomy
- Use the custom post type archive for taxonomies?
- Custom Post type date archive for custom taxonomy
- adding custom post type “name” to single template
- Custom Post Type Archive template not being called
- Custom Post Type Custom Archive Page Not Working
- Getting custom taxonomy posts on archive page
- Displaying custom taxonomy menu in custom post type archive
- Pages not appearing?
- Is possible register two archive pages for single custom post type?
- CPT archive with WP native/core tax/categories
- How to add specific terms in a custom post type?
- Static Front Page not working for custom theme
- Display Custom Post Type Archive content with Shortcode
- Custom Post Type archive page listing a 404 or single post
- Building Link List for Custom Tax
- Unsure what page hierarchy to use with CPT UI to show on front end
- Only show categories that have posts within custom post type
- get first limited words from a custom post in the archive page
- Meta_query by date for Events archive
- How to manage a custom post type archive as a page?
- Custom post types not displaying per category
- How to Show all Values in category.php page using post_type
- Show index and not the archive for “Dog Custom Post” with default slug
- Custom post type archive page not showing on archive-posttype.php
- Custom post type with two templates
- Making a archive gallery page for a custom post type which already has an archive page
- Custom taxonomy in custom post type archive with pagination
- why custom post archive gives always no more than 10 posts despite of paging settings?
- Templates list in “Page Attributes” metabox is inaccurate
- Stop Custom post type from being searched via URL
- Custom post type category page not working
- title tag for custom post type remove taxonomy name from title tag
- How can I retrieve the slug for a custom post type via name?
- CPT Archive with parent page
- Pagination not working for archive
- Remove plugin’s custom post type archive page and single pages [closed]
- Add a class to a menu item depending on a body class
- Dynamic WordPress rewrite rules for multiple custom post types
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query