There is no hook to do this. Copy the index.php to the child theme and make the single line change. Also, tell the parent theme’s author that they should make the same change in their theme, for flexibility.
Related Posts:
- Is there any way to use get_template_part() with folders?
- Child Theme: how to override variables?
- Get template part vs locate template function
- roots child theme can’t override header.php
- Templates & CSS – Proper Programming Practice?
- TwentyTen: Overloading template.php files vs. get_template_part
- Load template inside a parent template
- Passing variables to template parts
- Child theme TEMPLATEPATH issue
- How to move style from template file to section?
- Unable to include a template
- 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?
- Where is the template for the ‘standard’ format of a post in the theme twentythirteen?
- Valid HTML in Template Part
- How to preserve changes in templates and other files
- 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?
- Remove portion of header code from home page only
- Use a separate template for the home page only
- Page header on specific page is different from the rest [closed]
- How to create new template page and template-parts in wordpress theme [closed]
- Including template pages within another template?
- Organize template parts and page templates in folders in regards of template hierarchy
- How to get all template files used for rendering a single post/page?
- Parent/Child themes – both CSS files loaded
- get_template_part for template in subdirectory not working
- Child theme enqueueing style.min.css not style.css
- Display a custom 404 page without a redirect
- How can I make custom page templates work on child theme?
- How can I show contents of a template part inside of another page?
- 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?
- When to use content-pagename.php?
- custom template – override plugin template in child theme – issue with scripts
- Is it possible to call a template file inside wysiwyg editor? And how?
- If I define a variable in header.php, how do I make it available to templates?
- Unload templates; disable parent Template Parts using only “theme.json”
- Category theme template becomes default template for child theme
- WordPress “Blog” template hierarchy
- Get_Template_Part and Template files in TwentyTwentyFour Block Editor
- 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?
- 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 add custom content template part for a custom post type on main query using a plugin
- 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?
- 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]
- Get the php template file from other theme folder
- 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?
- How can I modify the default reset (lost) password email text?
- How to create tag.php
- Template files missing after moving site