Solved

Create custom nav from Wordpress pages structure

Posted on 2011-09-14
8
201 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

WordPress has made it easy to create scalable sites based on their powerful CMS, but as great as WordPress is, there are some SEO issues that haven’t been addressed out of the box.  Fortunately these problems can be solved with a few plugins.  The f…
Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

820 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