WordPress.org

Support

Support » How-To and Troubleshooting » Blogroll – limiting numbers of visible links

Blogroll – limiting numbers of visible links

  • In pre-Ella versions of WordPress, there were several useful features that seem to have dropped off WordPress 2.1 Ella. In particular, in earlier versions, I found the auto-toggle function, and the ability to have a limited number of random links in categories, very useful in keeping order on a long blogroll. I can’t replicate either now. How can I?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m also very interested in these features. Have you found anything yet?

    skarritt

    @skarritt

    EOIN wrote;
    “….In particular, in earlier versions, I found the auto-toggle function, and the ability to have a limited number of random links in categories, very useful in keeping order on a long blogroll. I can’t replicate either now. How can I?”

    Does anyone have an answer to this? Is this feature planned on being re-installed?

    Moderator Samuel Wood (Otto)

    @otto42

    Is this feature planned on being re-installed?

    No, or at least, not in the same form.

    Does anyone have an answer to this?

    Yes. You change your template to use wp_list_bookmarks, and all those features are there in that function. They’re not exposed through the interface because nobody’s sat down and wrote a widget which exposes those features yet.

    Jeremy Clark

    @jeremyclark13

    Member

    You can do the same thing with the wp_list_bookmarks template tag.
    Example:
    <?php wp_list_bookmarks('orderby=rand&limit=10'); ?>

    Will display 10 random links. You’ll just need to add this code wherever you want it displayed in your sidebar.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blogroll – limiting numbers of visible links’ is closed to new replies.
Skip to toolbar