How To Add A Link Section To WordPress

Before the release of WordPress v3.5, Links were a core feature of WordPress. This tutorial shows you how to restore this feature to your site …

Adding WordPress Sidebar Featured LinksAs you learn more about WordPress, you may occasionally come across references to the term blogroll.

In WordPress terminology, a list of links displayed on your sidebar is sometimes referred to as a blogroll.

According to official WordPress documentation …

“The term ‘blogroll’ was originally used because it was a list of links to other blogs, but you can include links to any sites.”

You can add a blogroll using the Links menu in your WP Dashboard. These links will display on your blog once you add the Links widget.

Info

Prior to the release of WP v 3.5, Links were a built-in feature of the WordPress CMS. From v3.5 onwards, the Link Manager section was hidden by default in new installations …

Before …

Links  - included in the WordPress admin menu until the release of WordPress version 3.5

(WordPress Links Manager Feature – pre version 3.5)

After …

The Links Manager feature  - excluded from the menu after WP version 3.5

(The Link Manager feature is no longer part of the menu after WP v.3.5)

If you have had an earlier version of WordPress than v 3.5 installed and upgraded your installation, then the Link Manager would have been removed, unless you’ve previously used it. If you’ve never used Link Manager, however, or if your installation of WordPress is new, then this function will become invisible – it will not display on your dashboard menu.

 

How To Add A Link Section To WordPress

Practical Tip

You can add a link section to your sidebar menu by creating a custom menu, or use a plugin like the one shown in the tutorial below.

If you can’t see a Links item on your main menu when you log into your WordPress admin area, you can add it via a plugin. In this tutorial, you will learn how to add, edit, delete and manage blogroll links on your site’s sidebar using WordPress plugins.

Link Manager

Link Manager

(Link Manager)

Plugin Download URL

http://wordpress.org/plugins/link-manager

Description

You can use this plugin to display the built-in Links Manager, even if you update WordPress to a later version or remove all of your current links.

Note: This plugin adds a single line of code to your installation to restore the hidden feature. When we last checked, this plugin had not been updated for a while, but it should still work fine. If you don’t want to use the Link Manager plugin, then use the one below instead, or contact us for help editing your site’s template code.

Simple Links

Simple Links - Link Manager Plugin For WordPress

(Simple Links – Links Manager Plugin For WordPress)

Download URL

https://wordpress.org/plugins/simple-links/

Plugin Description

Simple Links attempts to recreate the same concept as the built-in Link Manager while removing the shortcomings of the deprecated feature.

Plugin Installation

Let’s install the Link Manager plugin.

In the WordPress admin menu, go to Plugins > Add New …

Plugins - Add New

(Plugins – Add New)

Click on the Install Plugins > Search tab, then type in “link manager” into the search field and hit Enter …

Installing Link Manager

Locate the plugin in the search results area and click Install Now …

Plugin Installation

Activate the plugin …

How To Install Link Manager

After activation, a ‘Links’ section will be added to the navigation menu …

WordPress links management menu

(Links management menu section)

Configuring Link Manager

We recommend setting up link categories first before adding new links. This way, when adding a new link, you can assign the link to link categories you have already created.

Link Categories

To create a link category, go to the WP dashboard menu and choose Links > Link Categories …

Links - Link Categories

(Links Menu – Link Categories)

The ‘Link Categories’ screen will display in your browser.

Enter the following information:

  • Name: What you enter here is the category name that will display on your site.
  • Slug: The slug displays in the search-engine friendly URL of the link category. It must be in lowercase letters and contain no spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description.

after entering your information, click the Add New Link Category button to save your new link category …

Link Categories

(Link Categories)

Your new category will be added to the table …

Link Categories area

(Link Categories page)

Useful Info

Tip: The default WordPress link category is called Blogroll . Unless you specify the category when adding a link, WordPress automatically assigns new links to the default category …

Default link category name is 'blogroll'

(Default link category)

You may want to change this to something that will make sense to your blog readers. This will not only make it easier for users of your site, but any new links that you add to your site will automatically be assigned to the new category name …

Consider changing the default link category name to something your visitors will understand

(Change the default link category name to something your visitors will relate to)

To edit the default category name, hover your mouse over the item and click on the Quick Edit link …

Editing the default link category name

(Editing the default link category)

Replace both the Name and the Slug with a new category name (remember to keep the slug in lowercase letters and replace all spaces with a hyphen), and click on the Update link Category button …

Update Link Category

(Quick Edit)

In our example, the category ‘Blogroll’ has been replaced with a more suitable category name (e.g. ‘Recommended’).

Let’s now add a link category description. To add a link category description, click on the Edit link under the category name …

You can add/edit the category description

(You can add/edit your category description)

Add your link category description field and click Update …

Edit Link Category area

(Edit Link Category screen)

Repeat this process and add as many link categories as your site needs.

Once you have configured your link categories, you can add your links.

Adding Links

To create a new link, go to the WP dashboard menu and choose Links > Add New …

Links Menu - Add New

(WordPress Links – Add New)

This brings up the Add New Link’ screen in your web browser …

Add New Link screen

(Add New Link page)

You can also access this page by clicking on ’Add New’ in the main Links page …

Add New Link button

(Add New Link button)

The ‘Add New Links’ page has several sections:

Name, Web Address & Description

This section is where you enter details about your link …

Add New Link page - Name, Web Address& Description fields

(Add New Link screen – Name, Web Addressand Description)

Type in the following information:

  • Name: Whatever you type in this field is the link category name that will display on your site.
  • Slug: The slug shows up in the URL of the link category name. Use lowercase letters only and do not include spaces (use hyphens to separate words).
  • Description: Some themes may display your link category description. (Optional)
Categories & Target

Select a Category and Target for your new link …

Categories & Target section

(Categories & Target)

In the Categories section, select one of the link categories you have already added, or click on ’+ Add New Category’ to create a new category.

Also, select a target frame radio button for your link in the Target section. This lets you specify where your link should open when clicked on:

  • _blank means that when visitors click on your link, a new browser window will open up to display the content for that link.
  • _none means that when a visitor clicks on the link, they will leave your site and a new website or page will load in your browser window instead.
  • _top opens links at the top level of the frame system if you’re using frames. If you don’t use frames, or if you don’t know what frames are, then just ignore this option.
Link Relationship XFN

This section provides some additional link functionality …

Link Relationship (XFN) area

(Link Relationship (XFN) – Add New Link)

Link Relationship (XFN) – XFN (XML Friends Network) is a way to define your relationship to the linked person. For example, if you have a professional relationship with Christopher Larsson and you link to his blog, you would probably check co-worker or colleague.

XFN relationships are optional. You can ignore this section and your links will still work. XFN makes your links more understandable to some websites and search engines that use this information.

rel – This field specifies the ‘rel’ attribute that will be assigned to your link. The rel attribute defines what relationship exists between the current document and the linked document. For example, if you don’t want search engines to follow your link, enter nofollow into this field. Other ‘rel’ attributes include author, help, start, index, etc. Separate multiple ‘rel’ keywords with spaces.

You can learn more about XFN by visiting the site below:

Advanced

The last section of the Add New Link’ page allows you to enter Advanced features for your links (You can leave these fields empty unless you have a reason to use them) …

Add New Link - Advanced area

(Add New Link – Advanced link settings)

The Advanced section fields include the following:

  • Image Address: Specify an image to be displayed with the link. Add an image URL and make sure that your image is small (around 16×16 like a favicon).
  • RSS Address: If your theme allows it, the link’s RSS feed can display next to the links.
  • Notes: Add notes about the link in this section for your own internal reference.
  • Rating: You can add a rating score to the link if you would like to sort links by rating (see the ‘Links’ widget section below).

Type in your information in the above fields or just leave this section blank, as these fields are not essential.

When you are done adding your new link information, click on Add Link to save your new link …

click on Add Link to save your new link

(Click on Add Link to update your link settings)

Info

Note: If you tick Keep this link private, your link will not be visible in your Links section …

You can make links private by selecting the checkbox

(Make your links private)

Making links private lets you toggle their visibility on or off without deleting these (this is useful if you want to have seasonal links) …

Toggle link visibility on and off

(Toggle link visibility on and off)

To view a list of all the links you have added to the Link Manager, go to your dashboard navigation menu and click on Links > All Links …

Links Menu - All Links

(Links – All Links)

The ‘Links’ screen will display in your web browser. The Links page displays all of your links and link information (e.g. link URL, categories, rating, etc.) …

Links table

(Links page)

Practical Tip

Tip: To display or hide fields in the list of links, click on the ‘Screen Options’ tab near the top of the screen …

Screen Options - Links screen

(Screen Options – Links screen)

Display/hide fields on your table of links by selecting/deselecting their check boxes …

Show/hide links

(Show/hide – Links screen)

Editing Link Information

To edit a link, go to the navigation menu and select Links > All Links to bring up your links page …

WordPress Links - All Links

(Links Menu – All Links)

Locate the item you want to edit and click on Edit to bring up the item’s link information …

Editing your link information

(Editing your links)

Make changes to your link …

Edit Link screen

(Edit Link screen)

After editing the link, you can:

  • Click the Update Link button to save your link details,
  • Click on Visit Link to view your link and make sure that you have set up its URL correctly (your link will open in a new window),
  • Click Delete to remove the link from your table if it’s no longer required …

Edit Link: Update Link button

(Edit Link: Update Link button)

Deleting Links

To remove links from the Link Manager, go to your WP admin menu and select Links > All Links …

WordPress Links Menu - All Links

(Links Menu – All Links)

The ‘Links’ screen will load in your web browser.

You can delete links individually, delete multiple links, or remove all links.

To delete individual links, hover your cursor over the link that you want removed and click on Delete …

Deleting links

(Deleting your links)

To delete multiple links, either tick the checkboxes next to individual items that you want to be removed, or select all links by clicking on the check box next to the ‘Name’ column header at the top of the list …

Delete multiple links

(Delete multiple links)

Choose Delete from the ‘Bulk Actions’ menu, and click Apply to delete your selected links …

Bulk-deletion of links

(Links: bulk-deletion function)

The links you have selected will be removed …

Link deletion notification

(Link deletion message)

Using The Link Manager Plugin

Now that you know how to configure link categories and how to add, edit and delete links, it’s time to display your links on your website or blog.

Using The Links Widget

The Link Manager plugin adds a ‘Links’ widget to your ‘Widgets’ screen.

To access and configure your Link widgets, go to the main dashboard menu and click on Appearance > Widgets …

Appearance - Widgets

(WordPress Appearance Menu – Widgets)

The ‘Widgets’ screen will display in your browser.

You will see a ‘Links’ widget in the Available Widgets section …

Links widget

(Links widget)

To make the ‘Links’ widget active, drag the widget to one of the active widget areas and drop it wherever you want the links section to display …

Add a links widget to a widgetized menu

(Add a links widget to a widgetized area using drag and drop)

The Links widget includes a number of configurable options. For example, you can specify what information you want displayed about your links and how many links you want displayed on your sidebar …

Link widget settings

(Link widget - configurable options)

You can add as many link widgets to your sidebar and footer as you want. This allows you to add and feature a number of different link lists on your site …

You can add multiple link widgets to your widget bars

(You can add a number of link widgets to your widget bars)

You can select a link category …

Link widget settings - Select Link Category

(Link widget settings – Select Link Category)

You can sort links by Link rating, Link ID, Link title, or display links in Random order …

Link widget options - Sort by options

(Link widget options – Sorting options)

After setting up the Links widget, click the Save button to update your settings. A links will appear on your sidebar, footer or any widget-ready area you place the links widget in …

Links can be displayed on your site's sidebar

(Links can be displayed on your site’s sidebar)

As the above example shows, you can display specific links to your site visitors (e.g. a list for a specific link category only), and add multiple lists of links to your sidebar menu.

Useful Tip

Need help using widgets? We have written a detailed article about using widgets here:

Links Manager – Additional Information

If you have added many links, the Link Manager plugin allows you to easily administer these using sort, filter, and search functionality.

Sorting Links

To sort links, hover your mouse over the title of the column you want to sort and click on the little triangle displayed next to the column title …

Sorting links function

(Sorting links)

Find Links Function

Type a search term into the search field and click the Search Links button to search for links …

Finding links function

(Search your links)

Filter Links Function

You can filter links by link categories …

Filtering links by link category

(Filter your links by categories)

You can also search and filter links in the Link Categories screen. Use the ‘Search Link Categories’ button to search for link categories, or click on the links in the ‘Links’ column …

Search and filter links in the Link Categories page

(Search and filter links in the Link Categories page)

This brings up a list of all links listed under a specific link category …

Links filtered by link category

(Links filtered by link category)

Links – Additional Options

If you plan to add a lot of links to your site, or if you would like to add a page containing a list of links to your site (i.e. not just add links on your sidebar), then you may want to consider using a plugin that can help you administer your links.

Link Library

Link Library Plugin

(Link Library Plugin)

Download Plugin URL

http://wordpress.org/plugins/link-library/

Plugin Description

Link Library allows you to output a list of your link categories with a complete list of all your links plus notes and descriptions …

List of links created with Link library

(List of links created with Link library. Screenshot taken from Link Library plugin website.)

This plugin can be used to create a page on your website that contains a list of all of the link categories in your Links area, and all links listed in these categories. Additionally, you can select a sub-set of categories to display or not display, show only one category at a time, display a search box and find results based on visitor queries, display a form to accept user submissions that can be moderated by a site administrator, and even generate an RSS feed for your links so that your site users can be made aware of any additions made to to your link library.

To learn more about Link Library:

How Do I Add A Featured Links Section To My WordPress Site?

Congratulations! Now you know how to how to add a blogroll and manage links in WordPress.

Useful Tip

We have written a comprehensive article on inserting links into WordPress. Go here to learn more:

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)