Support » Fixing WordPress » Help with links template tags

  • Hi there,
    I am unsure how to use the following template tag to show just one particulat link category.
    This is the tag:
    <?php get_links_list(); ?>
    I want to show just one links list category, how is this done please? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mark (podz)


    Support Maven

    Find the Link ID for the category (it’s in the admin section)
    It can then be displayed like this:
    <li id="reading">Reading

      <?php wp_get_links(15); ?>

    The (15) is the Link ID, and doing it this way allows you to apply styling just to that link category if you then choose (by using css).

    Great Podz!
    So by calling the link ID does that also call the actual Link category header or do I have to name it as your example above?
    Many thanks

    Mark (podz)


    Support Maven

    You need to provide the Header I think ….. I certainly don’t see it twice 🙂

    Many thanks 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with links template tags’ is closed to new replies.