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 …

How To Add Links To Your WordPress SiteAs you become more familiar with WordPress, you may occasionally come across references to the term blogroll.

In WordPress terminology, a list of links displayed on your sidebar area 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.”

The Links feature lets you easily add external links to your sidebar area (e.g. a “Recommended Resources” section) using widgets.

Info

Before WordPress v3.5 was released, Links were a visible feature of the WordPress CMS. From v.3.5 onwards, the Links manager and blogroll sections were removed …

Before …

The Links Manager  - included in the WordPress menu until the release of WP v.3.5

(The Link Manager feature – part of the WordPress admin menu until the release of WP version 3.5)

After …

Post v 3.5 - no WP Links feature

(Links – no longer included in the menu after WordPress version 3.5)

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

 

How To Add A Link Section To WordPress

Useful 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 the Links feature is not visible when you log into your WordPress dashboard, you can add this feature by installing a plugin. In this tutorial, you will learn how to add, edit, delete and manage blogroll links on your sidebar using plugins.

Link Manager

Link Manager - Plugin For WordPress

(Link Manager)

Download URL

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

Plugin Description

This plugin restores the built-in Link Manager, even if you update WordPress to a later version or remove all of your current links.

Note: All this plugin does is add a single line of code to restore the hidden feature. When we last checked, this plugin had not been updated for some time, 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 template code.

Simple Links

Simple Links Plugin

(Simple Links – WordPress Link Management Plugin)

Download URL

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

Plugin Description

Simple Links recreates the concept of the built-in WP Link Manager while removing the shortcomings of the deprecated functionality.

How To Install Link Manager

To install the Link Manager plugin on your website or blog, follow these step-by-step instructions:

In the WP administration menu, select Plugins > Add New …

Plugins Menu - Add New

(Plugins Menu – Add New)

Select the Install Plugins > Search tab, then type ”link manager” into the search field and hit Enter …

How To Install Link Manager

Find the plugin in the results area and click Install Now …

Installing Link Manager

Activate the plugin …

Plugin Installation

After activation, WordPress will display a ‘Links’ item in the sidebar menu …

Links menu

(WordPress links management menu section)

Setting Up The Plugin

Before adding any new links, we recommend setting up your link categories. This way, you can assign any new links to link categories you have already created.

Link Categories

To create a new link category, select Links > Link Categories in the WP dashboard navigation menu …

WordPress Links Menu - Link Categories

(Links Menu – Link Categories)

This takes you to the ‘Link Categories’ screen.

Type in information into the following fields:

  • Name: Whatever you type in this field is the link category name that will display on your site.
  • Slug: The slug is the URL bit of your link category name. Use only lowercase letters without spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description.

Click the Add New Link Category button …

Link Categories

(Link Categories screen)

The category details will now show in the table …

Link Categories

(Link Categories)

Important Info

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

Default link category

(Default link category name)

You may want to change this default link category name to something better suited to your business. 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 …

we recommend changing the default 'blogroll' to something your visitors will relate to

(Consider changing the default ’blogroll’ to something better suited to your business)

To change the ‘Blogroll’ link name, hover your mouse over the category name and click on the Quick Edit link …

Editing the default link category

(Edit the link category name)

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), then click on the Update link Category button …

Update Link Category

(Edit the link category name)

Replace the category ‘Blogroll’ with an appropriate links section name (e.g. ‘Recommended’, ‘Special Deals’ etc).

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

Link category description

(You can add/edit the category description)

Add your description in the ‘Edit Link Category’ screen and click Update …

Edit Link Category page

(Edit Link Category area)

Repeat the above process and add as many link categories as your site requires.

Once you have finished configuring your link categories, you can start adding new links.

How To Add Links

To create a new link, select Links > Add New in your WP admin menu …

Links - Add New

(Links Menu – Add New)

The ‘Add New Link’ page will load in your browser …

Add New Link page

(Add New Link page)

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

Links page - Add New Link button

(Links – Add New Link button)

The ‘Add New Links’ page is divided into various sections:

Name, Web Address & Description

This section lets you enter your link details …

Name, Web Address& Description

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

Enter information into the following sections:

  • Name: Enter the category name.
  • Slug: The slug is the URL bit of your link category name. It must all be in lowercase letters and contain no spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description. (Optional)
Categories & Target

After typing in your link details, select a Category and Target for the new link …

Categories & Target - Add New Link screen

(Categories & Target area)

In the Categories section, tick one of the link categories you’ve already set up, or click on ’+ Add New Category’ to add a new category link.

Also, select a target frame radio button for your link in the Target section. This lets you specify where you want your link to open when visitors click on it:

  • _blank means that a separate window will open up in their browser to display the information for that link.
  • _none means that when a visitor clicks on your link, they will leave your site and a new website or page will load in your web 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)

(Link Relationship (XFN) fields – Add New Link screen)

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

XFN relationships are optional for WordPress links. You can leave everything in this section blank and all your links will work just fine. Defining relationships with XFN makes your links more understandable to some sites 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 a relationship between the current document and the linked document. For example, if you don’t want search engines to follow your link, type nofollow into this field.

To learn more about XFN, visit the site below:

Advanced

The last section allows you to specify Advanced features for your links (You can leave the fields in this section empty unless there’s a good reason to use them) …

Advanced link settings - Add New Link

(Advanced link settings – Add New Link screen)

The Advanced link settings section includes the following options:

  • Image Address: Specify an image to be displayed with the link. To use this feature, add the URL of where the image is stored and make sure that your image is small (around 16×16 like a favicon).
  • RSS Address: If your theme allows it, the RSS feed associated with the link will be displayed next to your link.
  • Notes: This section lets you add notes for your own internal reference.
  • Rating: Add a rating score to the link if you want to sort links by rating (see the ‘Links’ widget section below).

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

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

click on Add Link to update your link settings

(Click on Add Link to save your new link)

Info

Note: If you select the Keep this link private checkbox, your link will not be visible in your Blogroll section …

Make links private by selecting the checkbox

(Private link checkbox)

Making a link private allows you to toggle its visibility on and off without deleting it (this is useful if you want the link to display during certain times and hide it afterwards) …

Toggle link visibility on and off

(Making links private toggles their visibility on and off)

To view all your links, click on Links > All Links in your navigation menu …

WP Links Menu - All Links

(Links – All Links)

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

Links table

(Links screen)

Useful Tip

Tip: To display or hide information in the Links page, click on the ‘Screen Options’ tab at the top of the screen …

Links screen - Screen Options

(List of links – Screen Options)

Show/hide information on your table of links by selecting/deselecting their checkboxes …

Show/hide links

(Show/hide links)

How To Edit Your Links

To modify links in the Link Manager, choose Links > All Links in the WP admin menu to bring up the table of links …

Links - All Links

(Links – All Links)

Select the item to be edited 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 page

(Edit Link screen)

After you’re done editing the link, you can:

  • Click on Update Link to save and update your link details,
  • Click on Visit Link to check that you have set up everything correctly (your link will open up in a new window),
  • Click Delete to delete the link if it’s no longer required …

Edit Link: Update Link button

(Update Link button)

Deleting Links

To remove links, go to your navigation menu and choose Links > All Links …

Links Menu - All Links

(Links Menu – All Links)

This takes you to the ‘Links’ page.

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

To delete individual links, hover your mouse cursor over the link that you want to remove and click Delete …

Deleting your links

(Deleting your links)

To delete links in bulk, either tick the checkbox next to every link that you want to be removed, or select all links by clicking on the checkbox next to the ‘Name’ column header at the top of the list …

Deleting multiple links

(Deleting multiple links)

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

Bulk-delete links

(Links: bulk-delete function)

The links will be deleted …

Link deletion notice

(links deleted notification)

Plugin Usage

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

Using The Links Widget

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

To access and configure your Link widgets, click on Appearance > Widgets in your WP navigation menu …

Appearance Menu - Widgets

(Appearance Menu – Widgets)

The ‘Widgets’ screen will display in your web browser.

You will see that a ‘Links’ widget has been added to the Available Widgets section …

Links widget

(Links widget)

Drag the ‘Links’ widget to one of your widget sections in the Widgets screen and drop it wherever you would like your links to display …

Adding a links widget to your WordPress sidebar

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

The Links widget offers various settings. For example, you can specify what information you would like to display about your links and how many links you would like displayed on your sidebar menu …

Link widget - configurable settings

(Link widget options)

You can also add multiple link widgets to your sidebars and footers. This lets you create and display link lists throughout your site …

Add a number of link widgets to your sidebar

(Add multiple link widgets to your widget bars)

Display links for a specific category …

Link widget options - Select Link Category

(Link widget settings – Select Link Category)

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

Link widget options - Sort by options

(Link widget settings – Sorting options)

Once you are done setting up the links widget, click Save to update your settings. A links will now appear on your site …

Links can be displayed on your site's sidebar

(An example of how links can be displayed on a 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 more help using widgets? We have written a detailed article on widgets here:

Link Manager – Additional Information

If you have loads of links, the Links Manager plugin allows you to easily administer these using sort, filter, and search functions.

Sorting Links

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

Sort your links

(You can sort links)

Search Your Links

Search for links using the ‘Search Links’ function …

You can easily find your links using the search function

(You can easily find links with the search function)

Filter Your Links

You can filter links by category …

Filtering your links by link category

(Filtering your links by categories)

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

searching and filtering links in the Link Categories screen

(Search and filter links in the Link Categories screen)

This displays a list of all links grouped under a specific link category …

Links filtered by category

(Links filtered by category)

Links – Additional Options

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

Link Library

Link library - Plugin For WordPress

(Link Library)

Plugin Download URL

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

Plugin Description

The Link Library plugin lets you publish a list of your link categories with a complete list of all your links plus notes and descriptions …

Link Library links

(Link Library links. Image source: Link Library plugin documentation.)

This plugin can be used to create a page on your web site containing a list of all of the link categories in your Links area, plus 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 of your link collection that lets your site users become aware of additions to your link library.

To learn more this great plugin, visit the plugin site:

Adding A Blogroll To The WordPress Sidebar

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

Tip

Go here if you would like to learn more about adding HTML links in WordPress posts:

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie