You just need to fire the original one, not to remove.
add_filter( 'original_theme_menus', 'your_theme_menus', 1, 1 );
function your_theme_menus( $menus )
{
$new_menu = array(
'footer' => __( 'Footer Menu', 'theme-domain' )
);
$menus = $menus + $new_menu;
return $menus;
}
Related Posts:
- How to change footer credit text in Twenty Twenty One theme with a hook?
- how can I add an icon/image for a child theme?
- WooCommerce shop page to use my custom template [closed]
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- How to remove the Theme Customization Button from the dashboard and themes options page?
- What filters are applied to the_content function?
- Child Theme vs Duplicate Theme Renamed
- Change admin bar to default:off
- How to modify an image block in Gutenberg WordPress 5?
- Edit srcset and sizes attributes in Gutenberg image, cover and gallery – blocks
- Hide a div that is part of all pages on one specific page
- How to add Color Picker in Theme Options for the following?
- wp_get_attachment_image_attributes not working for me
- Adding Action Hooks In Parent Theme For Easier Child Theme Customization
- Display a different theme for not logged-in users
- How to edit bbPress template files – WordPress + BuddyPress + bbPress? [closed]
- Best practices – Should I create a child theme vs. customizing a framework theme? (such as HTML5 reset)
- Add colors to existing color palette without replacing it
- Child Theme not loading parent CSS
- Run shortcode before filters
- Add class to before_widget for all widgets with a dropdown and a counter
- add generated stylesheet from parent theme after child-themes style.css
- add_image_size is scaling, even though crop is set to true
- How to Auto Approve Comments on a Specific Page?
- Change Genesis Tag from Page Template [closed]
- How do I get my child-theme to work with my theme’s includes folder?
- Get password when user registers and save it sha1 into database
- How do I get a parent theme modification from a child theme?
- Passing variable in hooks and filter
- CSS in child theme not overriding the parent theme [closed]
- Modifying JS files in Child-theme
- Optimal solution to develop a wordpress theme?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- Nesting Functions within Functions
- Should I update my _s theme?
- Create a theme by combining a parent and a child theme
- How to keep my custom theme changes after updating genesis child theme
- WordPress nav_menu_css_class theme filter is not being called
- De-registering parent style sheet css recommended?
- Where is the correct place(s) in twentysixteen’s header.php to add a Google webfont?
- customizing the_password_form filter
- Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?
- WordPress Multisite: Have the same header and footer of main-blog on all sub-blogs
- Can a child theme based on Starker theme be released as free to use theme for public use?
- Override Constants in Child theme
- WordPress Genesis Child Theme Filter divs
- Changing order title and featured image in blog post (Astra theme)
- Loading files for theme and child theme (Require)
- Change file name from wp_generate_attachment_metadata
- how can I remove the sidebar from my wp homepage [closed]
- Unhook action from child theme
- Does any theme support child theme?
- Am I supposed to create a child theme for every theme I use?
- Child themes: disabling the parent
- How to Edit the style of header title of Twenty Eleven Theme?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- Child theme style.css versioning
- Cannot figure out how to overwrite files in child theme
- How to add theme support?
- Simple way to get two language WP site
- Removing non native customizer settings from a child theme
- Link to a .po file in a child theme
- Alias to theme folder for local development
- Highlight “Show all” item in wp_list_categories
- When trying to override plugin’s function by theme, my filter executes two times, I want it to run only a single time
- Inheritance of parent theme plugin files in a child theme
- Divi Child Theme not appearing in “Themes” [closed]
- Override template file i subfolders
- What happens to child theme if I change to new version of parent theme?
- Menu item added in wp_nav_menu_items filter is never highlighted
- Include Parent functions.php in Child Theme functions.php
- Injecting a custom sql query into a page/theme
- Select full Image Size on widget “Genesis – Featured Posts”
- Should I use add_filter for functions in function.php of the theme?
- Pass variable to hook. Its possible?
- How to first edit in local WordPress editor on page and the add code?
- Custom Field created in add_meta_boxes reappearing itself again in the default Custom Metabox
- Child theme enqueue scripts using new functions
- Why is it needed to enqueue parent stylesheet in child theme?
- changing blog title to an image using filter function in child theme
- Can´t access child theme´s scripts dependencies found in parent
- Show woocommerce categories on my theme menu styling
- How to override p2 breathe theme plugin in content template file?
- WordPress taxonomy and archive custom class
- Child Theme’s style.css not loading in mobile browser
- Filter categories used with Custom Structure Permalink
- Is it possible to make *.js and folders visible in theme-editor
- add_filter to parent theme helper class function from child theme
- How to properly create a child theme
- Replace function in a child theme
- Can’t remove DIV from hooks in Storefront child theme [closed]
- Renaming a theme so it aids SEO and the theme used is hidden
- filemtime(): stat failed warning within a child theme
- How to wrap all titles generated by Gutenberg “Heading” block with tag
- Overrite parent functions using child functions
- How can I override a require() used in functions.php of parent theme to my child theme
- Derive child theme from separate theme
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- Replace single_template filter with what for default posts?