using get_links; desc not working (2 posts)

  1. kappaluppa
    Posted 9 years ago #

    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?


  2. onocrotalus
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.