Change permstruct for your CPT.
add_action( 'init', function() {
add_permastruct( 'tvshow', '/custom_home_page/%tvshow%');
}, 11);
However, this is a complex question and can involve different steps to make it work in different ways.
P/S/
don’t forget to flush url rules.
Related Posts:
- Renaming Custom Post Types and Taxonomies
- Mixing custom post type and taxonomy rewrite structures?
- Resolve a custom post type name vs. page permalink conflict (same slug)
- Can multiple custom post types share a custom taxonomy?
- How to Add Custom Fields to a Custom Post Type?
- Mixing regular and custom post types (with meta_query) on home page
- Inconsistent temporary 404s on whole install | PHP error with post-template.php
- Display current taxonomy term when inside custom post type
- Custom post type support for get_users(‘orderby=post_count’);
- Importing old blog with regular posts into new custom post types
- $wp_query->queried_object->ID throws warning: Undefined property
- Adding custom post type to loop
- How can I add dropdown widget/box to admin post page?
- Get posts with tag all post types
- How to override parent theme function through the child theme [closed]
- single-type.php not working, delivering 404
- Query posts between two dates (custom meta keys) CMB2
- Date-based permalinks for Custom Post Type, and custom taxonomy permalinks
- Highlight parent menu item when child post
- Display Posts from Custom Post Type with Category Filters
- Display Custom Taxonomy
- Automatically populate a hierarchical taxonomy from a custom field
- Custom Post Type Events Archive Grouped By Month
- Using custom page templates with plugin [duplicate]
- Keyword search limited to specific post type filtered by multiple custom taxonomies?
- get_post_meta returns empty array for terms
- Custom post type not using custom template
- Show one item per category of a custom post type
- Add Standard Page Attributes Metabox for Page Parent
- Permalink structure by Post Meta value
- Display as tree terms of taxonomy and custom posts for each term of taxonomy
- Custom post type: Disable single page, but keep archive
- Post count by month of taxonmy term
- Showing another posts on Archive custom post type page
- custom post type category count shortcode
- How to order and group custom post type posts by year and month
- Pretty URL for custom search for custom post type
- Custom Post Type within the Loop on Homepage (Page Template)
- Breaking up CPT output into two columns
- First custom field value (out of several) displayed twice after query
- Custom while loop for hierarchical display of a taxonomy
- Grouping of CPTs and taxonomies into menu groups in admin
- Use date in the URL of custom post type
- Why does not this wp_redirect work in is_single()?
- Create new custom post and post category of same name
- How to add terms (without deleting others)
- Archive not sorting correctly
- multiple custom post type on category page
- WP_query – Filter by tax_query and meta_query using multiple select
- Hide meta box for everything BUT a certain custom post type
- Only show posts with a specific term of an associated taxonomy in a custom post type archive
- Empty search input does not return all posts
- Display custom tags for custom post listing page
- Update all published posts at once
- How to convert custom fields to content
- Variable Products as custom post types
- updating one custom meta field only
- Confusion about how to use Custom Post Types, Custom Taxonomy or Category?
- Limiting Amount of Posts in a Custom Post Type again
- Get taxonomy name used in a current post
- Custom Taxonomy Archive generates 404
- How to hide private posts even if user is admin
- Custom Post type not Querying in switch_to_blog loop
- Custom post type not pulling CSS
- Add link for CPT to another CPT on submit button
- Support for author does not show author column in post table in dashboard
- CPT remove /blog/ by add new portfolio default /blog/%postname%/
- How to make sure, that only the selected post is changing?
- How to make id user can be view content
- Redirect users in first login to a dynamic link
- Custom permalink rewrite rules – how do I fix this?
- How to retrieve custom post type permalink in another cpt?
- Retrieving custom post type fields without a post
- Custom Post Status & Taxonomies
- pre_get_posts with multiple post types AND a meta_key
- Search form to find custom meta box generated data
- Problem to show custom post type in archive page category wise
- Taxonomy Grid Archive Help?
- Show Custom Post Type taxonomy term that matches custom field
- custom post type for custom talbe
- Post being scheduled that shouldnt be schedulded
- paging is not working properly on news archives page [duplicate]
- Custom Post Type and Taxonomy pagination permalink
- Author template – separate custom post type by custom taxonomy term for $curauth
- Custom Loop and Standard Blog Loop Issue
- Custom Post Query Combined with Conditional Tags
- How to Display Custom Taxonomies in an Un-ordered HTML List
- Dealing with variables with gettext function
- how do I create a breadcrumb to work with multiple custom taxonomies
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Allow admin to determine the order of queries?
- Problems with pagination for a custom post type
- Custom post type permalink structure
- How do I use CPT and permalinks with a mobile theme?
- Knowledgebase / Docs: Custom Post Type, Pages or as a Post Category?
- WordPress custom post type odd and even styling [duplicate]
- Add categories to custom post type
- WordPress custom field sorting, weird behavior: the latest post is at the end
- Limit taxonomy terms added to a custom post type
- Custom slugs with dates & IDs on Custom Post Type