How would you code a page hierarchy of links with php?

Discussion in 'PHP' started by Jericho33, Jul 1, 2009.

  1. #1
    I'm using wordpress and I have a lot of parent > child > grandchild pages and I wanted to have it listed on each page at the top of the page next to the title.

    So if they were on a child page you would see "home link" > "parent link" > "child"

    Is this possible to do with PHP? Doesn't seem like it would be hard.

    My skill level with PHP is that of cutting and pasting. :)

    If you can tell me the code or where to find it, I can figure out where to put it.

    Thanks.
     
    Jericho33, Jul 1, 2009 IP
  2. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #2
    You are referring to "Breadcrumbs". There are several plugins for WordPress, check these out @ http://tinyurl.com/lahou8.
     
    Social.Network, Jul 1, 2009 IP
  3. Jericho33

    Jericho33 Peon

    Messages:
    224
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Never mind. Found this plugin http://mtekk.weblogs.us/code/breadcrumb-navxt/

    Not knowing that it was called a breadcrumb made it difficult to find. Now if anyone else needs a wordpress plugin for breadcrumb links here's the link.
     
    Jericho33, Jul 1, 2009 IP
  4. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #4
    Social.Network, Jul 1, 2009 IP