Template hierarchy allows you to be specific down to a post name. This then allows a method (which I have used) to test out a newer version of the template on one specific page.
For example. If you create a virtual-program page called ‘wpse372687’, the file ‘single-virtual-program-wpse372687.php’ is more specific for that particular page. When you visit that page you use the new template, but any other virtual-program page uses the next best match of the old/current template.
It has its limits but its an easy way of testing side by side, if you don’t want to go down the route of a staging server (which is also a good suggestion from Sally).
Related Posts:
- Custom Taxonomy as checkbox or dropdown
- What are the differences between custom post type and custom page templates?
- WP insert post and custom taxonomy
- Templates for Custom Post Types and Custom Taxonomies
- WP_List_Table Inside Metabox Not Working on Submit
- How to filter post data with AJAX on page?
- Custom permalinks
- Query multiple taxonomy in Custom Post Type
- automatically create taxonomy with same name as post title
- Separate Custom Post Type Taxonomy by Comma
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Add filter to wp_list_categories and query what type of taxonomy-terms it use?
- Custom post type category, taxonomy and URL rewrite problem
- Get child terms of current term of the current post
- Allow duplicate slugs for posts on Custom post type in different categories/taxonomy?
- Assign category to front end post
- Remove “-2” from a Toolset Types URL with the same post name
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- WordPress import not importing custom taxonomy
- Is there any performance consideration when using Custom Post Types?
- Ordering Custom Post Types with WP_Query
- Taxonomy structure of Sport site
- Custom post type custom taxonomy archive page name
- Querying Term Posts in Loop
- How to check the terms in single custom post type template
- How can I move a custom taxonomy and its data from one post type to another?
- Permalinks not working for custom taxonomy on custom post type
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- Custom taxonomy in custom post RSS feed
- How to display product subcategories into my custom post type single page
- Posts from all the categories are being displayed instead of particular category
- Get next and previous 3 posts in a term in single post page
- Custom post type templating problem
- Custom Taxonomies not appearing in Admin
- Custom Post Types, URL rewrite on multiple CPTs
- redirecting improperly after updating custom taxonomy term when referring from CPT edit page
- Which post does a taxonomy term belongs to?
- custom types taxonomy hide_empty
- Custom Post Type – No Results Found
- 404 error when navigating to a taxonomy page with Cyrillic, what’s wrong?
- How to rewrite url for any specific taxonomy?
- Custom post URL 404 error
- WordPress Doesn’t Generate Taxonomy Archive
- CPT’s with landing page instead of archive – Url Rewrite?
- How to make front end form only accept certain values
- How to produce a sub-page-system in WordPress
- WordPress custom taxonomy template not working
- Custom post type pagination 404
- Custom Taxonomy not displaying all post
- How to Display Posts From Category Within a Custom Taxonomy?
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- Iterating through Object Array to customise display of full custom taxonomy for custom post type
- When I choose category from dropdown then everything working fine.But in backend it checked only child not parent [closed]
- Removing numerous Meta boxes from numerous CPTs
- How to rewrite the post slug of a custom post type post
- Getting List of child terms from custom taxonomy parent
- How can I get 3 different taxonomy type terms in a div class element?
- Function to erase every post from a taxonomy
- Get terms for a specfic post from multiple taxonomies in custom post type
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- How to get post count of specific taxonomy that have store name & category
- Display Custom Field or Custom Taxonomy in front page /post/product
- CPT tags not showing when editing post
- Some posts not displaying by taxonomy term
- WP_Query for custom taxonomies showing posts from non-specified terms?
- PHP Warning with Custom Fields
- Don’t share custom taxonomy terms if applied to multiple Custom Post Types
- How to show custom post count in archive page
- How to add independent “Tags” to Custom Post Type?
- Display custom tax in “while” loop
- Show posts under a selected custom taxonomy term
- Saving Child Terms on front end not setting parent
- Custom taxanomy and custom post type – pagination leads to 404
- Getting all custom post taxonomies and exhibiting only part of them
- Linking Taxonomies
- Get posts under custom taxonomy and custom post type
- Flush rewrite rules when new cpt is registred
- Shortcode in excerpt
- Custome post type “tags” pick default archive instead of custom post type archive
- How do I retrieve the title of a term of a custom post type with custom taxonomies?
- Show custom taxonomy not in submenu
- Custom post type AND custom taxonomy are not connected
- Single page archive – get coresponding taxonomy and terms
- How to assign custom post template to its custom taxonomy terms
- Excluding top level from taxonomy and post loop
- Custom Post Type and Custom Taxonomy not connected
- Displaying custom post types with taxonomy
- Get a list of categories ids
- How to Associate Posts with Pages
- Using one custom taxonomy.php for two custom taxonomies?
- Add taxonomy to custom post type archive
- Custom taxonomy archive not showing posts of certain child taxonomies
- posting twice from an array?
- Custom posts and custom taxonomies for many products and categories?
- How to retreive terms associated with a custom post type?
- How do i get the taxonomy term name on the CPT archive page?
- Create taxonomy from Custom Post Type
- the_post_navigation in single page with multiple taxonomies
- Url rewrite with custom post type and taxonomy
- Custom Sort Order for Custom Post Type Taxonomy