Solved

Create custom nav from Wordpress pages structure

Posted on 2011-09-14
8
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 
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
 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Wordpress Horizontal Drop-Down Menu In this tutorial I will show you had to add a WordPress horizontal navigation menu to your theme. I have searched and searched for a good tutorial on creating a WordPress nav menu without adding a plug-in or us…
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
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 the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

710 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