Il y a environ un an, nous avons écrit une publication d’opinion ici à WPBeginner avec le titre« Should Blogroll ‘Links’ be Retired in favor of WordPress menus ? » (Lesliens du Blogroll devraient-ils être retirés en faveur des menus WordPress ?). Nous avons eu un retour décent dans les commentaires et nos réseaux sociaux (twitter et facebook). Récemment, en parcourant les fonctionnalités à venir dans WordPress 3.5, nous avons remarqué le ticket #21307 qui consiste à retirer le gestionnaire de liens du cœur.
Pourquoi l’avons-nous intitulé en quelque sorte ? Eh bien parce qu’il est uniquement désactivé par défaut pour les utilisateurs nouvellement/utilisatrices. Si vous avez des données de liens dans la base de données, alors le gestionnaire de liens restera tel quel. Mais si vous n’avez pas de liens, il sera désactivé. En d’autres termes, le code du gestionnaire de liens reste dans le cœur. Ceci afin de s’assurer que cette mise à jour ne casse pas votre site ou ne supprime pas vos données.
Cependant, à l’avenir, l’offre est de se débarrasser de la base de code du gestionnaire de liens du cœur et d’en faire une extension. Andrew Nacin, l’un des contributeurs/contributrices du cœur, a déjà créé une extension appelée Link Manager. Actuellement, l’objectif de cette extension est de donner aux utilisateurs/utilisatrices nouveaux la possibilité d’activer le gestionnaire de liens dans la version 3.5 s’ils le souhaitent.
Si vous utilisez encore le gestionnaire de liens ou si vous souhaitez utiliser le gestionnaire de liens, nous vous demandons pourquoi ? Vous pouvez réaliser tout ce que le gestionnaire de liens offre et plus encore avec les menus intégrés de WordPress. Pour voir comment, il suffit de consulter notre dernier article à ce sujet.
Nous sommes ravis d’avoir un élément de menu en moins. Qu’en pensez-vous ?
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.
Administrateur
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.
Administrateur
✍ 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.
Administrateur
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.