My friend, just take a look at their codex here https://codex.wordpress.org/Function_Reference/get_footer and you will know how. In your case, no need to add these
require_once get_stylesheet_directory() . '/footer.php';
require_once get_stylesheet_directory() . '/footer-set.php';
require_once get_stylesheet_directory() . '/footer-tag.php';
You only need to repair your tt_get_footer
like this
//Get Theme Specific Footer
function tt_get_footer() {
$footer = get_option('tt_footer_layout');
if($footer == 'tag') {
get_footer('tag');
} else if ($footer == 'set') {
get_footer('set');
} else {
get_footer(); // This one will use footer.php
}
}
Then you will get your child theme footer overriding
Related Posts:
- How to override JavaScript files in child theme?
- How to cache bust a child theme style.css
- Is a text-domain necessary for a child theme
- @package & @subpackage: how to use with child themes
- Hiding Parent Theme
- get_stylesheet_directory() vs get_template_directory() for child theme
- Get parent theme version
- Optimal approach for replacing the 8 header images in a child theme?
- How to transfer changes to a child theme?
- WordPress master + child themes + Git workflow
- something like is_childtheme()
- How could child theme be different than parent theme if I haven’t made changes?
- Child Theme, Functions.php Issues
- Redefining function in child themes
- How to disable updates in WordPress theme
- Child theme error “Template is missing”
- Dequeue only stylesheets but not inline style added using wp_add_inline_style
- replace parent theme images in child theme
- Recommended way to load / enqueue parent and child stylesheet to enable cache busting
- Altered media sizes (in dash), not updating to existing images/posts
- How do I make wp_localize_script variables available for child theme?
- HTML head-tag get broken in my child theme
- iPhone Safari full size & PC versions different
- Where is wp-content/themes folder?
- Priority loading file css in child theme
- Enqueue Child CSS to Load After Bootstrap CDN
- Localization: Textdomain of Child teme
- How to add child theme after using parent theme for long
- How to remove a script that was queued up in the footer in a parent theme
- Prevent a base themes css file from loading
- Child them function.php ‘parent-style’: should I name this as parent theme name?
- Cannot dequeue script in child theme
- Remote install won’t find Parent theme when intalling Child Theme, but local install does
- configuration for child theme
- How do add a the style-mobile css from the main theme to the child theme?
- WOW.js animations work on one server, copied to new server, and stop working [closed]
- Child theme style.css isn’t overwriting parent style.css
- How to extend parent theme sections and settings to Options Tree
- Activate Child Theme .mo and .po files
- GET parent theme throws 500 error in console, site works fine
- Override file inside inc in child theme
- Child Themes of Non-WordPress Sanctioned Templates
- colorpicker WP 3.5 path to stylesheet when called from a child theme
- add function to thematic hooks [closed]
- Child themes, over riding in the parents theme
- All Titles and Menus changed to “CHILD THEME LOADED”
- ‘Recent Posts’ links open in new window, without copying the ‘WP_Widget_Recent_Posts’ class
- Best method to add style sheets into child theme?
- Override post-formats in child theme
- What is the correct workflow for modifying child themes?
- Child Theme Variables
- Storefront theme : Add Categoy to recent products section
- Is there any way to put the Google Tag manager Identification code into the child theme?
- Getting an error. Need to add favicon in my child theme functions.php. What’s wrong?
- Creating a child theme: How do I find the template name of the parent directory?
- Modifying a child theme
- In modifying a file in a subfolder in a child theme, do I need all the files in that sub folder in my child?
- design has been broken in WordPress child theme [closed]
- Child Theme over write rules
- Changing a Child theme’s name on MAMP localhost
- wp_enqueue wont work on some files?
- Set a link in child theme style.css to jump to #main [closed]
- Can’t create child themes. “Stylesheet is not readable.”
- CSS stopped working after line 150 [closed]
- WordPress + Child Theme = Am I missing something?
- How to make a child theme independent of parent?
- Sliding-Doors Child Theme
- WordPress Child Theme – twentyeleven
- Google Analytics on a staging site
- How to replace function in child theme?
- Show excerpt and not full post in Twenty Seventeen
- Reenable disabled Elementor widget via child theme
- Can only override parent theme styling with ‘!important’ in child style.css
- Fatal error: Cannot redeclare load_stylesheets() (previously declared in
- Change child theme after updating parent theme
- How to set a custom post type as home page and set post page to regular post?
- Including code from other themes in child themes
- Updating an imported child theme from the wp-admin UI
- “Cannot modify header information – headers already sent by” while using get_stylesheet_directory_uri()
- Copy files from main to child theme (after designing website)
- How to get custom translations from child theme to be loaded?
- Twenty Seventeen – Navigation bar, logo, header size
- Admin options from parent theme do not bind
- using a child theme, after enqueing my js file it is loading before jquery
- Can I still switch to a child theme?
- How can I load child theme stylesheet with cache busting string and remove same stylesheet loaded by parent theme?
- Need help installing Hoffman child theme
- Adding translation files to a child theme
- is it ok to dequeue default parent stylesheet from custom page templates in child theme?
- Changing header banner dimension in child theme
- child index.php does not overwrite parent index.php in twenty fourteen theme
- WordPress picks parent theme’s home page template instead of the child theme one
- What the mean about ‘child theme’?
- Child theme template value for style.css for parent in different folder
- Run two concurrent themes in one installation
- creating a new child theme
- How to activate the child theme in WordPress?
- About wordpress child themes
- Body classes in child theme
- melville and its child theme