Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Styling Lists with CSS

I thought there was a discussion page with this, but I now see that if there was, it's gone. Anyway, I cleaned this up seriously and added the 1.5 nested links to help clarify many of the problems people have been having.

Please check to make sure that while simplifying the list, I didn't mess it up some. Thanks. Lorelle 18:48, 5 Mar 2005 (UTC)


Wonder if the 'sidebar.php' example should be replaced with a more current sidebar.php routine? MichaelH 15:27, 3 May 2005 (UTC)

This is from the most current version, it is just an HMTL generated presentation, cleaned up. We can add a copy of an actual classic theme sidebar routine, as long as it is cleaned up. The idea of using the generated HTML is to get people to think about the end result not just all the "scary code". When they generate the page, they can look and see that "Category One Topic" is in the LI id="fred" (or whatever) and they can associate the generated information with the style, and not get into the PHP or templates. If you feel it would be helpful, use the classic sidebar and not Kubrick as there are too many conditional tags in there and the point is "styling" the sidebar, not adding tags. We cover that in Customizing the Sidebar in Lessons. Good point, though. Lorelle 18:56, 3 May 2005 (UTC)

I was wondering if anyone could help me create an Expanding Nested List with wordpress. That's a feature I've always wanted to have when you have a large hierarchical list of pages. I'm studying the way to hack it but I have limited coding knowledge. Since wp_list_pages is generated I would need to use another php function to change the tags dynamically. Can anyone help? it would be a nice thing to have here. --EstherFuldauer 11:42, 13 Jul 2005 (UTC)