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

Så här återställer du det saknade fältet för rubriken för Link i WordPress 4.2

I WordPress 4.2 ersattes fältet för länkens rubrik i section insert link med fältet för länkens text. Detta var en liten besvikelse för många användare som anser att länkens titelfält är användbart för sökmotorsoptimering. I den här artikeln visar vi dig hur du addar det saknade fältet för länktitel i WordPress 4.2 och senare versioner.

In WordPress 4.2 Link title field is replaced by link text

Varför togs fältet för rubriken Link bort?

Link title ger en rubrik för länken som kan skilja sig från ankartexten i en länk. Det ger användarna en chans att se rubriken på det dokument som linken avser. Vissa användare trodde att det har tillgänglighetsfördelar, men faktiskt kan många screen readers inte läsa titelattribut i länkar som standard. Link title popup kan inte ses av användare på mobila och andra handhållna enheter. Dessa popups är inte heller synliga för användare som bara använder tangentbord.

Link title popup displayed in Google chrome on a Mac

Många användare tror att Link title text också har sökmotorsoptimering betydelse. Det tillåter webbplatsägare att använda faktiska dokumenttitlar i titeln och deras keywords som ankartext. Du kanske också vill läsa vår artikel om image alt text vs image title.

Om eller ej det finns sökmotorsoptimering eller tillgänglighetsfördelar, är länkens titelattribut verkligen ofarligt. Så här kan du lägga till det på din WordPress site.

Lägga till fältet Link Rubrik igen i WordPress

Det första du behöver göra är att installera och aktivera pluginet Rubrik och Nofollow för länkar. Det fungerar direkt ur boxen och det finns inga inställningar för dig att konfigurera.

Skapa helt enkelt ett new post eller edit ett befintligt. Välj lite text och klicka på knappen insert link i editorn. En insert link popup kommer att visas, och du kommer att notera att det extra länkens rubrikfält visas där.

Insert link popup with title and nofollow fields

Detta plugin addar också en rel=”nofollow” checkbox om du vill använda den. Läs mer om varför och när du behöver nofollow-länkar.

Det var all, vi hoppas att den här artikeln hjälpte dig att add to det saknade länkens titelfält WordPress 4.2 och senare versioner. Du kanske också vill kontrollera vår guide om hur du fixar brutna länkar i WordPress.

Om du gillade den här artikeln, vänligen prenumerera på vår YouTube-kanal för WordPress video tutorials. Du kan också hitta oss på Twitter och Facebook.

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

13 kommentarerLämna ett svar

  1. Syed Balkhi says

    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!

  2. Kay says

    This plug-in works like a charm. Thank you. I found you from a Google search after discovering the title tag was no longer available.

  3. Christian Schnettelker says

    Thanks for the hint, the plugin works very well. Has been driving me nuts to add the link title manually in text view.

  4. Rufus B says

    Looks like ”Kids” that have Not learned that ”IF IT AIN’T BROKE, DO NOT FIX IT” are running the show here.
    Trying to justify their job by irritating their clients, customers, and users.

  5. Mark Robinson says

    Or you could just edit the ”alt” tag in html view and avoid clogging they system with another plugin.

    • Otto says

      You mean the ”title” tag, and the plugin does nothing other than make that easier. I wrote it. I know. :-)

    • Otto says

      The title attribute is useless for SEO, but, I believe in choice. If somebody really wants it, then the plugin offers that choice n it’s a very simple, low-impact plugin

      • Serena Scholl says

        Thank you, Otto!! You and other WordPress peeps are AWESOME!!!The amazingness of FREE and incredible blogging / web software is … There are no words. Thank you! Thank you! Thank you!

  6. Christian Nelson says

    The articles I’ve seen on this topic (including this article) give the impression that most people who liked the pre-4.2 behavior liked it for SEO and accessibility reasons.

    That might be true, but I doubt that I’m the only one who liked that behavior because it let me give my readers more of a clue about what they were going to see when they clicked the link…sort of an additional confirmation of where they were heading.

    What’s most irritating about this is the arrogant attitude of the WordPress developers when responding to complaints about this less-than-helpful change. Paraphrasing: ”We know what’s best of you, and if you don’t like it, you know where to go.”

    They’re heading for a fall.

  7. Viktoria Michaelis says

    For me the link title is not quite so important, but the link itself is. So, since v4.2 I have been adding the link in by hand, through the text version, since the link command doesn’t seem to want to do what it is supposed to. But, perhaps there is a plug-in for that too….

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.