Support » Themes and Templates » 10 random links

  • Hello everybody!
    I’m looking for the correct tag to add 10 random links from all my link-categories without the link description using the get_links tag. How can I do that?


Viewing 1 replies (of 1 total)
  • <?php get_links(-1, '<li>', '</li>', '', 0, 'rand', 0, 0, 10); ?>

    That should do it (-1 for the ‘category’ or first parameter tells it to use all link categories).

Viewing 1 replies (of 1 total)
  • The topic ‘10 random links’ is closed to new replies.