Solved it by setting container
to false
and then wrapping it manually.
<nav class="main_navigation">
<div class="topper">
<a href="https://wordpress.stackexchange.com/questions/203496/<?=get_home_url()?>" class="intranet">H</a>
</div>
<?php wp_nav_menu(array('container'=>false) ?>
</nav>
Related Posts:
- Replace a menu with widget or a custom template file programmatically
- Warning at top of website & top menu gone
- How to add a data attribute to a WordPress menu item
- Issues with title-tag and document_title_parts
- Get the ID of the page a menu item links to?
- Add container to nav_menu sub menu
- Get menu object from theme_location
- Import WordPress XML File from Within Functions.php
- Define custom Page Template without its own .php file
- Does hooking into the same action multiple times drain memory?
- How to influence the information displayed on widget inside wp-admin
- Remove Container Element From wp_nav_menu() Markup
- Extract image from content and set it as the featured image
- Is there a hook or function I can use to display all theme files being used on a current page?
- Issue with get_theme_mod returning a blank value instead of the saved value
- Using wp_get_nav_menu_items() to list children of children pages
- Add action hook conditionally – only when home.php in use
- Show modified time if post is actually modified
- why doesnt is_home() work in functions.php
- How to target specific wp_nav_menu in function?
- How to create thumbnails for PDF uploads?
- Implementing DNS Prefetching with WordPress
- Help me to understand wp_header() and wp_footer() functions
- How can I tell if I’m on a login page? [duplicate]
- In WooCommerce I need to modify the thankyou.php page [closed]
- Breadcrumbs showing Parent and Child Pages
- How can I add an extra WooCommerce hook
- How to remove a metabox from menu editor page?
- Why get_header() or get_footer() does not run twice if called in the same php file?
- Custom menus displaying all pages instead of set pages
- Return only top-level navigation items from a menu using wp_get_nav_menu_items
- Remove Page Title from Static Frontpage
- How to activate “Description” metabox for menu item programmatically?
- Dynamically add sub-categories to any category in the menu
- How to override WordPress registration and insert an auto-generated username?
- Set default options for inserting media
- Change parent theme file function in child themes functions.php
- Adding extra SVGs to TwentyNineteen child theme using class TwentyNineteen_SVG_Icons
- How to hook into the quick edit action?
- Breadcrumb how i can display page title with parent > child title with permalink ? any Idea
- gform_after_submission content appears immediately after , not in post body [closed]
- Two different menus for two different locations?
- How do I change parameters without changing the core
- automatically adding submenu items
- Is it possible to be more page/post specific with admin_enqueue_script?
- Unregister Nav Menu with fallback?
- How to programmatically set a menu to be the Primary Menu?
- WooCommerce add_action hook results in 500 error
- Issue adding text after short description on product pages Woocommerce [closed]
- Editing or filtering the output of the Genesis navigation
- Customize “the_posts_pagination” and put list instead div
- Increment price for Woocommerce Minicart [closed]
- how to change link of some wordpress pages
- Make menu structure match page heirarchy on page parent change
- Gravity Forms field entries into wp_query loop [closed]
- Post thumbnail relative link and HTML modify
- Proper way of using functions in action hook?
- How to preserve edits to Name or Slug of term when using wp_update_term on save?
- Is there a way to add a class to non current menu item?
- Accepted arguments value in hook functions
- Logout hyperlink within a sub-menu
- Get current page_id before loop, in functions.php
- Menu fallback “menu_class” rendering a “div” instead of a “ul”
- How to properly add function called by action-hooked function to functions.php?
- CSS for menu item added via functions.php
- How To Remove Duplicate Menu Locations
- Which action hook to use for function?
- Change size and crop medium_large images
- Gravity Forms – Using a Form to Pre-populate A Gravity Form [closed]
- Where do I add html code to the menu div?
- Replace menu links with # and add name to its li
- Running a script before absolutely everything
- How do I create page navigation linking to each H2 within the page? [closed]
- Function issue with Walker_Nav_Menu [duplicate]
- Inserting a functions output after the content
- How to display post content instead of excerpt
- Add function to every post?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘greenday_head’ not found or invalid function name
- Why does the ‘wp_nav_menu’ function work only until a menu is created?
- Modify a function without editing template
- Custom Static Links For Specific Menu Right Before/Next The wp_nav_menu Function now working
- Don’t delete a page if it holds users
- Make parent page only link to first subpage
- Problem only while using require_once() within functions.php
- How to add nav menu items to a specific position within a menu
- Passing values from a widget to a function within a plugin
- wp_nav_menu, walker class, categories as classes of li
- Which action does wp_update_user triggers?
- Hard-coding custom menu elements for menu manager
- How can I get my Script to work on the Login page?
- Trigger a custom function when option are saved in admin area
- Execute a ultimate member action when user role is updated
- Add other social networks to TwentyNineteen_SVG_Icons class in child theme?
- How to use wp_trash_post (or wp_delete_post) for deleting a (or all) post(s) from custom post type?
- What did I do wrong in my functions code, that will not change the “Get New Password” text to “Send It”?
- Custom Nav Walker sub-menu
- How to fetch the name of the active menu?
- Footer disappears when using the_content ( )
- Categories as main menu items and subcategories as nested lists
- Get User Login Data (date, time… )