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
- Cannot save CPT meta box
- Filter widget outputs
- How to make custom taxonomy into drop down select in a custom metabox
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Create a Dropdown from Custom Post Type
- Translating custom post type metaboxes [closed]
- Adding a metabox on a CPT’s submenu page
- Template for all categories of a custom post type?
- Fixed values for same post translations
- How to Add multiple instance of meta box to custom post type
- Using POST method in meta box, no results
- meta box on custom post type
- Migrating a taxonomy’s tags to the native category
- Flush Rewrite Rules when new site is created on network
- Checking if $_FILE isset for an array of file upload metaboxes
- Ordering values entered in Custom Taxonomies
- WordPress custom taxonomy template not working
- Listing custom terms in custom post meta
- Permalinks: custom structure for taxonomy – tags?
- Custom Post Type & Meta Box – Displaying meta box information on front end?
- How can I move (or create another) publish button?
- Wrap meta boxes & data handling for specific post types in classes?
- How can I get this request to use the Custom Post Type page template instead?
- Can custom fields be added without a meta box?
- Can’t publish custom post type – “You are not allowed to edit this post.”
- Meta Box on Custom Post Type not saving
- How to specify a template for a path like http://example.com/something?
- Custom templates for a specific category
- Archive for a Taxonomy of a Custom Post type
- Custom “radio button meta box” not saving correctly
- Global custom meta box
- Sizing textarea field in custom metabox
- Moving meta boxes in admin
- Meta Data for Custom Post Type not saving
- Remove “show sharing buttons” metabox Jetpack from custom post type
- Add additional field to custom post_type
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- Custom Post Meta from custom metaboxes is randomly being deleted
- Custom post type pages return 404 page?
- WordPress 3.9 not using custom template
- Template files for Custom Post Type and Taxonomy
- Set templates for custom post types
- How to Create Template File for Parent Page of Custom Post Type
- custom post type metaboxes not saving
- Add a custom meta box for client to order CPT posts how they want
- Custom post_type search pages
- Save Multiple Metabox values
- how to remove pages loading with the archive templates
- Main query not querying any posts in custom taxonomy template
- Custom Empty Results page for my Custom Post Type
- Custom post type, have only my meta boxes
- Custom posts template page
- Display Repeatable Meta Box Content
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- Can I restrict category availability?
- Loop through custom posts by taxonomy and display the titles in a list, it is repeating 8 times
- Create metaboxes based on custom post type
- How can I use archive-{post_type}.php theme template?
- Displaying a div from an assigned meta_value when on a page
- Custom post-type metabox position
- How to Echo Metadata Value in Currency Format
- Issue on Working with Metabox – Checkbox to enable Sale Items
- How to add editable/dynamic values to dropdown of a Custom Post Type Meta Box
- make permalink go to a custom single.php file
- Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”
- Add Previous/Next Buttons to CPT Single Pages Only
- Problem with $post_id object’s property
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- What do the numbers mean at the end of add_action(‘save_post’)…?
- Saving Meta Data within Custom Post Type
- A meta box (in a custom post type) with two different type of fields
- Creating Sections for Post Types
- populate array with posts
- Using custom post type as taxonomy
- wysiwyg editor don´t export paragraph
- How to make a meta box?
- Retrieving meta-box from a custom-post-type
- Custom post types with categories in template
- Forms and WordPress Nonce
- How can I set a meta value that will then affect other post meta values?
- Why do I have to press the “Update” button twice to save my meta box values?
- Inefficient Query Confusion
- Create a custom post type for a photo post
- Creating separate feeds for custom post types
- Prevent custom post type from showing up in custom menus
- Which file/template is in charge of taxonomies for custom post types?
- How can I trace inconsistency in loading a template?
- How to insert data into meta box from another plugin?
- Unable to display selected post title in frontend from metabox wp_dropdown_pages()
- Values from meta-box not on $_POST
- How to get_term_meta on single custom post?
- Custom Meta Box returns no HTML
- Metabox multiple custom post select -> display selected items?
- Assigning alternate single-{cpt} template based on blog_id in multisite
- Topic won’t save for a custom post type — how to debug?
- Custom post type suddenly stoped working after WordPress 5 update
- Get id from metabox dropdown