Solved! just need to change
get_theme_file_path()
to
get_template_directory()
Related Posts:
- How do themes provide support for child themes?
- Attributing a version number to a child theme’s main stylesheet
- Preserving theme settings in child theme
- Is it possible to make grandchild themes?
- how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?
- Issues enqueueing parent & child theme stylesheets with revised Codex method
- Why is the Child Theme Stylesheet Not Loading?
- get_parent_theme_file_path vs. get_template_directory
- Do all files in child theme override the parent?
- Child Theme Performance
- get_template_directory vs get_stylesheet_directory
- Under heavy cache conditions, updating the parent theme don’t reflect changes with child theme enabled
- How can you change default color scheme in a Twenty Fifteen child theme?
- When activating a child theme, what core settings have to be reset ie; Custom Menus etc?
- Hwo to turn off “get_parent_theme_file_path” in child-theme?
- Overriding parent theme file
- How can I make new .css file in child theme override styles in child theme’s style.css
- Enqueue styles properly in a child theme and stylesheets location
- Enqueue more than two CSS styles in a child theme functions.php
- Proper way to make a tweaked theme into child-theme setting?
- Promoting child theme to stand alone
- Activating child theme returns “active theme is broken”
- How are updates to the style.css file in child theme recognized?
- How do I set up a child-theme without using @import
- How to change default header image dimensions in twentyfourteen child theme?
- Overwrite CSS with without deleting it
- Can’t override footer.php in child theme
- Child themes & updates?
- Where to put custom PHP files in a child theme?
- Where is wp-content/themes folder?
- Child Theme Path Being Ignored With wp_enqueue_scripts
- Why is “get_template_directory_uri” pointing to child theme?
- How to make child theme ignore a parent themes template
- Conditionally load child themes
- Priority loading file css in child theme
- Is my child theme working properly
- Enqueue Child CSS to Load After Bootstrap CDN
- Child theme style repeated
- Overriding a parent theme folder in the child theme
- How to remove a script that was queued up in the footer in a parent theme
- How do I override a sidebar that is registered in a parent theme when using a child theme?
- PHP loop that selects posts with a particular in-post option
- Child Theme Translations with PoEdit
- Specific custom child theme page
- Someone created a child theme, but I need to modify it to reorder content. How do I access the child theme?
- Child Header.php Not Showing On Other Pages
- Confused about how to use wp_enqueue_style
- How to extend parent theme sections and settings to Options Tree
- Order of stylesheets in child theme
- Localize strings for translation
- Add head and body function for google tag manager in child theme
- Child theme does not load all style
- Adding a title below the logo
- Can I add customizer sections in the Twenty Seventeen theme?
- How to create a parent theme for accesspress parallax theme?
- Creating child-theme from other template files
- Child theme not overriding ‘includes’ folder on server – on localhost it does
- Child style loads before all parent styles
- Modify a parent theme’s PHP file, and save in child theme
- child theme – moved files from twentyeleven theme to child them, now not working
- Which is the child theme and which is the parent theme?
- Storefront theme : Add Categoy to recent products section
- Getting a list of the PHP files included to generate a page
- Show full post in category archive pages in twenty-nineteen theme
- design has been broken in WordPress child theme [closed]
- Child theme not importing parent styles
- Updating my WordPress.org version will cause my site to break… What can I do to avoid this?
- style.css of child theme is not overwriting parents style.css for .box
- CSS stopped working after line 150 [closed]
- Override file in parent theme
- disable jscrollpane in specfic div [closed]
- Twenty ten or Twenty eleven as base for responsive child theme
- use child theme for mobile version
- How to replace function in child theme?
- Can only override parent theme styling with ‘!important’ in child style.css
- Can’t seem to get javascript code working from child theme
- Change child theme after updating parent theme
- issue on creating child theme
- Remove Stylesheet by URL that has not been enqueued
- Swap SVG icons in child themes
- How to fix error message to edit sidebar widget text on a livesite childtheme?
- Best practice when a theme already has a parent theme (so can’t create child theme)
- How does a Genesis child theme understand that the Genesis theme is the parent theme?
- Child Theme Can’t Find Parent In a Folder
- Problems with child theme
- Loading my main.js file from my child theme
- Alpha-store-child does not save changes
- why child theme style sheet in wordpress editor is blank?
- Is it possible to slow down site with a bulky child theme?
- Installation directory for WordPress and child theme
- How to Create a Child Theme for a Site that Already has a lot of Customization?
- How to include only modifications in child theme?
- Change default header image in twenty fourteen child theme
- What are some best practices for switching the child theme for a production site?
- Child Theme > Template
- Functions.php in Child Theme – load JS
- Edit php files in subdirs in a child theme
- wordpress every page returning 500 error
- WordPress | enqueue_scripts in a child’s theme returns error
- Child theme css not loading when declared in parent functions