WordPress.org

Forums

Blogroll - limiting numbers of visible links (5 posts)

  1. eoin
    Member
    Posted 8 years ago #

    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?

  2. pumilamac
    Member
    Posted 8 years ago #

    I'm also very interested in these features. Have you found anything yet?

  3. skarritt
    Member
    Posted 7 years ago #

    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?

  4. 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.

  5. Jeremy Clark
    Moderator
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic