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”
- Adding new Template Parts in the Block Editor when using Classic Themes
- Is it possible to access Gutenbergs reusable blocks in CPT block templates?
- Custom reset password template after forgot password request
- How to create tag.php
- Tools for Converting an Existing Website Design to a WordPress Template?
- author.php added to template not working on Nginx server
- wordpress – load a template based on the URI
- How to include template according to meta post value
- Using Includes in Templates in Document Head
- How to show scaled featured image in template?
- How to check active theme is parent or child wordpress
- Lock post meta block at the bottom of a custom post type
- Unable to create custom search results template page
- Template for slug
- Hook to get the page template that is in use on the admin page edit screen?
- “Issues” loading MANY featured images on a single page (custom template)
- WordPress Shortcode wrap around div
- How to add an HTML tag to the Header?
- Where is the template for the ‘standard’ format of a post in the theme twentythirteen?
- Missing ‘Page Attributes’
- how to use custom page template in a page?
- Is there a way I can put my post templates in a separate folder?
- Default Template Selected After Changes in Elementor [closed]
- Adding Query to Custom Page Template
- Whats the template of my homepage?
- Custom headers based on taxonomies
- Bizarre issue with custom RSS template
- Using shortcode in template file
- Display current category and child
- Return get_header and get_footer string instead of echo it
- Different templates for same content, landing page from different URLs (generic, simple)
- Use one template only for custom post type archives?
- Is there a more efficient way to loop through pages?
- Is it possible to register a new template file?
- Use a separate template for the home page only
- Create a blank test.php
- What’s a good way to allow overwriting files within a child theme if I want the same folder structure?
- How do I remove the word “Blog” from a WordPress Homepage?
- AMP version of front page without plugin
- /wp-admin/post.php shows 404 template on submit
- Which template.php for /blog
- List Category Posts plugin – underline links [closed]
- Conditional template tag for buddypress pages
- WordPress Template Reverts to default template after changing
- using add_filter in a template_redirect function?
- Content not showing properly with the first load of the page
- Where do I edit what the user sees on my WordPress site?
- User role templates
- How do I bring a page template into a new theme with separate styling?
- Language file doesn’t work (poeedit)
- How to adjust only the template gallery
- Nested Page Template not showing in page attributes
- Header and footer fail to load with SSL and custom links
- Creating page-templates directory breaks everything!
- Editing the tag pages and using templates
- Is it better practice to create many page templates, or a a few base templates with custom HTML added via TinyMCE?
- Add pagination to blog
- Add multiple pages to theme customizer
- Single Post Template with Dropdown Option?
- Output fields manually in Woocommerce email templates
- Templates to use multiple time within page? [closed]
- My homepage’s width has reduced and I can´t fix it [closed]
- How to edit templates created in the block editor in code / template files not updating