• Resolved Ruriko

    (@ruriko)


    I notice that you can’t select all the links when you checkbox the very top cause it won’t auto check all the links when you checkbox the top.

    The screen options doesn’t work cause when you click on the button it does nothing.

    Can you add pagination in the backend when viewing a list of links cause it’s laggy to load all 5k links on a page

    https://ww.wp.xz.cn/plugins/link-library/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    The list of links in the back-end is not generated by Link Library. It is handled by the default built-in Links functionality in WordPress, and that was not designed to scale to such large volume of links.

    That being said, I will investigate to see if there are any hooks to be able to manipulate the data on that page. If not, I will start thinking about building my own link navigator, but that won’t happen overnight.

    Thread Starter Ruriko

    (@ruriko)

    were you able to find a way to paginate the links in the backend?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    No. The Links Manager is really an lesser citizeb of WordPress. There are not many hooks for plugin developers to be able to extend any of the functionality for the Links page.

    I will likely have to create a new one from scratch, but that takes time that I do not have at the moment.

    I will keep you posted when I find the time to work on this.

    On the other hand, your use case is a bit extreme. A custom plugin that would work using Custom post types for your entries would be more appropriate than using Links.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    The best solution I can offer is a bit of a hack but at least it will make the link manager more usable for you.

    I added a filter to the bookmarks list that can react to variable in the page page:

    http://wp.dev/wp-admin/link-manager.php?linksperpage=1&linkspage=2

    In this example, you can see that I added a question mark, followed by two variables, to the URL for the link management page. By setting these two variables, you can only get to see a subset of links at a time.

    The downside is that WordPress does not have any hooks to allow me to add controls to select pages to the Link Manager itself, so you have to manually added these variables to the URL to navigate around your links in smaller amounts.

    Update to the latest version to get this functionality.

    I hope that helps a bit.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Some bugs in backend’ is closed to new replies.