Overriding that template would be much easier than getting rid of it. Just the way logic goes.
I make no claim it’s efficient idea (late here), but this would get it nuked from edit screen:
add_action('admin_head-post.php','remove_template');
function remove_template() {
global $wp_themes;
get_themes();
$templates = &$wp_themes['Twenty Ten']['Template Files'];
$template = trailingslashit( TEMPLATEPATH ).'onecolumn-page.php';
$key = array_search($template, $templates);
unset( $templates[$key] );
}
Related Posts:
- How to Add Customizer Setting in Child Theme
- Child Theme with multiple css files
- Is there another way to customize a parent template file besides adding the file to a child theme?
- If a theme will undergo major changes would it be better to clone the parent instead of writting a child theme?
- How do I know if the custom theme is a child theme or a full-custom theme?
- How do I make my child theme re-apply the settings that were customised when its parent was active?
- How to Change 404 page title
- How to redirect WordPress home page to custom static HTML page
- How can I create an alternative home page?
- Post format selector in Thematic child theme post class
- page_template toggle between 2 templates + 2 permalinks for same post
- Create a customizable child theme
- How to remove a parent theme template from Quick Edit?
- add sidebar area to header of child theme
- How do I deque the default stylesheet?
- How can I & how do I change text displayed in comment via child theme
- How to build a child theme from a react-based parent theme?
- Woocommerce Product page edit
- For custom templates, is it better to use `template_include` or `type_template`?
- Customizing default Mediaelement player
- Child Theme – how to add new widget on a specific place?
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- How do I call in a category title on a category page in a child theme?
- Is it possible to add a ribbon in the background of h1 on every page?
- need help with a user-specific custom page template
- Include custom JS without child theme
- Prepopulating a specific page template with HTML/CSS
- Child theme .css files are not overriding their parent .css files
- custom meta box for page default template
- List top 5 authors with most posts
- How do I remove a customiser option from a parent theme in a child theme?
- How To Load an HTML File As A WordPress Page (With No 301/No Redirect)
- CSS Styling a specific page
- Is there a way to override require_once of the main theme on the child theme?
- Load File (Function & Variable Value) from Child Theme
- Changes in my child theme from customizer not appearing in style.css?
- What are the best practices for maintaining and deploying several parent themes?
- css media query question [closed]
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- WordPress Child Theme Stylesheet being loaded before Parent’s minified .css
- How to create custom search page
- WordPress archive index page
- How to create a custom WordPress front page
- Custom Same Page Search
- change top banner content on specific page
- How to add functionality to an existing theme (using child themes)
- How to set up conditionals in page templates?
- How To make Custom page of every Category
- Remove Sidebars from page
- Changing update message from Newspaper child theme
- javascript file not working in a plugin template file
- Easily add custom HTML outside the main container?
- Product page not found if product data is set Appointment Service
- Trying to customise 2011 Child Theme Background Colour
- WordPress core jquery version file not loaded?
- Page with some post value id showing page not found
- How can error pages be customized
- Why does a custom php code inside a custom template not get executed?
- How to use the same custom page template to iframe multiple urls with entry of new url entered from backend
- How can I make custom page templates work on child theme?
- Issue with navigation bar in child theme
- Fixed bottom menu on mobile doesn’t work on search included in Child Theme of Storefront
- Create page when a new site in multisite network is created?
- Unhook a function within a class in the child theme
- Calling get_theme_mod() of an WP_Customize_Image_Control() returns an Array, how do I correctly return the image src for my custom theme?
- Custom stylesheet not loading
- Displaying Child Page’s Information
- How do I move my sites to a child theme without loosing customisation?
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]
- Adding pages to the Admin panel
- Setting Custom WordPress “Posts page” AS “Front page”
- Page template with custom html fields inside a content
- Changes in comments.php in the child theme does not show up on the site
- Single page template
- Adding page Title in a custom coded page
- Word Press Theme Customiser and Child theme Function.php
- use another theme for just one page
- Modifying posts based on category in TwentyTwentyTwo theme
- How to move custom icons from parent theme to the child theme
- WordPress child theme widget customization – Eduma
- wp.blocks.registerBlockType not showing what I want on the frontend
- Multiple loops on same category with different design
- Making a child theme in order to update the parent theme
- Override parent theme deregister
- How to Change Site Elements based on referring URL
- Make Widget appear on Dashboard
- Cannot replace header & footer using “the_content”
- How should I design subcategory login site?
- How do I change the button text color on my header?
- URL issue after setting up Custom Structure in Settings >> Permalinks
- Replace featured image when shortcode is present
- How to assign a default/priority taxonomy to be shown in url in case two taxonomy items are selected
- WP_User_Query Search Multiple Keywords from a Multi-Select Field?
- How can I setup a development environment which auto refresh page when code have changed [closed]
- Client viewing before deployment
- Can I upload my self hosted WordPress website on GitHub as a project? [closed]
- Advice on how to structure a custom plugin
- Custom query pagination with php parameter as arg problem
- Need to replace some text string on a title