• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

Create custom nav from Wordpress pages structure

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
axessJosh
Asked:
axessJosh
  • 4
  • 4
1 Solution
 
Jason C. LevineNo oneCommented:
Hi axessJosh,

This functionality already exists as Custom Menus.  Are you looking to do something different?
0
 
axessJoshAuthor Commented:
wow, i see that now.  

Will it automatically inherit the heirarchy structure?
0
 
Jason C. LevineNo oneCommented:
It should, but you can also drag and drop pages into parent/child relationships from the interface.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
axessJoshAuthor Commented:
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
 
Jason C. LevineNo oneCommented:
0
 
axessJoshAuthor Commented:
worked perfectly for location but didnt inherit heirarchy.  example at:

http://cornerstoneshiloh.org.s60758.gridserver.com/
0
 
Jason C. LevineNo oneCommented:
>> didnt inherit hierarchy

Meaning you had to manually re-create it from the Menu interface?
0
 
axessJoshAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now