WordPress.org

Ready to get started?Download WordPress

Forums

Link Library
[Link-Library] Only showing one link at a time (5 posts)

  1. Brimfulof
    Member
    Posted 3 years ago #

    I have my links page set up so that I only show one category at a time. I have set a default category. I use HTML GET + permalinks as the switching method.

    Since the last update (I think) it only shows one link underneath the list of categories. Oddly this link is selected at random: it changes each time and doesn't even necessarily come from the default category.

    Any ideas why this might be happening and how I might fix it?

    You can see the issue here: http://involver.org.uk/links/
    The default category is 'Citizenship'

  2. Yannick Lefebvre
    Member
    Plugin Author

    Posted 3 years ago #

    Make sure that the field 'Max number of links to display" is empty. If set to 1, that would explain why you would only get 1 link. As for the random aspect, check that the "Link Results Order" option is set to something other than the new "Order Randomly" option.

  3. Brimfulof
    Member
    Posted 3 years ago #

    Hi Jack,

    Thanks very much for responding, and for this great plug-in. Your suggestions have helped me get some way to identifying the problem.

    The "Max number of links to display" field was empty, so I just tried changing "Link results order" field from "Order Randomly" to "Order by Name". This fixes all the issues: the correct category is displayed, and all the entries in that category are shown. Changing back to "Order Randomly" brings back the same problems. So that seems to be the issue.

    So I have a workable solution, but ideally I would like to be able to use the "Order Randomly" feature within the category.

    Thanks again.

  4. Yannick Lefebvre
    Member
    Plugin Author

    Posted 3 years ago #

    if you want to use Order Randomly, then make sure that the number of Max Number of links to display is larger than 1, or larger than the max number of links in a category, and it should display all of them randomly.

  5. Brimfulof
    Member
    Posted 3 years ago #

    Thanks for the suggestion. I've tried it with a few different numbers in the 'Max number of links to display' field, but still getting the same result (one link from a random category displayed).

    It's really not that big a deal, but if it's something you want to investigate further I'll happily do what I can to help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic