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
- Is there a way to list all used/unused WP templates?
- Print WordPress template filename(s) for debugging
- How to add custom content template part for a custom post type on main query using a plugin
- Change the name of the ‘Default Template’
- How can I modify the default reset (lost) password email text?
- Template files missing after moving site
- Grid layout “last” class to every third item
- How do you modify Page Template?
- Using “setup_postdata” with “get_template_part” does not work
- How can I get the content of the home page?
- Why aren’t my posts showing?
- What is content.php file that is needed for Jetpack infinite scroll plugin?
- bloginfo(‘template_directory’) img src
- Calling an image within the theme folder from inside a post/page?
- Best Constant to use to check if WordPress is running
- WordPress automatically created files like .theme-name / .plugin-name.php [closed]
- style sheet header on Page Templates
- How to support custom templates on a custom post type?
- Page attributes missing
- How to put limit on slider
- Page template option missing
- Trying to create a template without navigation and footer
- Genesis – Adding custom hooks to display secondary navigation
- Force WordPress to NOT display the manual excerpt
- Why still output /wp-content/themes/twentynineteen?
- Custom Template page not loading get_header() correct?
- Easiest way to map content (in json) to the view (template)?
- Removing calls to noindex() and wp_no_robots()
- Does wp_mail work in frontend tempate file?
- Dynamically generated URL and Content page
- wordpress – modifying template to show more posts
- Home page not loading after editing header.php file
- Template includes
- Two different single.php depending on source page
- Fixing media query
- I’ve installed example data on Nominee template but the published site shows another version of the site
- Set og:image programmatically in custom single post with external images
- Displaying all posts of a category in full view on one page using their single.php template
- why does not showing my custom post category list in any template?
- Locating the HTML piece of code in wordpress
- Theme keeps going to default files [closed]
- How to serve a amp template
- Single page applications with WordPress: routes and templates
- Display different list of “Custom Templates” for each Custom Page Type
- Use another theme template in my theme
- Submit form to another template (ugly url)
- Using file outside of template hierarchy for Twitter sign in authentication
- Duplicated Template Does Not Load the Same as the Original Template File?
- Blog template PHP [closed]
- load_textdomain won’t load my .mo file
- files disappearing from template
- html blog template to wordpress template
- templates page not showing on gutenberg editor
- How to load php templates from html page (block theme)