An expandable side-menu.
-
Hello there,
I recently installed wordpress. I made a sidebar navigation widget (out of box), which organizes all my pages in a hierarchical way. I plan on creating a knowledge-base site with collaboration. However with the amount of pages I am planning on adding, I can’t find any add-ons that would allow me to have the menu be expandable.I.e. it would first show the first-level pages, and then I can expand them to show sub-pages.
I would really appreciate it if someone can point me in a direction.
Thanks!!!
The blog I need help with is: (visible only to logged in users)
-
I can’t find any add-ons that would allow me to have the menu be expandable.
What do you mean by expandable? All WordPress.com menus are expandable. WordPress text widgets are expandable. I’m not quite sure exactly what it is your after, and your needs might be best met by custom menus, but before you go that route you might want to try the following.
1. The pages widget, found in your widgets page, will display all of your pages in hierarchical order in a sidebar.
2. The list pages shortcode, in it’s most basic form, does the same thing as the pages widget, but it can be modified in various way to display selected your pages in ascending or descending or, or sort them according to various page features (by title, slug name, date created, ID, author,etc.). Unlike a widget, it can also be inserted in a post or page. The basic shortcode to display all pages on your website looks like this
[list-pages]
See the List Pages Shortcode support page for more information about this and related shortcodes and how to modify them.
-
Hi there, thanks for your response.
I guess by expandable I meant an “accordion” sort of thing. For instance, It would only display 1st level items only, and I would click the little + to expand that menu and see the sub-pages.
I suppose I can use jquery to make something like this?
-
I guess by expandable I meant an “accordion” sort of thing.
Drop-down menus.
You can create what you describe with custom menus. Your “1st level items” would be the categories under which fall the pages and sub-pages which belong it those categories. However, custom menus normally drop-down from a horizontal bar below the header area; perhaps above the header on some themes. You can put a custom menu in a sidebar, but there is no drop-down option.The Categories Widget can be used to create a drop-down sidebar menu of post categories, but isn’t applicable to pages.
-
I recently installed wordpress.
http://medref.ca/ is NOT hosted by WordPress.COM.
I’m sorry but we are unable to provide support for any sites that are not hosted here at WordPress.COM and our support docs do not apply to your site at http://medref.ca/
WordPress.COM and WordPress.ORG are completely separate and have different logins, features, run different versions of some themes with the same names, and have separate support forums. http://en.support.wordpress.com/com-vs-org/
If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the Theme support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page -
Btw, Your page hierarchy will naturally create drop-down menus. You can create the look of custom menus by creating a few or several pages, which may not have any content, to be your “1st level items” or categories. The titles of these will display in a horizontal bar in the header area. Assign other pages as children of those big daddies with the Page Attributes module.
Numerous generations can be created in the above manner. From each no-parent or top level page will descend a drop-down menu displaying the pages and sub-pages assigned to that parent.
-
-
Did you read what I posted above?
I’m sorry but we are unable to provide support for any sites that are not hosted here at WordPress.COM and our support docs do not apply to your site at http://medref.ca/
-
@musucdoc1
Oops! I overlapped with you too. Sorry.
P.S. Be aware that not all themes here at WordPress.COM do display dropdowns to sub-pages natively. In those themes a custom menu is required.
-
-
Medref.ca is what I tried to emulate since it runs in a platform that is no longer supported (if you go to medref.ca you see expandable menus on the sidethat open up revealing sub-menus)
My actual word press wiki is medref.ca/wp/index.php
Sorry for the confusion, that site name was auto-filled.Is there an add-on that would do that? Perhaps the file tree out on on the sidebar?
-
My actual word press wiki is medref.ca/wp/index.php
Same answer—> https://en.forums.wordpress.com/topic/an-expandable-side-menu?replies=11#post-2151634
-
-
WordPress.COM and WordPress.ORG are completely separate and have different logins, features, run different versions of some themes with the same names, and have separate support forums. http://en.support.wordpress.com/com-vs-org/
If you don’t have a username account at WordPress.ORG click http://wordpress.org/support/ and register one on the top right hand corner of the page that opens, so you can post to the Theme support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page -
- The topic ‘An expandable side-menu.’ is closed to new replies.