The following plugin or his modification might be the solution for you.
Automatically adds menu items by category.
However, the first item must be added manually, and then you must click to automatically add subcategories in the menu item.
If I know correctly, it only adds categories.
No blog posts or pages.
Plugin:
- Add Descendants As Submenu Items
https://wordpress.org/plugins/add-descendants-as-submenu-items/
Related Posts:
- How to create an automatic MultiColoumn MegaMenu with Categories WordPress
- Custom Nav Walker menu – Display category count
- Reflect nested categories in appearance > menus
- How to create a widgetized sidebar for every category dynamically?
- Category menu item and its last 10 posts as sub-menu
- Display all posts with same title
- Is there a function to cause empty categories not to show in menus?
- Assign different category colours to different categories in the main menu
- Keep active class in post page
- Auto add pages to category menu
- How to show empty category in admin menus search
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- Automatically add product_categories to nav_menu
- show posts names and links in the sidebar list as categories child
- Add Icons to the Product Category Sidebar Widget WooCommerce
- Add Product categories to WordPress menu without losing hierarchy
- Custom Category/Subcategory structure
- WordPress menu that shows all posts in a certain category like w3schools
- Add a specific category at a specific place to the menu that uses wp_list_pages
- Multiple menu items highlighted
- wp_nav_menu not highlighting the current category when viewing a single post
- Show recent posts in menu?
- Custom sidebar on category pages
- Show Different Custom Menu on Different Category Pages
- Open subcategories in submenu on click in primary menu
- How to add Categories to the top menu of the website?
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- Looking for the best solution to build this Blog structure? Picture attached?
- Nav menu category links not showing
- Show number of articles in menu
- How to show only one category in breadcrumb navigation
- Automatically adding categories and authors in custom menu?
- Hard coded main navigation
- Highlight wp_nav_menu when category is selected
- Display category-specific comments in sidebar
- Class active for Archive link – looped out
- Menus don’t work after 4.4 [closed]
- category permalinks
- Create menu / submenu from category subcategory and posts
- wp_list_categories in in nav_menu
- Different menu navigation per category
- WP admin broken. Not saving catgories or adding categories to menu
- Creating Category Specific menus
- Custom Walker for wp_list_categories
- How do I make the category sidebar widget (stock) display the total # of posts including those in subcategories?
- Create menu locations for each category in wordpress
- Building Menu from Woocommerce Product Categories
- Hooking to walker_nav_menu_start_el to insert list of subpages
- Show subcategories on a parent category page
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- Give Children Unique ID’s
- Change div background acording to the selected category
- WordPress list categories dropdown with parent-child relation and child under it’s parent
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- Searching for a category returns nothing if category is empty
- sidebar troubles, taxonomy trouble
- Global navigation in multisite: problem with categories
- How to automatically generate custom menu item from categories?
- WP-CLI Add category as menu item main-menu
- Excluding current category from sidebar’s post widget, elementor, query-id
- Categories are not available AT ALL under Menus
- Custom sidebar isn’t showing up on sub-category posts
- How do I get conditional sidebars for specific category archives and posts
- ADD DYNAMIC attribute for category to accordion
- How to remove an item from a custom Walker_Nav_Menu
- How to add all subcategories as submenu in WordPress menu
- How to edit woocommerce sub-category page
- Display menu in category and sub category
- WordPress category title not update in navigation menu
- Function add class to second menu specific items if the page has a certain category
- Dynamically display sub-categories on primary menu without adding them
- Show alternative menu based on page template AND post category
- Sidebar by Category Conditional Statement not functioning
- Menu with category 2 category combined
- Print categories and most viewed articles
- omit categories from main navigation menu
- How to list categories by page id in wordpress
- Tag Menu items based on their categories
- Loop doesn’t work
- Backend – Categories and Menus conflicts
- Hide category links if there is nothing in the categories – Main Navigation submenu item
- Using categories and pages in menus
- Category menu that filters out empty categories
- Conditions for single post
- How can I add a Categories page link to a menu? [closed]
- Right way for setting categories
- Sidebar Categories change arrow when subcategories are shown on click
- Archives and category of authors
- Make three menus with three category levels
- How to add the sidebar in all category page
- Remove the current item from a menu
- Chained drop-down menu for custom taxonomy using chained.js
- How to prevent uppercasing of menu titles
- Categories not shown on sidebar
- Update wordpress menu with woocommerce products
- Display different sidebar based on search results from one category
- Adding 400 product categories with their hierarchy to a navigation menu
- Hide product categories if empty by leaving them positioned in the same place in the menu