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

Czy „odnośniki” Blogroll powinny być usuwane na rzecz menu WordPress?

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Wczoraj na naszej stronie na Facebooku zadaliśmy pytanie „Gdybyś mógł pozbyć się jednej funkcji lub rzeczy w WordPressie, co by to było?”. Kilka osób z naszej społeczności wyraziło swoją opinię. To samo pytanie zadaliśmy również na Twitterze. Jeden z naszych użytkowników wysłał nam bezpośrednią wiadomość z pytaniem, czego byśmy się pozbyli. Po zapoznaniu się z listą funkcji, które zasugerowali inni, stwierdziliśmy, że zaskakujące jest to, że nikt nie wspomniał o odnośnikach „Blogroll”.

W czasach, gdy zaczynaliśmy korzystać z WordPressa, funkcja odnośników, czyli blogroll, była fascynująca. Pozwalała nam dodawać i usuwać odnośniki na panelu bocznym bez konieczności zajmowania się kodem. Dla nas, początkujących, było to spełnienie marzeń. Jednak teraz funkcja odnośników wydaje się nieco nieaktualna i szczerze mówiąc nie tak łatwa jak „Menu”. W tym artykule przedstawiamy argumenty za zastąpieniem funkcji „odnośników” w Blogrollu na rzecz menu WordPress.

W naszych ostatnich projektach używaliśmy własnego menu tam, gdzie wcześniej używaliśmy odnośników. Dla naszych klientów znacznie bardziej elastyczne jest kontrolowanie kolejności odnośników za pomocą prostego interfejsu przeciągania i upuszczania, który zapewnia menu. Jest to zdecydowanie jedna z najbardziej pożądanych funkcji, o które proszą nasi klienci. Nie zrozum nas źle. Odnośniki mają niektóre funkcje, które chcielibyśmy zachować podczas korzystania z menu. Zamierzamy więc dokonać porównania funkcji i pozwolić ci zdecydować, czy „odnośniki” blogroll powinny zostać zastąpione na rzecz menu WordPress.

Funkcje, które posiadają odnośniki Blogroll:

  • Możliwość dodawania własnych odnośników.
  • Dodawanie opisu odnośnika
  • Kategoryzowanie odnośników
  • Właściwość docelowa (otwórz odnośnik w nowym oknie lub na tej samej stronie)
  • Określanie odnośników za pomocą tagów rel:
  • Adres obrazka
  • Adres RSS
  • Uwagi
  • Oceny

Zobaczmy teraz, ile z tych rzeczy można już zrobić za pomocą menu WordPress. Możesz dodawać własne odnośniki za pomocą obszaru „Własne odnośniki” w menu. Możesz kategoryzować odnośniki, tworząc po prostu osobne menu dla każdej kategorii. Jeśli spojrzysz na kartę Opcje ekranu w prawym górnym rogu twojego ekranu administratora, zobaczysz pola wyboru dla Celu odnośnika, Relacji odnośnika i Opisu. Można je również dodać. Czego menu nie mogą robić, a odnośniki mogą?

Menu nie pozwalają na dodawanie notatek, „które są przeznaczone dla administratorów, aby przypomnieć im, dlaczego dodali odnośnik”. Ponownie, wydaje się to trochę bezcelowe, że ktoś będzie miał odnośnik w swoim panelu bocznym, nie wiedząc, dlaczego go tam dodał. Zazwyczaj użytkownicy umieszczają odnośniki do witryn, które KOCHAJĄ i regularnie czytają. Nie można mieć ocen. Służy do sortowania odnośników według oceny przypisanej przez administratora. Można to zrobić za pomocą interfejsu „przeciągnij i upuść”. Byłoby fajnie, gdybyśmy mogli pozwolić na publiczną ocenę naszych odnośników, a wtedy ta funkcja może być całkiem fajna. Adres RSS dla odnośnika. Nigdy nie korzystałem z tej funkcji, ale może być przydatna dla niektórych z was. Funkcja, której absolutnie nam brakuje, to adres obrazka. Tak, można używać obrazków w menu WordPress, ale wymaga to utworzenia klasy CSS dla każdego elementu. Jest to coś, czego większość klientów nie może zrobić. Teraz, jeśli możemy dodać sposób dodawania ikonek do menu WordPress (w rdzeniu lub za pośrednictwem wtyczki), możemy całkowicie pozbyć się obszaru odnośników.

Widzieliśmy kilka osób, które używają odnośników jako typu treści. Dodają więc odnośniki i wyświetlają je na osobnej stronie, którą nazywają „Zasoby lub znajomi”. Ale dzięki formatom wpisu WordPress w wersji 3.1 i tak można dodawać odnośniki. Czy nie jest więc sensowniej używać formatów wpisu dla odnośników, zamiast używać ich jako osobnego typu treści?

Chętnie poznam twoje zdanie?

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

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.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

20 komentarzyZostaw odpowiedź

  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. Daffy says

    Thanks for the article!

    is there a plugin or an easy way to move links to a menu? Anty suggestion on how to do it that doesn’t involve c&p one at a time?

  3. Charles Flemming says

    It’s true that a custom menu works better for including links on a sidebar, but that’s not why I need Link Manager functionality.

    You need Link Manager to allow nRelate to pull related content from external sites.

  4. slushman says

    I have to agree. I think you could move the entire Links section into a plugin that people can install if they need it. I’ve only used it on one site ever, so I’d bet most sites won’t miss this too much. It would be nice if someone took this on and improved the future Links plugin to add features, etc. You’d get the best of both worlds then.

  5. ShubhojyotiBhattacharya says

    I used to have a long link of friend’s blogs as Blogroll. But now I have them using the WP Menus. I have never used separate icons for the links but I guess it is useful for many. Personally I can live with WordPress without the Links option :)

  6. BillRobbins says

    Personally, I think moving the Links section to an optional plugin–like the current import feature–would be a great move. It would also keep in line with WordPress’ move to turn all references of „blog” into „site.”

  7. senlinonline says

    my idea to definitely get rid of the word „Blogroll” as that is probably the most outdated word on the entire WordPress install. I still use the links section with additional customizations on most sites of clients, but I normally use a Page to display them and then show a few random ones in the sidebar (if at all)

    Regarding the sidebar links you are right on the dot when you say that the exact same can be accomplished with menus!

  8. WPBeginner - WordPress for Beginners says

    Ah, I get what you are saying now. But creating another widget would make the widget itself very complicated. Because widget screens are very small to begin with.

  9. Alan Hughes says

    I know what you are referring to but I must not be explaining myself very well. I was just suggesting removing the current links option, and replacing it with a new widget option since that is where they end up anyways.

  10. WPBeginner - WordPress for Beginners says

    Alan, I don’t think you are getting what we are referring to. There is an option in the left dashboard menu called Links. Which is used by users to add links and then they can display those in the sidebar using Widgets…

    There was a Menus feature added in WordPress 3.0 which can be found in Appearence > Menus (which lets you create cool menus to display on your site)… Those have drag-drop feature and most of the feature that Links has.

    So we are suggesting that Links should be removed… The new links widget?? I don’t know if such thing is planned for 3.3.

  11. Alan Hughes says

    Well I would assume a new links widget would have a drag and drop ordering system, the same way the widgets themselves have drag and drop ordering. (By menu I was referring to the the main left column of links in WordPress’ back end).

  12. David Murphy says

    links are always pretty much redundant in my wp themes and they seem quite old fashioned to me – I often take the links menu item out of my wp-admin installs via some functions.php trickery. So i agree that menus should be moved to the top line. I also use widgets a lot and it kind of annoys me that they sit as a child listing under appearance.

  13. Bernardo Irigoyen says

    I find them more simpler for the final user.
    They can categorize in the same way as posts and the plus is including an image to every link, very simple.
    Sorry my english is not very good, i hope you understand what I mean.

  14. WPBeginner - WordPress for Beginners says

    – Bernardo please share why you think keeping Links are useful. We wrote an entire article pointing out why we think Menus are better. Would be glad to hear your point of view.

    – Alan but beginners like the ability to control the order of their links. Which is usually controlled by the output in theme’s code. We get tons of requests for people asking how to do that. Menus have drag-drop feature which is really easy.

  15. Alan Hughes says

    A simple built in links widget would probably be nice for beginners, but a menu tab of its own doesn’t seem necessary. Sidenote: I think the width of the menu column should be adjustable because some custom post type titles can be long and it starts looking goofy when every one or two words are indented to the next line.

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.