You can use get_stylesheet_directory()
to refer to your child theme, then you can point to your file.
require_once( get_stylesheet_directory() . '/includes/theme-styles.php' );
It will load your file and replace the parent theme file.
Related Posts:
- How to override parent functions in child themes?
- remove_action on after_setup_theme not working from child theme
- Declaring an instance of class included in parent theme from child theme functions.php
- override parent theme configuration in child functions.php
- Is it possible to override this function/class in a child theme?
- Override parent theme function that is not hooked or in the functions.php file
- add sidebar area to header of child theme
- Child Theme Not Overriding Parent Theme
- Should I ask a theme developer to use locate_template rather than require_once
- Using the child theme functions.php to change the customizer.php on parent theme
- override parent theme configuration in child functions.php
- Proper way of using functions in action hook?
- Avoid loading css from parent theme
- Echo tags used to describe the theme
- Problem only while using require_once() within functions.php
- How can I change a function in a parent theme via a child themes functions.php
- How to load parent theme template parts in child theme
- How would I go about replacing this function in my child theme located in inc/template-tags.php
- Enqueuing latest version of jQuery into a child theme returns a blank screen
- Not all CSS elements transferring via parent to child?
- Can’t switch to a child theme using filters template, option_template and option_stylesheet
- overwrite code snippet from parent to child theme
- get_template_directory_uri() links to child theme not parent
- Removing parent theme CSS without editing parent theme
- How to override this theme function in child theme
- get_template_directory() – references parent theme directory
- Setting Up Child Theme To Take Priority
- How do I create a child theme from PowerMag theme
- Getting back a blank WordPress site following functions code edit
- Override parent theme function that is not hooked or in the functions.php file
- Problem with Child-Theme using of foundation-framework [closed]
- get_template_directory_uri pointing to parent theme not child theme
- How to customize the_archive_title()?
- Override parent theme translation on child theme
- Adding a second email address to a completed order in WooCommerce [closed]
- How to load scripts/styles specific for a page
- Is there any global functions.php file which works for any theme?
- Include files in child theme functions file
- Display random categories on the front page (Finding and Editing Theme Functions)
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Redeclare a function in a child theme
- How to override a function when isn’t at functions.php
- Child theme functions.php do I use php open and close tags?
- Difference between stylesheet_directory and template_directory
- Issue with get_theme_mod returning a blank value instead of the saved value
- One Child Functions.php for Multiple Child Themes
- Removing custom background and header feature in child theme
- How to override function in functions.php of parent theme?
- Implementing DNS Prefetching with WordPress
- Hourly Routine Not Firing ( wp_schedule_event() )
- Child theme – overriding add_image_size by a child theme [duplicate]
- syntax for remove_filter in parent theme with class
- How to override functions.php in child theme?
- which is the function that removes accented vowels?
- Overriding core functions in child theme
- Function in Child Theme not overriding Parent Theme function [duplicate]
- Change parent theme file function in child themes functions.php
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- Theme Demo in live Site
- Reuse variable in hook callback
- Child theme – copied some files from parent to child website still uses parent files
- Customising widget titles/headings in WP 5.8
- How to override filter in child theme?
- I created a child theme and it doesn’t work for some of the css files
- Unregister Nav Menu with fallback?
- Override parent theme translation on child theme
- Changes to functions.php not working
- Overriding methods in a child theme
- How to override enqueued styles using a child theme
- Where does function_exists() look to decide whether a function exists? [closed]
- Override the core function locate_template
- Theme-Config tab in admin Pannel?
- Child theme functions.php not executing
- How to store / access files in child theme folder
- Make “sidebar template” the default template for new pages
- wp_enqueue JavaScript in child-theme (ReferenceError) using Search & Go
- Overwrite Parent Theme add_image_size in Child Theme
- Twenty Eleven Child theme error when attempting to use a rewritten function
- How do I get a child theme to load scripts from the parent theme?
- Is It wrong to use oop approach on functions.php?
- PHP files included in functions.php don’t seem to work
- how to edit functions.php in a child theme
- Load parent theme files before child theme functions.php
- How to load parent theme style.css?
- How to remove howdy dropdown menu content
- Best practice when altering a parent theme function inside a child theme?
- How to make child theme inherit parent custom theme options [closed]
- Does theme update also update a child theme zip
- Include files in child themes, declare in functions.php
- Hook specific functions if on a specific admin page
- How to remove set_post_thumbnail_size() in child themes?
- How can I change the do_action function in footer (copyright area)
- functions.php mistakenly deleted
- Creating a child theme – functions.php code issue
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- Overwriting Parent Theme’s Image Sizes
- changing behaviour of get_search_form
- Child Theme files – what is needed?
- Child theme within a child theme?
- How to load jQuery in the footer – nothing works for me