You can’t order it through the wordpress Menu if you’re using a filter. The worpdress menu system gives you the option to add Categories just as you add pages. If you don’t see it, go to Appearance -> Menu and then go to Screen Options (top right of the page) and make sure the option Categories is checked.
Related Posts:
- Mega Menu Walker
- start_lvl Ignored in Custom walker_nav_menu
- Displaying Logged-In User Name in WordPress Menu
- Hide main div if wp_nav_menu is empty
- Check if a menu is empty?
- How to remove a metabox from menu editor page?
- Hide a menu-item and its submenus and display a ‘Log in’ link if the user is logged out
- The best way to customize “nav-menu-template.php” to add if the ‘link_before’ is “checkbox”
- How to add active class to custom menu using while loop and wp_list_pages
- WordPress menu deletes when trying to add a hook
- Logout and redirect using the WP Menu
- Have CSS Class Added with `is_page()` WP function
- Add itemprop Schema.org Markup to li Elements in wp_nav_menu
- Run a filter when a walker runs
- Menu — How to add “current-menu-grand-ancestor” css class
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- Automatically adding new post categories to menu
- Add data attribute to each li in menu
- Unique icons next to each WordPress menu item
- Child page menu in sidebar
- Title Case WordPress Menu Items
- WordPress Quick Question . How to Get Parent Link in Submenu in My Code
- Detecting classes, adding widgets, and adding divs in with a Nav Walker
- Add item to top of menu using a filter in functions.php
- Register a menu – Error Header
- Add login hyperlink to secondary navigation menu
- Add value to new attribute inside WordPress menu items
- Get the name of menu item with wp_nav_menu
- How to add aria role and schema markup to custom walker container
- How can I use custom menus with a Bootstrap WordPress theme?
- Nav-Menu not showing up
- Remove submenu item from list
- Dynamic Menu drops pages?
- Menu not styling. New menus functionality giving me a headache
- how to changes mobile menu toggle breakpoint in WordPress
- How to display already created menus via php?
- Providin exception to WordPress wp_nav_menu Custom CSS Classes
- How to put 2 php codes in functions.php without site crashing
- Menu not updating for logged in users after redirect
- Add element after navigation element title don’t works like I expect
- Add parent menu item in sub-menu in custom nav_walker
- Fatal error when using array_diff() function inside of wp_update_nav_menu hook?
- Pulling a variable into the wp_nav_menu function
- How I can add div to menu?
- WordPress adding in site URL to header links
- Custom Navigation Bar JSON Syntax Error in JSON at Position 0
- How to add different menu items on different menus?
- how to get permalink structure with php
- Removing unnecessary wordpress files
- Use is_product_category() properly
- Theme Options: If There is No Input, Don’t Display?
- Style wp_page_menu() items
- Placing raw HTML inside a WordPress shortcode
- Convert all images to PNG on file upload
- If search results empty then execute certain code
- Way to querry data (tags) from a wordpress database?
- Using fwrite() and “a” appends multiple times instead of once
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Change list item content in menu navigation to add a child element with specific class
- Making BuddyPress Activity Stream (Post Type) Featured Images Clickable [closed]
- Keyword checking in Gravity Forms
- how to refresh div on template part?
- Filtering a function’ output for a new continued function
- Shortcode to find and replace URL
- Deleting Certain terms from appearing on the front end as links
- Function Reference Documenting Template Tags for use in Custom Theme Templates?
- Please show me how to use an if/else statement in combination with wp_enqueue
- If Array Values Match Another Array’s Values, Then
- entire JS folder not loading in a WP theme
- Menu Items fail to save correctly, cause reset of related page metadata
- Dropdown menu for categories
- Else/If Statement to Display Photo Descriptions
- Count foreach and display in menu php
- How to correctly load a different version of main menu based on the user language in WordPress? Is it a good solution?
- Display additional page templates and a sidebar on plugin activation
- Dynamic menu with custom post types
- Add a Metabox checkbox to the Page Edit screen of wp-admin , which only certain roles can see and Makes only certain roles able to Edit said page
- How to make only the valid active page of a multilevel menu active with – “.nav li.current-menu-item a”?
- Create a new account on site B with data from the purchase of site A
- Why is the current page loaded in the pop-up window and not the specified one?
- if get_post_meta is empty echo a placeholder or shortcode
- PHP multiple forms, same page, isset($_POST[]) not working?
- Redirect User when they click Menu Option
- Where do I implement this display of User Meta Data, and how to put it in a table?
- Add ID to output only for first option
- Display text of price (minus 20%) on every product page in a sentence.
- How to make 2 similar functions more efficient
- Add end mark at the end of every article
- Functions are causing errors
- Can’t remove menu items added by plugin
- Global variables and re-use
- Link to external page has wordpress blog-url inside
- AJAX: WordPress filters inside $html do not work as intended
- Dynamic Email Handler with ‘header (“Location: …’
- WooCommerce: write featured image dimensions to custom fields in product’
- Generate and upload screenshot as featured image for user-submitted post
- a problem in class in class-wp-hook.php
- transition_post_status hook, works – but not if the post is new
- change title of page dynamically
- Custom plugin doesn’t show in admin menu – when code added, displays an empty page