WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. NuclearMoose
    Member
    Posted 10 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
    Member
    Posted 10 years ago #

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

  3. RobotDeathSquad
    Member
    Posted 10 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.
    http://wiki.wordpress.org/index.php/get_links_list

  4. RobotDeathSquad
    Member
    Posted 10 years ago #

    bump, someone must know where that function is.

  5. junesix
    Member
    Posted 10 years ago #

    This topic was asked in earlier threads.
    http://wordpress.org/support/4/5426
    http://wordpress.org/support/4/5788
    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.
    http://www.junesix.org/xref/stable/nav.php?_functions/index.php

  • RobotDeathSquad
    Member
    Posted 10 years ago #

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

  • RobotDeathSquad
    Member
    Posted 10 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:
    http://www.alistapart.com/d/mountaintop/example2.html
    Without rewriting a big chunk o'code?

  • davidchait
    Member
    Posted 10 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
    li.general
    if you know what you're doing...
    d

  • RobotDeathSquad
    Member
    Posted 10 years ago #

    Thanks a ton David. You saved me much heart ache. It seems like this stuff would be better as "
    <dl>
    <dt></dt>
    <dd></dd>
    <dd></dd>
    </dl>
    "
    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 9 years ago #

    I demonstrated this - in my own elegant style - a little while ago :)
    http://www.tamba2.org.uk/wordpress/1css/

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.