• I use this code to show three different categories of links on http://www.janelovestarzan.com

    The code for “Webring” links;
    <?php get_links(3, '<li>', '</li>', '', TRUE, 'url', FALSE); ?>

    The links under “webring” should be ordered by name, but there are some inconsistencies, like a link starting with M in the beginning of the list where the links should only start with B. I noticed the M link has an URL beginning with B though.

    Does someone know the explanation to this? Maybe the ordering doesn’t quite work like I thought it did?

    Thanks a bunch!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried the other options under the links manager to make sure that you’ve chosen the right one?

    Thread Starter pepperminx

    (@pepperminx)

    DOH! I figured out what I did wrong!

    <?php get_links(3, '<li>', '</li>', '', TRUE, 'url', FALSE); ?>

    should be

    <?php get_links(3, '<li>', '</li>', '', TRUE, 'name', FALSE); ?>

    Sorry for taking up space, heh.

    Thanks for the reply though =o)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Order links by name’ is closed to new replies.