• carnageasada

    (@carnageasada)


    Greetings all – first time poster. I’ve customized a handful of sites using Bblog and MT previously and am taking a stab at WordPress. Really like what I’ve seen so far but I’m trying to figure out how to do the following:

    I have a navigational structure for a website that looks like the example below:

    I. HOME
    II. SECTION I
    —– A. SubNav I:1
    ———- 1. SubNav I:1:A
    ———- 2. SubNav I:1:B
    —– B. SubNav I:2
    III. SECTION II
    —– A. SubNav II:1
    —– B. SubNav II:2

    Basically, a combination of sub-navigation. What I’m trying to do is create a dynamic menu allowing the user to access the various sub-sections functioning almost identically to the menu seen here:

    http://www.mattkruse.com/javascript/mktree/

    You’ll notice when you click “Calendars/” in that example menu, it doesn’t go to a “Calendars/” page – one may not even exist. It merely expands the sub-sections of Calendar so you can navigate directly to a sub-section. I want to do something similar dynamically in WP but I’m not sure how to organize the site to manage this. I.E. I can organize the site into Main Pages, Sub-Pages, and Sub-Sub-Pages, but is there a way to dynamically generate a menu based on the pages / sub-pages where the parent page doesn’t link to an actual page but, rather, just expands the sub-navigation below it on a list? In MT, you’d do it using folders and pages within folders. I’m just trying to figure out the WP equivalent. Thanks in advance for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • ivovic

    (@ivovic)

    there’s no wordpress equivalent for this, unfortunately…

    if your script requires a basic unordered list and that’s it, then you won’t be able to dynamically generate this using a built-in wordpress function without having the top level link to something.

    However, with PHP anything is possible, and so there’s definitely going to be a way for you to code around this by generating your own list of pages and sub-pages using a combination of wordpress functions and your own little php gems.

    It’s going to depend largely on your comfort-level with PHP.

    Thread Starter carnageasada

    (@carnageasada)

    Thanks for the reply, Ivovic!

    That’s what I thought but figured it couldn’t hurt to ask. I’m not a php guru at the present, but have been coding in other languages for a while so I can get around in it. I started to hack something together using Rob Schumann’s “Fold Page List’ plug-in as a starting point.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sub-Nav without header pages?’ is closed to new replies.