WordPress.org

Ready to get started?Download WordPress

Forums

Random Links (2 posts)

  1. obiscoito
    Member
    Posted 8 years ago #

    Anyone know how to pull up a group of random links? I would like to have a link(s) of the day, from the list I already have. Any ideas?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    <?php get_linksbyname('Reading', '<li>', '</li>', '', FALSE, 'rand', FALSE, FALSE, 12, FALSE); ?>

    The cat it's pulled from is 'Reading', and that pulls 12 from however many. More info http://codex.wordpress.org/Template_Tags on the right, halfway down.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags