+ Reply to Thread
Results 1 to 3 of 3

Thread: Need a way to create a simple page list in Word Press...

  1. #1
    sbonner is offline x10Hosting Member sbonner is an unknown quantity at this point
    Join Date
    May 2010
    Location
    Tempe, AZ
    Posts
    31

    Need a way to create a simple page list in Word Press...

    I've been asking around and so far all I've gotten are snide answers.

    Alright, here we go.

    I want to be able to horizontally list pages in a custom manner, based on the top parent that the page belongs to. So, the form would be:

    [ Page 1 | Page 2 | Page 3 ]

    As opposed to:
    • Page 1
    • Page 2
    • Page 3

    Furthermore, I need the list to always list the pages inside the top-level parent page. For example, say I had a page called "Cars". No matter WHAT page within "Cars" that I was in, if it was the Cars page itself or ANY sub-page, I would always get:

    [ Toyota | Honda | Mazda | Ford ]

    If I were to click over to another page, that say, belonged to "Planets" instead of "Cars", the new list would appear:

    [ Mercury | Mars | Jupiter | Pluto ]



    I've been trying to modify a theme to accomplish this, but everything I do seems to result in a fatal error of some sort. I know basic programming and troubleshooting (used to C/C++), but PHP is a whole new beast to me and I don't understand much of its syntax nor does it give me much to debug from. Please give me some guidance.

  2. #2
    lhyman's Avatar
    lhyman is offline x10 Sophmore lhyman is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    198

    Re: Need a way to create a simple page list in Word Press...

    Did you try looking at any of the DHTML menus from dynamic drive?
    My Name is Larry Hyman from Montreal. I fix computers on site, see my web site for more details:

    http://hyman.sytes.net

  3. #3
    mattura's Avatar
    mattura is offline x10 Elder mattura is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    563

    Re: Need a way to create a simple page list in Word Press...

    For horizontal lists, try styling the list elements with CSS using "display:inline;"
    For the categories, I suggest you set up an array with the links in, and use php's foreach to cycle through it
    ----
    Life is a game. The conception is terrible but the graphics are amazing!
    matt.elementfx.com

+ Reply to Thread

Similar Threads

  1. word press issues
    By captech in forum Free Hosting
    Replies: 5
    Last Post: 01-02-2010, 07:27 PM
  2. Hi and I heart Word Press
    By deshaneo in forum Introductions
    Replies: 4
    Last Post: 09-18-2009, 06:25 PM
  3. Word Press?
    By AllProsNoCons in forum Free Hosting
    Replies: 3
    Last Post: 09-07-2008, 09:51 AM
  4. Word Press 2.6.1: I can't install it!
    By mmz--- in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 08-22-2008, 12:13 AM
  5. word press login error
    By desirips in forum Free Hosting
    Replies: 1
    Last Post: 08-18-2008, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers