As per @toscho’s comments, the parent theme is always loaded after the child theme’s. In this way, if you want to override a parent theme’s function you can rewrite it and the original will be ignored, whereas any functions you didn’t rewrite are loaded and available.
There is no need to do it the other way around. If you are just loading additional files and defining actions and filters (as you should) there is no reason to worry about the order in which both function files are loaded, because at this point WP is just making an inventory of code to execute, not actually executing.
So, that gives you plenty of freedom to define additional settings in your child theme’s functions.php
, even if the parent’s one has not been loaded yet.
Related Posts:
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Add colors to existing color palette without replacing it
- Child Theme not loading parent CSS
- add_image_size is scaling, even though crop is set to true
- How do I get a parent theme modification from a child theme?
- CSS in child theme not overriding the parent theme [closed]
- Optimal solution to develop a wordpress theme?
- Should I update my _s theme?
- Create a theme by combining a parent and a child theme
- Override Constants in Child theme
- how can I remove the sidebar from my wp homepage [closed]
- Does any theme support child theme?
- Am I supposed to create a child theme for every theme I use?
- How to remove a file included in parent theme with locate_template() via child theme?
- Cannot figure out how to overwrite files in child theme
- How to add theme support?
- Override template file i subfolders
- Why is it needed to enqueue parent stylesheet in child theme?
- Child Theme’s style.css not loading in mobile browser
- Renaming a theme so it aids SEO and the theme used is hidden
- Overrite parent functions using child functions
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]
- Create a child theme from multiple themes
- Starting point for custom Themes [closed]
- Simple child theme modification but links are broken
- Why still output /wp-content/themes/twentynineteen?
- Alignment Problem [closed]
- What $handle does WordPress use for a theme’s implicit style.css?
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- LESS not working in WordPress [closed]
- Remove h1 from 2015 theme
- Converting a theme to a child theme in a network
- How to modify theme content in Thematic?
- Why front-page.php doesn’t show content of file instead shows loop
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How can I access variables from theme in child theme? [closed]
- How to display home page last modified date in anywhere of wordpress theme?
- What is an alternative to not using child theme to customize a WordPress theme?
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Child theme menu not appearing in Twenty Seventeen
- How can I fix my theme header for my CSS stylesheet?
- How to test another theme in a live WordPress website instead of live preview?
- Update modified Shopify third-party theme [closed]
- how can I re-utilize and class on a child theme
- Providing updates to your WordPress theme
- How do child themes work?
- How to migrate the menu from the site on my own theme in WordPress?
- adding navigation to genesis themes
- Standard Way To Do Custom Work Within A Page?
- Image Size wrong during upload
- Adding Action Hooks In Parent Theme For Easier Child Theme Customization
- register_sidebar ignores ‘id’ and ‘class’
- Best practice (forward compatibility) for theme options
- Single Page WordPress Theme – Using page templates
- Returning Variables back into a template
- Which theme foundry has clean coded themes, where code is poetry [closed]
- Retrieve data using wpdb to use for customizer controls
- WordPress not registering Theme Customization Section
- Stylesheet not linking
- How to control layout of posts on page?
- Theme Development for WordPress Multisite Installation
- Internal error 500 accessing Theme > Customize
- Theme Development: Starter Content after hook
- Change locale by detecting viewer’s browser language setting and let them choose prefered language after
- WordPress Unite Theme: Footer isn’t sticking [closed]
- Is accessing theme and using customizer GPL distribution?
- How to enqueue javascript for WP Customize options sidebar?
- WordPress 500 Internal server error when activating custom theme [closed]
- Customize how a WordPress theme looks like in the Theme Selector
- How to set a page as homepage in stead of the newspages?
- WordPress Theme Validator?
- Template for landing pages
- html5-reset theme does not show the image [closed]
- What exactly is “wordpress theming”? [closed]
- Do I need to re-import Susy to work with it in a child theme? [closed]
- Valid SQL query not returning results
- Change Image Sizes for Mobile Theme
- What is the difference between Twenty eleven & roots framework?
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- How to change listing type permlink?
- Adding popup support to the theme
- How to make updatable custom WordPress theme?
- Is it possible to echo a woocommerce prouct attribute discription?
- Duplicate child theme incl. design changes
- How to connect two child themes on different sub domains to the same base theme
- How to customize the colors within a stylesheet using a WordPress setting
- On wordpress, how do i require specific dimensions from user uploads only
- WordPress Theme Developments – Start from another theme
- Slider should be display in home template [closed]
- Modify comments_popup_link output
- Can you create a custom page with content in the center already defined?
- RSS feed url showing page not found. How to solve it?
- Extending arrays in parent theme without completely overriding the files
- How to convert that page to a wordpress template? [closed]
- Toolbox theme using printif statement – help needed understanding code block
- WordPress theme Modifications not showing up on live server
- How to Create a Multi Purpose Theme?
- Custom Single Page Portfolio Theme [closed]
- ways to create customized theme (hard coded – no pagebuilder)