För ungefär ett år sedan skrev vi ett inlägg här på WPBeginner med rubriken ”Should Blogroll ’Links’ be removed in favor of WordPress menus?”. Vi fick en hyfsad återkoppling i kommentarerna och i våra kanaler på social media (Twitter och Facebook). När vi nyligen browsade igenom de kommande funktionerna i WordPress 3.5, noterade vi ticket #21307 som handlar om att remove link manager från core.
Så varför gav vi den rubriken? Jo för att den bara inaktiveras för nya användare som standard. Om du har länkdata i databasen kommer länkhanteraren att förbli som den är. Men om du inte har några links kommer den att inaktiveras. Med andra ord finns koden för länkhanteringen fortfarande kvar i core. Detta är för att se till att denna update inte förstör din site eller tar bort dina data.
I framtiden är dock planen att ta bort kodbasen för länkhanteraren från core och göra den till ett plugin. Andrew Nacin, en av core contributor har redan skapat ett plugin som heter Link Manager. För närvarande är syftet med detta plugin att ge nya användare möjlighet att aktivera länkhanteraren i version 3.5 om de väljer att göra det.
Om du fortfarande använder Link Manager eller vill använda länkhanteraren, så frågar vi varför? Du kan uppnå allt som Link Manager erbjuder och mer därtill med de built-in WordPress menyer. För att se hur, titta bara på vår senaste artikel om denna issue.
Vi är definitivt glada över att ha ett menu-item mindre. What are your thoughts?
Syed Balkhi
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Alec Sorensen
Link Manager and menus don’t behave identically, which would be the main reason I’d be tempted to keep the Link Manager. For example, if you get links with get_bookmarks, it will return nothing if you don’t have that link category. However, wp_nav_menu will insert a random menu if it doesn’t find a menu with the right name… That’s a problem.
Clay Asbury
We tried managing a large number of pages & links to resources (+500) on 3.5 recently and found out why the link manager is still needed. Use caution, we lost data due to this problem.
Due to the volume of links, we used an iteration of Mega Menu (Uber Menu) to maximize horizontal real estate on Main navigation menu using columns to display 2nd and 3rd level items.
Most pages required some form of secondary navigation as well. We used custom menus for the those.
Very quickly we ran into a php error well known to the Uber Menu folks referencing ”max_input_vars” affecting large menus, forms, etc… t’s set by defaul to 1000.
You can manually override the limit in php.ini, IF your host allows it. I had to enable root access on one of MediaTemple’s Managed DV VPS servers by editing php.ini directly in /etc. If you’re on GoDaddy, you’re probably out of luck. Placing it in the root directory of your site doesn’t do the trick.
Nico Julius
I’ve build dozens of WordPress blogs and I never needed the blogroll… until now. So I’m glad this function is still available in WordPress 3.5!
Stephanie True Moss
I do not want to see the LinksManager go away! For a simple blogroll using a Menu instead is a viable option, but to limit WordPress by removing such a valuable asset as the LinksManager may be short-sighted.
I have used theWordPress LinksManager to list QR Code services at – http://QRmedia.us – and the Links Library plugin to display them. I maintain multiple useful lists and the main list of QR Code Generators at – http://QRmedia.us/qr-code-generators-list – has 250 different links. A menu certainly wouldn’t handle that many links!
I would like the option to use LinksManager in future sites – perhaps the same capabilities added with a plugin can be a viable answer.
There are so many different ways to use WordPress that it seems awkward that anyone would want to close the door on such a useful part of WordPress – just because many have not figured out how to use it for anything more than a blogroll!
Editorial Staff
They don’t plan to get rid of the feature altogether. The goal is to slowly transition it out from the WordPress core into a separate plugin (which we linked to). You will have all the features as is.
Administratör
Your Real Name
Yes, but if a site is currently using the Link Manager function for, oh, say, links, and it is removed from the core without the plugin being installed, what happens to the links? If we install the plugin, will it work off of the same tables in the database and ’absorb’ the links already there or will they need to be reentered?
Editorial Staff
Not sure if you read the article properly. Second paragraph, first line: ”it is only being disabled for new users by default. If you have link data in the database, then the link manager will stay as is.”
owcv
The wordpress menu might be nice to create a smal blogroll of some certain links, but if you want to manage hundreds of links with additional information (e.g. with link library plugin) it is useless because of lack of categories and uncomfortable to manage because of the length. I created a link directory and need something more than just a custom menu blogroll or whatever.
Heidi
Um yeah, I don’t know. But I use the links feature to display collections of links on pages via a plugin and it is much more than a ”blogroll”
We run a coupon site and I actually use the Links manager to input printable coupons of different types and display them on pages using a plugin. It automatically alphabetizes those links/coupons. And makes it very easy for me to find and delete a coupon when it has expired. So my pages are always fresh.
I hope that this feature will not go away. Menus are great but they don’t function the way I need them to.
Also for those who actually use the Links as a Blogroll for those with a widget on the sidebar there is no way to display a list of random links if you were to use menus. So let’s say you have 50 links in your blogroll but only want to display 5 at a time randomly on the sidebar…
Editorial Staff
Heidi, This is not going away in 3.5. It just won’t be visible for new users anymore. The code will still stay there for existing users. The plan is to do a smooth transaction from core to plugin in the later releases.
Administratör
✍ Oscar Gonzalez ☺
I use them quite a bit. here are two examples. http://cco-cpa.com/links/ and http://ptosisresources.com/ptosis-links-and-references/ – they are so easy for novices to add and change without having to worry about how they display up front.
I wish they left them alone and build upon the references at the bottom, like the xfn manager. With things like Google+ authorship and other sites (to certainly follow suit). This link manager should have been grown and polished rather than removed.
✍ Oscar Gonzalez ☺
Oh yeah and I use a plugin to display them… so it would be nice to have that feature in core. I guess the newish ”formats” might replace this if we use the ”link” but I’m still not happy about this change.
Scott Wyden Kivowitz
I use the Blogroll currently, but would be ok with using the menu feature to organize external links. However, there are two concerns. 1) WordPress needs to make a Blogroll to Menu conversion tool. 2) There needs to be a script that I can use, like with the Blogroll, to include a custom menu in a page template.
Editorial Staff
Yes that indeed would be a good solution.
Administratör
Paul
Yea good idea don’t need it…remove the bloat from the core.
Afshin Mokhtari
With custom menus I dont see any reason to keep link manager around. I think its a good idea to get rid of it.