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
- Redeclare a function in a child theme
- How to override a function when isn’t at functions.php
- Issue with get_theme_mod returning a blank value instead of the saved value
- Removing custom background and header feature in child theme
- How to override function in functions.php of parent theme?
- Hourly Routine Not Firing ( wp_schedule_event() )
- syntax for remove_filter in parent theme with class
- which is the function that removes accented vowels?
- Overriding core functions in child theme
- Function in Child Theme not overriding Parent Theme function [duplicate]
- Child theme – copied some files from parent to child website still uses parent files
- Customising widget titles/headings in WP 5.8
- Overriding methods in a child theme
- Child theme functions.php not executing
- Twenty Eleven Child theme error when attempting to use a rewritten function
- Load parent theme files before child theme functions.php
- Best practice when altering a parent theme function inside a child theme?
- How to make child theme inherit parent custom theme options [closed]
- How can I change the do_action function in footer (copyright area)
- Creating a child theme – functions.php code issue
- Overwriting Parent Theme’s Image Sizes
- changing behaviour of get_search_form
- Translation of theme using child theme
- Add other social networks to TwentyNineteen_SVG_Icons class in child theme?
- WordPress website Rs changed to currency symbol
- Functions in custom theme
- Please Explain the Importing Process of Multiple Stylesheets for Child Themes
- Add custom function to a theme with child theme’s functions.php
- append to existing parent theme function
- Running script based on Category
- Dequeue script to prevent javascript event conflict on wordpress child theme
- Return child theme url
- Got white blank page after copying the functions.php to child theme
- How do I change a parent theme’s function through the child theme?
- Randomizing wp_tag_cloud() in child theme
- Add back in child theme what the parent theme removed with remove_action
- Redirect website domain (including all pages) to external URL after Popup message (few seconds)
- Where do I go to edit this area? [closed]
- Is it necessary to network enable both the parent and child theme for multisite installations?
- How to include any template using Shortcode fuction?
- How to remove admin footer text from inside child theme?
- How to overwrite template.php file
- remove_action not working, even after changing priority [duplicate]
- Do we need to change our child function.php to require/include child dir files when we add an over-riding file.php into the child theme
- How to use parent theme functions in child theme functions.php file?
- Child theme functions.php
- Change custom featured image size in twentythirteen child theme
- Include widget file in functions.php of child theme
- remove_action from parent theme using child theme functions.php
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How to add javascript code into Divi child theme?
- Change default color scheme in twentyfifteen child theme?
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- uninstall a theme programmaticlly
- Strange Theme Error – parent style occasionally showing though child theme
- us states dropdown function and echo in theme template files
- Adding a meta box fields to child theme options page
- Update add_image_size
- Load a Child Theme’s style.css just before the closing tag
- Random text changing to weird icons in both admin & front end
- Register a widget area when a theme option has been saved?
- Blank child theme – functions.php problem
- Child Theme not working – CSS gone
- How do I make my child theme’s CSS update when I save it?
- Which template file to edit to edit homepage in Mystile [closed]
- How to fix enqueue_styles error for a twenty-seventeen childtheme
- How to automatically load Google Fonts on pages only as they’re used?
- post_row_actions filter from parent theme not executing in child theme