Forums

[resolved] Upgraded to 2.2: Seeing Problem with Blogroll (4 posts)

  1. theotheragentm
    Member
    Posted 5 years ago #

    I am using the following function to pull links from the data.

    <?php get_links('-1', '<li>', '</li>', '', FALSE, 'id', TRUE, TRUE, -1, TRUE); ?>

    For some reason, since upgrading to 2.2, I am seeing 0's displayed after the links. Does anyone know why this is occuring?

  2. MichaelH
    Volunteer
    Posted 5 years ago #

    It possible this template, get_links, is working 'better'.

    You'll notice you have 10 parameters in your list and there are actually 11 parameters for this template tag. Also, I believe the show_rating parameter was causing the problem.

    Anyway try this:

    <?php get_links('-1', '<li>', '</li>', '', FALSE,
     'id', TRUE, FALSE, -1, FALSE, TRUE); ?>
  3. theotheragentm
    Member
    Posted 5 years ago #

    That'll do it. Thanks.

  4. h4x3d
    Member
    Posted 5 years ago #

    does not work for me :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags