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?
- 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?
- Change admin bar to default:off
- Edit srcset and sizes attributes in Gutenberg image, cover and gallery – blocks
- How to add Color Picker in Theme Options for the following?
- 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)
- Child Theme not loading parent CSS
- Add class to before_widget for all widgets with a dropdown and a counter
- add_image_size is scaling, even though crop is set to true
- 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?
- CSS in child theme not overriding the parent theme [closed]
- Optimal solution to develop a wordpress theme?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- Nesting Functions within Functions
- Create a theme by combining a parent and a child theme
- How to keep my custom theme changes after updating genesis child theme
- De-registering parent style sheet css recommended?
- 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
- Override Constants in Child theme
- WordPress Genesis Child Theme Filter divs
- 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?
- Child theme style.css versioning
- Cannot figure out how to overwrite files in child theme
- How to add theme support?
- 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
- 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]
- Menu item added in wp_nav_menu_items filter is never highlighted
- Injecting a custom sql query into a page/theme
- Select full Image Size on widget “Genesis – Featured Posts”
- Pass variable to hook. Its possible?
- Child theme enqueue scripts using new functions
- Show woocommerce categories on my theme menu styling
- Child Theme’s style.css not loading in mobile browser
- 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
- Overrite parent functions using child functions
- 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?
- Need help with adding templates (archives and sitemap) to WordPress child theme
- 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
- Overide enqueue in non plugable function via child theme
- How to disable thumbnail filter for a specific template part or image size?
- CSS class on last post in loop ( custom query )
- Starting point for custom Themes [closed]
- Why still output /wp-content/themes/twentynineteen?
- Do I need to create a child theme for JointsWP
- Questions from a new WP Dev [closed]
- jQuery from parent theme loaded with many other scripts in a single min.js file
- tiny_mce_before_init: ‘exact’ => true has no effect
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- Translate a child theme with pure PHP and gettext
- Different themes on one site
- Remove h1 from 2015 theme
- What might cause a featured image not to display?
- How to conditionally add a wp_filter
- Add content after get_header
- Filter didn’t work on content class (hybrid_post_attributes)
- How to set default values for edit_post_link() in my theme?
- Pagination don’t work with active filters
- How to register dynamic settings in WordPress Customizer?
- restrain filter on get_the_excerpt to queried item in stead of current post
- How to display home page last modified date in anywhere of wordpress theme?
- WordPress wp_get_current_user returning blank values until refresh
- How to show metabox on page if it is using a template
- Is_single not working properly in genesis
- How to test another theme in a live WordPress website instead of live preview?
- Move the social media icons to the left of a WordPress nav menu for Soledad child Theme
- Alt header logo and link for specific pages
- Debugging slow WordPress Theme Customizer (Any option similar to Query Monitor)?
- Editing Them with Child Theme Basics [closed]
- Child theme in separate WordPress Install
- How to show children pages as array
- How do I remove p tag *insertions*? Disabling `wpautop` removes manual tags
- How to add custom nav_menu_css_class to certain menu only?
- How do child themes work?
- Protecting work on client’s web host
- Why WordPress gets old templates code instead of the last updated ones
- Suppress the_content filter in a nested loop
- adding navigation to genesis themes
- What to do when child theme is out of date with parent theme
- Extracting Distance from FacetWP Proximity Function to Display in WordPress Template
- Image Size wrong during upload
- Twenty sixteen – full height