How to break up menu area's. . . (10 posts)

  1. NuclearMoose
    Posted 11 years ago #

    All kinds of good template tag information is on the Wiki.
    As for the menu, well you can nest the lists. If you don't want bullets, then specify list-style-type: none; in your CSS.

  2. RobotDeathSquad
    Posted 11 years ago #

    I get a 404 on the wiki when I click on the get_links_list link.

  3. RobotDeathSquad
    Posted 11 years ago #

    Ok, hacked the URL to make it work. the Wiki is definatley broken though.
    And, FYI, this page in no way answers any of my questions.

  4. RobotDeathSquad
    Posted 11 years ago #

    bump, someone must know where that function is.

  5. junesix
    Posted 11 years ago #

    This topic was asked in earlier threads.
    At this point there is no official solution to this as the

  6. tags are hardcoded into the get_links_list() function. You'll have to hack up the function yourself or write a my-hacks.php hack.
    I put up a WP reference so you can look up the get_links_list() function here and get an idea of what you'll need to change. The
  7. tags you'll need to modify are quite visible.

  • RobotDeathSquad
    Posted 11 years ago #

    Wow, there really is not nice way to do this. :\

  • RobotDeathSquad
    Posted 11 years ago #

    Well, I've worked on this for a while now. Not sure exactly how to do this without totally wacking up a huge amount of the blog (which will make it a total bitch to upgrade). Any idea's how I can get something that looks like this:
    Without rewriting a big chunk o'code?

  • davidchait
    Posted 11 years ago #

    you CAN do this already. I'll caveat that I typically use my own sidebar code, as I do >really< custom sidebar backgrounds (which I turned of for site performance reasons!).
    The sidebar is in div id=menu. then they are wrapped under a UL.
    #menu ul
    starts all CSS access.
    For the get_links_list, the title is
    #menu ul li
    The content of the items list is
    #menu ul li ul
    The items themselves are
    #menu ul li ul li
    Playing with those stylings should affect ALL menu blocks, of course. However, in WP1.2, each category title has a unique ID matching the sanitized title (look for function sanitize_title() to see exactly what is done to the names). So the category General would be directly accessed by:
    #menu ul li.general
    or just
    if you know what you're doing...

  • RobotDeathSquad
    Posted 11 years ago #

    Thanks a ton David. You saved me much heart ache. It seems like this stuff would be better as "
    since they have titles and then members under that. But I guess the ul li ul stuff works.
    can't seem to get the bottom bg image to attach, messes everything up.
    Oh well, i'll keep working on it.

  • Mark (podz)
    Support Maven
    Posted 11 years ago #

    I demonstrated this - in my own elegant style - a little while ago :)

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic


    No tags yet.