Forums

[resolved] Get Links List - Arguments. (2 posts)

  1. aidanl
    Member
    Posted 4 years ago #

    Hi, I am trying to list all of the links in my blogroll. I am using the following template tag to do this - <?php get_links_list('id'); ?> .

    It states on the template tag page that the heading and the list is automatically generated. I only want the bullet points on the links, not the heading. How can I edit this?

    So I am now left with a heading with a bullet on and it indented. Below is the code that I am using -

    <li class="widget">
    <!-- <h2>Blogroll</h2>-->
     <ul>
    <?php get_links_list('id'); ?>
    </ul> </li>

    You can see the problem HERE.

    If you need any further info just ask.

    Thanks in advance

    Aidan L

  2. aidanl
    Member
    Posted 4 years ago #

    I have managed to resolve this myself with the code below -

    <li class="widget">
    <h2>Blogroll</h2>
     <ul>
    <?php get_links('-1', '<li>', '</li>', '', FALSE, 'id', FALSE,
    FALSE, -1, TRUE, TRUE); ?>
    </ul>
    </li>

Topic Closed

This topic has been closed to new replies.

About this Topic