Forums

[resolved] display category name with wp_get_linksbyname (4 posts)

  1. sparkletack
    Member
    Posted 5 years ago #

    This should be simple, but I can't figure it out:

    With the "wp_get_linksbyname" tag I can get the list of links to display properly, but not the category name.

    I want the category name to display above the list.

    Ideas?

  2. whooami
    Member
    Posted 5 years ago #

    you're probably going to want to use get_links_list if you want the category..

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

    or .. multiple instances of get_links (what I use) .. that allows you to split up the lists also.

    All the choices are linked under the related heading on this page

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

  3. sparkletack
    Member
    Posted 5 years ago #

    Thanks! I'll try that.

  4. Otto
    Tech Ninja
    Posted 5 years ago #

    And if you're using WP 2.1.x, I'd suggest switching to the wp_list_bookmarks plugin, which is much more configurable.

Topic Closed

This topic has been closed to new replies.

About this Topic