[resolved] Sidebar menu code display parent/child/grandchild (4 posts)

  1. daveo541o
    Posted 5 years ago #

    I got the code below from this forum (thanks member "webeingnet"!) and it is exactly what I need except for 1 little detail:

    The grandchild links don't have their own li tags so they don't offset to the right from the sub-parent. Is there a way to modify this to do that?

    [code moderated per forum rules - please read http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    BTW The website for this is more CMS than blog and is for someone else who isn't even as code savvy as me so I'd prefer to avoid plugins and custom menus as a solution.

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    sub sub page navi for active page tree:

    try this one:


  3. daveo541o
    Posted 5 years ago #

    Thanks alchymyth. That did the trick.

    BTW, I tried to use pastebin but nowhere on this forum or on pastebin does it explain how to embed it here????

    Anyway here's the link to the code I posted for anyone interested.

  4. Michael
    Forum Moderator
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.