Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • 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
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

 
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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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