Wordpress Category to Menu - wordpress

I have created several categories with sub-categories, I want to display the category in a menu so I created the menu inside appearance-->Menus, now what I want to be displaying is the created categories(with the respective sub-categories) in the menu. I went to the categoryName, when I selected the Category1 with the hope of getting all the sub-categories automatically, I only get the Category1 back, when I clicked view all-->select all-->add to menu unfortunately it shows all the categories with the sub-category at the same level. Please how can WordPress newbie, that have close to zero knowledge of php programming achieve this task? Or is there any plugin for that? Oh I forgot to mention that the only option I'm seeing is to start dragging(over 200 categories and still counting) and arranging in the menu. Please is there any other way to hasten my task?

Im the menu, you can drag and drop to arrange menus. Drag a menu to the right a bit to make it a sub menu under a certain menu

Related

Wordpress menu and WooCommerce categories

Is it possible to add all categories/subcategories links automatically to WP menu from WooCommerce plugin?
I have many categories (20) and even more subcategories (100+) and I need them to be shown in the main menu at the top, in a hierarchical way.
I have tried from "Appearance->Menu" section to select all the categories at once in the menu, but they were all messed up, no hierarchy at all.
Is there a solution to avoid inserting all the categories/subcategories manually as menu items?
please check this plugin
https://wordpress.org/plugins/jc-submenu/screenshots/
with the help you just need to only one time to add menu like showing into the screenshot

How to display subcategories rather than parent categories on product category loop on the homepage?

I am running the Superstore theme and would like to know how I can display subcategories rather than top level categories on the product categories loop? I have it set up like thumbnails on the homepage where customers can click on it, kind of like a menu, but it will only let me display the top level category pictures and not the subcategories which is what I really want to display.
I will also need to know how to pick and choose what subcategory pictures to display as I wont need all of them to display.
From the 'Appearance' menu on the left-hand side of the Dashboard, select the 'Menus' option to bring up the Menu Editor.
You must define a MENU and choose which items you want to add
(Categories and/or Sub-Categories and/or Posts and/or Links)
A guide to set up a WordPress Menu (codex.wordpress.org)
Hope this help you.

WordPress 3 - Problem with menu highlighting

I'm building a site that has a two level menu created with the admin Menu tool. The menu contains links to both Pages and Category lists. It doesn't link directly to Posts. The problem is that when you drill down into a Category list and click to view a single post in that Category, the menu highlighting gets it wrong.
I've tested on a new install of WP3, set up a simple test site with a few pages and posts in 3 categories. All I've changed in the theme is the style.css to highlight the whole path.
http://danwashere.com/wp_dev/
Here's a direct link to view a categorised post here:
http://danwashere.com/wp_dev/2011/07/28/blue-rocks/
Everything is a page, except with the section "Advice Categories" - all those sub items are category lists containing categorised posts - each post is only categorised with a single category. The menu structure is defined entirely in the Menu settings.
On that Blue Rocks page, the menu should be highlighted like this: Advice Categories -> Rocks, but it's highlighting the Sample Page item. And if you rollover the "Advice Categories" menu, you'll see that it is correctly highlighting the "Rocks" menu item.
It seems to me that WP is applying the 'current-post-parent' class to the wrong top menu item, but maybe I'm missing something?
// Edit, rewrite to make it clearer.
It seems as though were both having very similar issues. - Trouble highlighting correct menu parent with wp_nav_menu classes while viewing “single posts”
Im not using categories as links in my menu but I use them to filter content to each page via query_posts...if you examine the output from Wordpress you'll notice its actually placing the current page class onto the incorrect li tag when viewing a single post - Is this happening to you as well?

Custom Order Menus in WordPress

I'm using WordPress Menus for my main navigation, at the moment it's displaying the navigation alphabetically. How can I get it to display my menus in the order I have them arranged in WordPress?
Thanks in advance!
Appearance > Menus
Select the menu you want to edit (this view is editing Main Nav)
Select that pages you want to include in your menu from PAGES on the left
Add To Menu
NOTE: You can also add post categories and nest pages within each other like shown in the image below. Make sure that your template is set up for menu nesting if you do this.
If you are talking about pages in your menu, go to the editing screen and look for Page Attributes (typically on the lower right). You will see PARENT, TEMPLATE and ORDER. In the order section, you can assign a number to the post, and they will appear in the order you define.
Hope this helps
In the menu page, you should just be able to drag the items into the order you want.

Drupal: Add Archive to Primary Links as SubNav

My site has news articles that I want to add to the sub-nav under "News" as years.
News
2010
2009
But I only want the current year and 1 previous year. And I need it to happen automatically.
I know how to create a page view that will only show news articles from the previous year, I just don't know how to change the Menu & Node Title to the archived year.
How about creating a custom views block display that prints out you menu as desired?
Okay, got it.
You might try the Views Build Menu module http://drupal.org/project/views_build_menu
It seems to add a menu display called "menu" which allows you to set a parent menu item under which you views-generated menu should appear.
Here's the documentation (with interesting screenshots) for Views Build Menu: http://drupal.org/node/831564

Resources