Turns out i had to hook in using “single_template” to add my theme file to the top of the stack.
e.g.
add_filter('single_template',.....
Related Posts:
- Is it possible to override the result of get_template_part()?
- Child Theme: how to override variables?
- Gutenberg & Pre-formatted Templates: Core Block Attributes
- Gutenberg Editor – Template Doesn’t Match Error
- roots child theme can’t override header.php
- Load template inside a parent template
- Child theme TEMPLATEPATH issue
- How does wordpress blocks?
- How to replace WordPress sidebars (widget areas) with Gutenberg
- How do you override Post template when using Query Loop block?
- Updating modified templates
- Child theme template file will not load
- Checking for page templates in child theme
- Should template files be copied to the child theme for editing?
- Why does the Full-width Template in Twenty Twelve pack so many classes into the body class attribute?
- How to custom page template for the Gutenberg editor
- Use PHP templates as blocks
- Can I add a default Block to my custom theme?
- How to preserve changes in templates and other files
- Is there a way to create a block template that is not limited to a post type?
- Override Dokan Includes File in Child Theme
- lost css when overriding themes templates
- ACF costum date format [closed]
- What template is used for viewing Media Library Files?
- Can you use block patterns in block templates or insert them programmatically?
- Page header on specific page is different from the rest [closed]
- Change default template in the block editor (Gutenberg)
- Parent/Child themes – both CSS files loaded
- Child theme enqueueing style.min.css not style.css
- How can I make custom page templates work on child theme?
- Why would adding a template file to a child theme cause an error in template-loader.php?
- WordPress Child Theme Template auth_redirect wrapper
- How can I add some blocks to template without changing template file?
- custom template – override plugin template in child theme – issue with scripts
- How to limit block activity (insertion/deletion) to inside of a Block Template on the Admin Screen?
- templates page not showing on gutenberg editor
- Unload templates; disable parent Template Parts using only “theme.json”
- Add default meta data to a page/post template
- Adding new Template Parts in the Block Editor when using Classic Themes
- Get_Template_Part and Template files in TwentyTwentyFour Block Editor
- Difference Between Block Templates and Site Editor Templates
- How to use Class
in Java? - Get name of the current template file
- How do you find out which template page is serving the current page?
- How to change the default registration email ? (plugin and/or non-plugin)
- Opinions and recommendations on the best barebones base theme [closed]
- How do I get the size of an attachment file?
- Is there any way to use get_template_part() with folders?
- Adding Page Attributes Metabox and Page Templates to the Posts Edit Page?
- How can i change email template for new user
- Any advantage to using get_header() over include(‘header.php’)?
- Enable page templates. How?
- Use [embed] filter in template files
- What’s the purpose of the paged.php file?
- How do you access the Product Short Description in a WooCommerce email template? [closed]
- Prevent comments_template() to load comments.php
- Is there a way to list all used/unused WP templates?
- Page editor missing Templates drop down
- Print WordPress template filename(s) for debugging
- How to force TinyMCE in WordPress to replace newlines with tags and not with
- How to find the posts page (home page) programatically
- WooCommerce: Change template for single product page
- View WordPress page template usage (or unused)
- How to edit contents of dynamic_sidebar()?
- How to check if a shortcode exists?
- Where is get_header(‘shop’) file in Woocommerce templates
- Custom templates folder
- What is the link to my default “archive” page?
- How to get slug of current category in taxonomy template?
- How to show a under construction page for a domain but still be able to work on index.php?
- Change the name of the ‘Default Template’
- Customizing get_the_excerpt() to specific length and “Read More” output.
- How to Rename a Template File?
- get page templates
- Echoing Elementor page content in template, but it doesn’t get styles and some widgets are missing
- Using WordPress templating for HTML emails
- How to override the “inc” folder (or any folder) in a theme using child theme?
- Is it possible to access Gutenbergs reusable blocks in CPT block templates?
- Loading partial templates with AJAX/PJAX
- WP frontend output of custom textarea fields not respecting line breaks. In admin it’s OK
- How do you check if a WordPress template file exist?
- Load entire NextGEN gallery from single thumbnail?
- I put my blog on a subpage, how do I get page title?
- A special single page templates for posts under a category and all its child category
- Custom reset password template after forgot password request
- Outputting Canonical Resource URLs Across a Multisite Network?
- Gravity Forms Custom Templates [closed]
- How do I get the URL of a specific size featured image?
- Where to store some per-template preferences?
- add/apend templates ‘transparently’ via plugin to currently active theme or child theme?
- stop blog page from using index.php?
- Add colors to existing color palette without replacing it
- How can I modify the default reset (lost) password email text?
- How to create tag.php
- Template files missing after moving site
- How do I override template-tags.php in twentyseventeen theme
- Get template part vs locate template function
- Programmatically change post templates?
- How to hide/redirect the author page
- Tools for Converting an Existing Website Design to a WordPress Template?