WordPress.org

Ready to get started?Download WordPress

Forums

dropdown_links template tag (3 posts)

  1. mdmcginn
    Member
    Posted 9 years ago #

    Right now, I would like a dropdown_links template tag (similar to dropdown_cats) or equivalent settings under Options. I want to have lots of links but only show a few at a time.
    The limit parameter of get_links looks very useful, so that only the ten most recently updated sites appear, for example. But it would be better to include it as a setting under Options. I tried to limit the number of visible links using get_links, but I got a MySQL error.

  2. Mark Jaquith
    WordPress Lead Dev
    Posted 9 years ago #

    http://wiki.wordpress.org/get_links
    note that if you want to set the 5th parameter, you need to include settings for parameters 1 through 4.

  3. Anonymous
    Unregistered
    Posted 9 years ago #

    I also get an error trying to get a drop down list of links.
    What would the cause be?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.