Solved

Create custom nav from Wordpress pages structure

Posted on 2011-09-14
8
198 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

705 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

18 Experts available now in Live!

Get 1:1 Help Now