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 A WordPress Blogroll SectionAs you continue to learn more about WordPress, you may occasionally come across references to the term blogroll.

A blogroll is a list of hyperlinks pointing to other sites or web pages displayed on your sidebar.

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 hyperlinks to your sidebar menu (e.g. a “Resources” section) using widgets.

Info

Before WordPress v 3.5 was released, Links were a visible feature of the WordPress CMS. After the release of WordPress version 3.5, the Links manager and blogroll sections were kept hidden by default in new WordPress installations …

Before …

WordPress Links Manager Feature - pre version 3.5

(WP Links Menu – pre v3.5)

After …

The Link Manager  - no longer included in the WordPress admin 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 be removed, unless you’ve previously used it.

 

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 WP dashboard you will need to install a plugin. This tutorial explains how to add and manage blogroll links on your sidebar using WordPress plugins.

Link Manager

Link Manager WordPress Plugin

(Link Manager)

Download URL

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

Plugin 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 template code to your installation to restore the hidden feature. The last time we checked, this plugin had not been updated for some time, but it should still work fine. If you don’t want to use this 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)

Plugin Download URL

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

Description Of Plugin

Simple Links recreates the same concept as the built-in WordPress Links Manager while removing the shortcomings of the deprecated functionality.

Plugin Installation

To install the Link Manager plugin on your website, follow these instructions:

In your WP administration menu, go to Plugins > Add New

Plugins Menu - Add New

(Plugins Menu – Add New)

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

Installing The Plugin

Locate the plugin in the results screen and click Install Now

Installing Link Manager

Activate the plugin …

How To Install Link Manager

After activating the plugin, WordPress displays a ‘Links’ item in your WP navigation menu area …

WordPress links management menu

(Links menu)

Plugin Setup

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

Link Categories

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

Links - Link Categories

(WP Links – Link Categories)

The ‘Link Categories’ page will display in your web browser.

Enter the following information:

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

Click Add New Link Category

Link Categories

(Link Categories area)

The category details will be added to the table …

Link Categories

(Link Categories page)

Important Info

Tip: Blogroll is the default link category name. Unless you specify a category for a link, WordPress will assign 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 visitors. This not only makes it easier for users of your site, but any new links that you add to your site will automatically display under the new category name …

Consider changing the default 'blogroll' to something your visitors will relate to

(we recommend changing the default link category name to something your visitors will relate to)

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

Quick Edit

(Quick Edit)

Change 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 Update Link Category

Update Link Category

(Quick Edit)

In our example, the link category name ‘Blogroll’ has been replaced with an appropriate links section name (e.g. ‘Recommended’).

Let’s create 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 link category description field and click Update

Edit Link Category area

(Edit Link Category page)

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

After configuring your link categories, you can start adding new links.

How To Add Links

To create a new link, go to your WP admin menu and select Links > Add New

Links Menu - Add New

(WordPress Links – Add New)

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

Add New Link screen

(Add New Link screen)

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

Add New Link button

(Add New Link button)

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

Name, Web Address & Description

Enter your link details in this section …

Add New Link - Name, Web Address& Description

(Name, Web Address& Description fields – Add New Link page)

Type in information into the following fields:

  • Name: Whatever you type here is the link category name that will display on your site.
  • Slug: The slug shows up in the URL of the link category. Only use lower case letters and do not include spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description in the links section, or as a tool tip when visitors hover over the link name with their mouse.
Categories & Target

Select a Category and Target for the new link …

Categories & Target area - Add New Link screen

(Categories & Target area)

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

Also, select a target frame for your link in the Target section by choosing one of the radio buttons. This lets you specify how you want your link to open when clicked on by visitors:

  • _blank means that a new, separate window will open up in their browser to display the information for that link.
  • _none means that when a visitor clicks on the link, they will exit your site and a new website or page will load in your web browser window instead.
  • _top opens the link at the top level of the frame system if you’re using frames. Don’t worry about this option if you don’t use frames, or if you don’t know what frames are.
Link Relationship XFN

This section provides some additional link functionality …

Add New Link - Link Relationship (XFN)

(Link Relationship (XFN) area)

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

XFN relationships are optional for WordPress links. 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 is used to define the relationship 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.

You can learn more about XFN by visiting this site:

Advanced

The last section lets you enter Advanced features for your links (some themes will ignore this. You can leave the fields in this section blank unless you have a reason to use them) …

Add New Link - Advanced link settings

(Add New Link – Advanced link settings)

The Advanced link settings section contains the following options:

  • Image Address: Lets you specify an image to be displayed with the link. To use this feature, add the URL of where the image is located 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 can display next to your 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 want to sort links by rating (see the ‘Links’ widget section below).

Enter 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 the Add Link button to update your link settings …

click on Add Link to update your link settings

(Click on the Add Link button to save your new link)

Info

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

Make your links private

(You can make links private by checking the box)

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

Toggle link visibility on and off

(Toggle link visibility on and off)

To view all your links, go to the navigation menu and click on Links > All Links

Links - All Links

(Links Menu – All Links)

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

List of Links

(Links screen)

Tip

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

Links screen - Screen Options

(Links table – Screen Options)

Show/hide fields on your table of links by ticking/unticking their check boxes …

Hide or display - Links screen

(Hide or display – Table of links)

Editing Your Links

To edit links, choose Links > All Links in the dashboard menu to bring up your table of links …

Links Menu - All Links

(Links Menu – All Links)

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

Editing your links

(Editing your links)

Make changes to the link details …

Edit Link screen

(Edit Link screen)

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

  • Click on Update Link to save your link details,
  • Click on Visit Link to make sure that you have set up its URL correctly (the link will open up in a new window),
  • Click Delete to delete the link if you no longer require it …

Edit Link: Update Link button

(Edit Link: Update Link button)

How To Remove Links

To delete a link, choose Links > All Links in your WP dashboard navigation menu …

WordPress Links - All Links

(Links Menu – All Links)

This takes you to the ‘Links’ screen.

You can delete links individually, delete multiple links by selecting their check boxes, or perform a bulk delete.

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

Deleting links

(Deleting your links)

To delete a number of links at once, either click on the check box next to each link that you want deleted, or select all links by clicking on the check box next to the ‘Name’ column header …

Deleting multiple links

(Deleting multiple links)

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

Bulk-delete links

(Links: bulk-delete function)

All the links you have selected will be removed …

Deleted links notification

(links deleted notice)

Plugin Usage

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

Using The Links Widget

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

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

WP Appearance Menu - Widgets

(Appearance – Widgets)

This loads the ‘Widgets’ page in your 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 bars in the Widgets screen and drop it wherever you want the links to show up …

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

(Drag & drop your links widget to add it to your WordPress widget bar)

The Links widget provides a number of configurable options. For example, you can specify what information you would like to show about your links and how many links you would like to display on your sidebar …

Link widget - configurable settings

(Link widget options)

You can add as many link widgets to your sidebar and footer as you want. This allows you to add and display specific a number of links throughout your site …

Add a number of link widgets to your widget bars

(Add multiple link widgets to your sidebar)

Select a link category from the ‘Select Link Category:’ drop-down menu …

Link widget settings - Select Link Category

(Link widget settings – Select Link Category)

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

Link widget settings - Sort by options

(Link widget options – Sort by options)

After configuring the links widget, click the Save button to update your settings. Your link section will show up immediately on your site …

An example of how links can be displayed on your site's sidebar

(An example of how 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.

Practical Tip

Need help with widgets? We have written a comprehensive article on configuring widgets here:

Link Manager – Additional Information

If you have added many links, the Links Manager plugin lets you easily administer these with filtering, searching, and sorting features.

Sorting Links

You can sort links by hovering your mouse over the title of the column you want to sort and clicking on the little triangle displayed next to the column title …

Sorting links

(Sorting links)

Finding Links

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

Search your links

(Search links)

Filter Links

You can filter links by categories …

Filtering links by link category

(Filter links by link categories)

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

Search and filter links in the Link Categories page

(searching and filtering links in the Link Categories screen)

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

Links filtered by link category

(Links filtered by link category)

Additional Link Options

If you plan to use links extensively on your site, or if you intend to add a ‘Links’ page to your site (i.e. not just add a links section to your sidebar), then you may want to look at using a plugin that can help you administer links.

Link Library

Link library - WordPress Link Management Plugin

(Link library – Plugin For WordPress)

Plugin Download URL

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

Plugin Description

This plugin lets you output a list of all your link categories and a complete list of all your links plus notes and descriptions …

List of links created with Link library

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

Link Library creates a page on your site containing a list of all of the link categories in your Links area, plus all links defined for these categories. 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 link collection so that your site users can be made aware of any additions made to to your link library.

To learn more about the benefits of using this useful plugin, go here:

Adding Featured Links To The WordPress Sidebar

Congratulations! Now you know how to add a link section to your WordPress sidebar.

Tip

Go here if you want to learn more adding links into your WordPress posts:

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum