WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Function to get array of links (5 posts)

  1. snakefoot
    Member
    Posted 7 years ago #

    Like get_pages is able to return an array of pages for a certain category, then a similar function would be nice for links.

    This would allow one to perform custom display of links, without messing with SQL.

    I'm missing the ability of alternate coloring of links without using client side javascript. And having a function to access the links without needing to perform SQL would make things a lot prettier. Also the existing get_links function should be able to reuse this new function.

  2. snakefoot
    Member
    Posted 7 years ago #

    Seems the answer will come with WordPress 2.1 with the functions:

    get_bookmarks()
    wp_list_bookmarks()

    Along with link sub categories.

  3. michelem
    Member
    Posted 7 years ago #

    The function wp_list_bookmarks doesnt work and here there are a lot of mistakes imho:

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

    I think the developers were in hurry, bad bad bad thing, every APIs are new and they dont think to review the HELP page before the software release. Very bad! I'm very frustate. Crap work

  4. Navjot Singh
    Member
    Posted 7 years ago #

    title_li parameter in wp_list_bookmarks does not get parsed! This is really depressing. Will somebody suggest a alternative?

  5. Sainty
    Member
    Posted 7 years ago #

    get_bookmarks() doesnt work for me. :(

Topic Closed

This topic has been closed to new replies.

About this Topic