Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Link Manager aka Blogrolls kommer ”sortera efter” att tas bort i WordPress 3.5

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?

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

16 kommentarerLämna ett svar

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

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

  3. 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!

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

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

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

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

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

  9. Paul

    Yea good idea don’t need it…remove the bloat from the core.

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

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.