You could hook into theme_{$post_type}_templates and add an identical “default” option at the end:
add_action('theme_page_templates', 'wpse_296283_theme_page_templates');
function wpse_296283_theme_page_templates($post_templates){
$post_templates['default'] = "Default Template";
return $post_templates;
}
Then you’d hide the first one with CSS:
add_action('admin_head' 'wpse_296283_admin_head');
function wpse_296283_admin_head(){
?>
<style>#page_template option:first-child {display: none;}</style>
<?php
}
Related Posts:
- Adding Page Templates to post but it ignored it
- One Custom Post Type two different Templates
- Do I need a nonce field for every meta box I add to my custom post type admin?
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- display different template based on post type
- How to force one column layout on custom post type edit page?
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Custom Post Type – Taxonomy Dropdown Menu?
- How to add meta box to backend menu page
- How to set a fall back template for a custom post type in a plugin?
- How to add multiple images to custom post type?
- How do I remove all the metaboxes for a custom post type?
- How To Set Custom Post Type Title Without Supports
- Creating a Custom Post Types dropdown in a Meta Box
- How to list/show all custom post types regardless of category?
- Get all posts from custom post type and insert in select input as metabox
- Add pre-existing meta box to new custom post type
- Dynamic page.php template for custom post types
- Custom Post Type with Nested Taxonomy and Template Files
- Add comments meta fields to comments metabox on post edit screen
- WordPress metabox file upload in custom post [duplicate]
- Display metabox conditionally
- Custom post type loops with different page templates
- Embed ‘New Post’ Form Inside ‘New Post’ Form
- Custom Post Type .current-menu-item not applying on Custom Post Type Archive Page
- how to set default value for checkbox in wordpress
- Timepicker-addon doesn’t show – Datepicker works fine?
- Multiple templates for a custom post type
- Metabox Populated with a Custom Post Type – How to Output CPT based on Select?
- Is it possible to create a post using a metabox?
- How can I show/add/save custom metaboxes as an Array of values?
- WordPress custom meta field for custom post not storing data
- How to Duplicate (multiple meta box)?
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- Query with no terms uses index.php template instead of archive.php
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- dynamically add a custom field or metabox to custom post type [duplicate]
- WordPress Custom Post Type Children Template
- Getting template_include to work when allow_url_include is off?
- Getting Custom Post Type Meta on Publish
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Adding a metabox on a CPT’s submenu page
- Ordering values entered in Custom Taxonomies
- Permalinks: custom structure for taxonomy – tags?
- Custom Post Type & Meta Box – Displaying meta box information on front end?
- How to specify a template for a path like http://example.com/something?
- Custom templates for a specific category
- WordPress 3.9 not using custom template
- how to remove pages loading with the archive templates
- Custom post-type metabox position
- wysiwyg editor don´t export paragraph
- How can I set a meta value that will then affect other post meta values?
- Inefficient Query Confusion
- Creating separate feeds for custom post types
- How to get_term_meta on single custom post?
- How do I find a way to create a global single.php for a custom post type?
- How to use single.php for creating, reading and editing Custom Posts with ACF
- Assign a template to a custom post type when displayed by the main loop on the home page
- link featured image to external link
- Is it possible to sort metabox teaxtarea values?
- Showing a meta box in a custom post type on a page
- Having Issue on Getting Metabox Checkbox Value
- Multiple wp_editor instances in custom post type using Ajax
- How to create a archive template for custom post type [duplicate]
- Updating post content and custom fields in edit post screen
- Add a class to post_class if more than one post shares same meta_value_num
- Function to return values from metabox
- Add a meta field to the list of results for a custom post type
- Calling a div and content in php?
- Tag template not returning posts [closed]
- Create a custom post type based on ‘Post’
- How do you make relational post types in WordPress? [duplicate]
- Conflict in function to allow single post template based on category
- How to make post templates to include shortcodes only?
- Placing Admin Post Metaboxes in Tabs
- Wp Meta Query does not work while simple Query Works
- Custom Post Taxonomy Template Not Loading Properly
- Problem with multi checkboxes value in metabox?
- Turning archive templates to a page template maintaining the slug
- Using meta boxes as the title of a custom post type
- Templating advice sub posts of a CTP
- get_permalink() of page the enclosing page not posts
- How to Create a Default Fixed Custom Posts layout for text and images
- Why did permalinks setting affect the pages?
- Why isn’t my custom post type using the corresponding custom post template?
- custom post type plugin – single template
- How to make post page unique and show it on home page?
- Add different meta box based on taxonomy
- Toggle a metabox based on a selection
- Search page for custom post type
- Need to build custom metabox select prev posts by category
- Customized featured image doesn’t refresh in post admin metabox after upload/insert
- Custom Post Type Template based on Taxonomy
- Saving custom metabox data with a twist
- Specifying Default Template for Hierarchal Custom Post Type [duplicate]
- how to pass args for archive.php query?
- Navigation links to posts in current term shortcode
- WP_Query is getting the post but the_post() not rendering any Post
- Just the First Metabox what saves the data!
- Why isn’t page attributes dropdown not showing up in a custom post type