Solved

Create custom nav from Wordpress pages structure

Posted on 2011-09-14
8
199 Views
Last Modified: 2012-06-21
I want to build a custom quicklinks section on my website that displays all the pages on the site and their heirarchy.  I've done some research online to find some sample code, but cannot find anything that fits thus far.  Perhaps I am looking in the wrong place.

i want it to look like the following

parent page   parent page   parent page  parent page
child               child               child              child
child               child               child               child
etc. as exists.

can someone point me in the right direction?
0
Comment
Question by:axessJosh
  • 4
  • 4
8 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 36538415
Hi axessJosh,

This functionality already exists as Custom Menus.  Are you looking to do something different?
0
 
LVL 2

Author Comment

by:axessJosh
ID: 36538425
wow, i see that now.  

Will it automatically inherit the heirarchy structure?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36538432
It should, but you can also drag and drop pages into parent/child relationships from the interface.
0
 
LVL 2

Author Comment

by:axessJosh
ID: 36538443
yep, i am playing with it now.

hopefully final question here, where is the code to use to place the menu in a specific spot?  I have a javascript pull down area that reveals the menu when clicked.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36538454
0
 
LVL 2

Author Comment

by:axessJosh
ID: 36538486
worked perfectly for location but didnt inherit heirarchy.  example at:

http://cornerstoneshiloh.org.s60758.gridserver.com/
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36539190
>> didnt inherit hierarchy

Meaning you had to manually re-create it from the Menu interface?
0
 
LVL 2

Author Comment

by:axessJosh
ID: 36539285
Yep, had to create it in the menu interface.  Then had to create CSS styles to get it to position into separate menus based on parent pages.  Thanks for the direction!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now