Support » Fixing WordPress » using get_links; desc not working

  • kappaluppa

    (@kappaluppa)


    I am using get_links to display links. I am displaying from one category only. I have chosen in the admin section to display the links by id, descending. But the order is not working. It simply lists the most recent last. I need the most recent first.

    this is the code I am using:


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

    Any ideas on how to switch the list around?

    Thanks,
    Kathy

Viewing 1 replies (of 1 total)
  • onocrotalus

    (@onocrotalus)

    Look at the get_links codex page, and scroll down to the details of the tag’s parameters. I think you need to use wp_get_links if you want to format their appearance using the admin panel.

Viewing 1 replies (of 1 total)
  • The topic ‘using get_links; desc not working’ is closed to new replies.