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”
- How can i change email template for new user
- Enable page templates. How?
- How to find the posts page (home page) programatically
- How to check if a shortcode exists?
- Customizing get_the_excerpt() to specific length and “Read More” output.
- How to override the “inc” folder (or any folder) in a theme using child theme?
- Get the php template file from other theme folder
- Change site template from php
- Display HTML only if Custom Field has a Value
- Get templated page/post content via the WordPress API
- Force all images to full size in page template
- Login WordPress website using wp-rest api
- Global variable set in the template’s header.php is unable to echo in footer.php
- When a link doesn’t exist, how to tell WordPress what to do? (404 Error Page)
- WordPress Schema.org Markup. What value does it add?
- home.php not loading
- get_search_link() redirects to 404 template page
- New custom nev not working [closed]
- How do I insert JS tracking code to a page with the WP editor?
- Include Lumen/Laravel app in custom WordPress template
- Rewrite Rules to custom template
- How to override p2 breathe theme plugin in content template file?
- How to change header image size in custom themes
- Different Template based on HTTP Referer
- How does WordPress choose archive type template?
- How to properly Remove certain CSS / JS files from template
- What is the most efficient way to create multiple versions of the same template?
- Automatically use specific template to load subpages
- No three-columns template in TwentyEleven?
- Can’t split the_title() by white space
- Why does the Woocommerce grouped template prints the unpublished products?
- Not so common HTML transition to wordpress issue
- Single-page.php template file name not shown
- WordPress custom template not showing in the list of available templates
- How to display custom post type?
- Pagination issue with tag.php
- How are the HTML classes generated?
- Page Template with Sidebar Naming Convention?
- Blog page won’t show Blog template
- How can I abstract code out of a template by using functions.php
- how to change already posted blog to custom template wordpress?
- WordPress change title with custom dynamic
- template with multiple post loops for multiple widgets [duplicate]
- Random home page at each refresh between array of page IDs
- Do not trigger page 404 on custom template
- How can I pass a variable from a template to header.php of a theme
- Change Page Template Based on URL Rewrite in WordPress
- Show a custom template, no matter the page being viewed, if the user is not logged in
- printf, translation and the_author_posts_link()
- Tag Posts showing in wrong places
- front page won’t change templates
- Including 2 Negative Is_Template Conditionals in header.php [closed]
- Add custom card template to masonry layout using Essential Grid [closed]
- Where is the general html template file?
- How to limit block activity (insertion/deletion) to inside of a Block Template on the Admin Screen?
- WordPress template restored by mistake