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

Os “Links” do Blogroll devem ser removidos em favor dos Menus do WordPress?

Nota editorial: Ganhamos uma comissão de links de parceiros no WPBeginner. As comissões não afetam as opiniões ou avaliações de nossos editores. Saiba mais sobre Processo editorial.

Ontem, em nossa página do Facebook, fizemos a seguinte pergunta: “Se você pudesse se livrar de um recurso ou coisa no WordPress, o que seria?”. Algumas pessoas de nossa comunidade deram sua opinião. Também fizemos a mesma pergunta no Twitter. Um de nossos usuários nos enviou uma mensagem direta perguntando do que poderíamos nos livrar. Depois de examinar a lista de recursos sugeridos por outros usuários, achamos surpreendente que ninguém tenha mencionado os links do “Blogroll”.

Na época em que começamos a usar o WordPress, o recurso Links, também conhecido como blogroll, era fascinante. Ele nos permitia adicionar e remover links na barra lateral sem precisar lidar com código algum. Era um sonho que se tornou realidade para nós, iniciantes. No entanto, agora o recurso de links parece um pouco desatualizado e, francamente, não é tão fácil quanto os “Menus”. Neste artigo, defendemos a substituição do recurso “Links” do Blogroll em favor dos menus do WordPress.

Em nossos projetos recentes, passamos a usar um menu personalizado onde antes usávamos Links. É muito mais flexível para nossos clientes controlar a ordem dos links por meio da interface simples de arrastar e soltar que os menus oferecem. Esse é, de longe, um dos recursos mais solicitados por nossos clientes. Não nos entenda mal. Os links têm alguns dos recursos que gostaríamos de poder manter ao usar os menus. Portanto, faremos uma comparação dos recursos e deixaremos que você decida se os “links” do blogroll devem ser substituídos em favor dos Menus do WordPress.

Recursos que os “Links” do blogroll têm:

  • Capacidade de adicionar links personalizados
  • Adicionar descrição do link
  • Categorizar links
  • Propriedade de destino (abrir o link em uma nova janela ou na mesma página)
  • Especificar o relacionamento do link usando rel: tags
  • Endereço da imagem
  • Endereço de RSS
  • Notas
  • Classificações

Agora vamos ver quantas dessas coisas você já pode fazer com os menus do WordPress. Você pode adicionar links personalizados usando a área “Links personalizados” em Menus. Você pode categorizar os links simplesmente criando menus separados para cada categoria. Se você observar a guia Screen Options (Opções de tela ) no canto superior direito da tela de administração, verá que há caixas de seleção para Link Target (Alvo do link), Link Relationship (Relação do link) e Description (Descrição). Portanto, elas também podem ser adicionadas. Então, o que os menus não podem fazer que os links podem?

Os menus não permitem que você tenha Notas “que são para uso do administrador para lembrá-lo por que ele adicionou um link”. Mais uma vez, parece um pouco inútil que alguém tenha um link em sua barra lateral sem saber por que o adicionou ali. Normalmente, descobrimos que os usuários colocam links para sites que ADORAM e que leem regularmente. Você não pode ter classificações. Isso é usado para classificar os links por classificação atribuída pelo administrador. Bem, você pode fazer isso por meio da interface de arrastar e soltar. Agora, o que seria legal é permitir que o público avalie nossos links, e então esse recurso pode ser bem bacana. Endereço RSS para o link. Nunca usei esse recurso, mas ele pode ser útil para alguns de vocês. O recurso de que sentimos muita falta é o endereço de imagem. Sim, você pode usar imagens nos menus do WordPress, mas isso exige que você crie uma classe CSS para cada item. Isso é algo que a maioria dos clientes não pode fazer. Agora, se pudermos adicionar uma maneira de adicionar ícones aos menus do WordPress (seja no núcleo ou por meio de um plug-in), poderemos nos livrar completamente da área de Links.

Agora, vimos algumas pessoas que usam Links como um tipo de post. Assim, eles adicionam links e os exibem em uma página separada que chamam de “Recursos ou Amigos”. Mas com os formatos de posts do WordPress na versão 3.1, você pode adicionar links de qualquer maneira. Portanto, não faz mais sentido usar Post Formats para links em vez de usá-los como um tipo de postagem separado?

Gostaria muito de ouvir sua opinião.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

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.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

20 ComentáriosDeixe uma resposta

  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.

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.