WordPress.org

Ready to get started?Download WordPress

Forums

blogroll links categories and subcategories (4 posts)

  1. 25KGBOX
    Member
    Posted 7 years ago #

    http://blog.billybag.org
    i am trying to list my 'blogroll' as follows

    ----------------------------------/
    |Blogroll [or as i have it LINKS] /
    |-link sub-category (hosting) |
    | links |
    |-link sub category (i freq visit |
    | links |
    -----------------------------------
    rather than

    ----------------------------------/
    |-link sub-category (hosting) |
    | links |
    -----------------------------------

    ----------------------------------/
    |-link sub category (i freq visit |
    | links |
    -----------------------------------

    The simple tag of <?php get_links_list(); ?> does the latter.

  2. Adam Brown
    Member
    Posted 7 years ago #

  3. 25KGBOX
    Member
    Posted 7 years ago #

    yeah i have been playing with that for a few hours and i just cant get it to do what i want to do. it is mostly a ul/li problem. <?php get_links_list(); ?> works well, but i wish it didnt come with it's own ul/li tags. i need something that can do what it does (takes the sub category name and lists the links underneath it) without giving it any ul or li tags so i can simply display it how i want to.

    The <?php get_links(2, '

      ', '
    ', '', TRUE, 'url', FALSE); ?> tags work, but they dont grab the sub category title and display it which is what i need rather than having to manually put it in and then keep having to do that when i create new sub categories

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Try using wp_list_bookmarks() instead.

    http://codex.wordpress.org/Template_Tags/wp_list_bookmarks

Topic Closed

This topic has been closed to new replies.

About this Topic