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

A blogroll is a list of links pointing to external sites or pages that display on your sidebar section.

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 add and manage external links to a widget-ready theme.

Important Info

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

Before …

WordPress Links Manager Feature - pre v3.5

(The Links Manager was part of the WordPress menu until the release of WP v 3.5)

After …

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

(The Links Manager is no longer included in the WordPress menu after WordPress v 3.5)

If you were using the Link Manager in previous versions of WordPress, then it will still be available when you upgrade to newer WordPress versions. If you’ve never used Links Manager, however, or if your installation of WordPress is new, then this function will remain hidden – it will not be displayed on your dashboard 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 you can’t see the Links Manager section when you log into your WP dashboard you will need to install a plugin. In this step-by-step 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 URL

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

Plugin Description

Use this plugin to display the built-in Link Manager, even if you upgrade WordPress to a later version or remove all of your existing links.

Note: All this plugin does is add a single line of code to WordPress 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 - Links Manager Plugin For WordPress

(Simple Links)

Download URL

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

Plugin Description

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

How To Install The Plugin

Let’s install the Link Manager plugin.

In your WP dashboard menu, go to Plugins > Add New …

Plugins Menu - Add New

(Plugins Menu – Add New)

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

Installing Link Manager

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

Plugin Installation

Activate the plugin …

How To Install The Plugin

Once the plugin is activated, the ‘Links’ feature is restored to your navigation menu …

Links menu

(WordPress links management menu)

Plugin Configuration

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

Link Categories

To create a link category, choose Links > Link Categories in your dashboard navigation menu …

WordPress Links - Link Categories

(WP Links Menu – Link Categories)

This loads the ‘Link Categories’ screen in your browser.

Enter the following information:

  • Name: Whatever you enter here is the link category name that will display on your site.
  • Slug: The slug is the web address part of the link category name. Use only lowercase letters without spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description.

When finished, click Add New Link Category …

Link Categories

(Link Categories)

Your category details will now show in the table …

Link Categories page

(Link Categories)

Idea

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

Default link category name is 'blogroll'

(Default link category name)

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

(Change the default ’blogroll’ to something your visitors will understand)

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

Quick Edit

(Editing the default link category name)

Change both the Name and the Slug with a new category name, then click on Update Link Category …

Editing the link category

(Edit the link category)

Replace the category name ‘Blogroll’ with (e.g. ‘Recommended’, ‘XYZ Products’ etc).

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

Link category description

(You can add/edit the category description)

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

Edit Link Category page

(Edit Link Category area)

Repeat the above process to add as many link categories as your site needs.

Once you have finished configuring your link categories, you can add your links.

Adding Links

To create a new link, choose Links > Add New in the WP admin menu …

WordPress Links Menu - Add New

(WP Links – Add New)

This loads 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 the ‘Add New’ button in the main Links page …

Add New Link button

(Links screen – Add New Link button)

The ‘Add New Links’ page has several sections:

Name, Web Address & Description

The first section is where you enter your link details …

Name, Web Addressand Description area - Add New Link

(Name, Web Address, Description)

Enter information into the following fields:

  • Name: Whatever you enter in this field is the category name that will display on your site.
  • Slug: The slug appears 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 your link category description.
Categories & Target

After adding your link details, select a Category and Target for the link …

Add New Link - Categories & Target fields

(Add New Link – Categories & Target)

In the Categories section, tick a link category you have already added, or click on the ‘+ Add New Category’ link to add a new category.

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

  • _blank means that when visitors click on the link, a new, separate web browser window will open up to display the content associated with the link. This lets your visitors access the link information without leaving your website
  • _none means that when visitors click on your link, they will exit your site and a new site 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. 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 …

Link Relationship (XFN) - Add New Link

(Add New Link – Link Relationship (XFN))

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

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

rel – This field lets you specify the ‘rel’ attribute that will be assigned to your link. The rel attribute specifies 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.

To learn more about XFN, visit this site:

Advanced

The last section of the Add New Link’ screen allows you to enter Advanced features for your links (some themes will ignore this. You can leave the fields in this section empty unless there’s a good reason to use them) …

Advanced link settings

(Advanced link settings – Add New Link screen)

The Advanced section fields include the following:

  • Image Address: 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 will 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 want to sort links by rating (see the ‘Links’ widget section below).

Enter information into the above fields or just leave this section ignore this section.

When you have finished adding your new link information, click on Add Link to update your link settings …

click on Add Link to update your link settings

(Click on Add Link to update your link settings)

Useful Information

Note: If you select Keep this link private, the link will not be visible when links are displayed on your site …

Make your links private

(Make your links private)

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

Making links private toggles their visibility on and off

(Toggle link visibility on and off)

To view all your links, click on Links > All Links in the main dashboard menu …

Links - All Links

(Links – All Links)

This brings up the ‘Links’ table in your browser. The table of links displays all your links and link information (e.g. URL, categories, relationship, etc.) …

Table of Links

(Table of links)

Practical Tip

Tip: To view or hide options in the list of links, click on the ‘Screen Options’ tab at the top of your screen …

Screen Options - Links screen

(Links page – Screen Options)

Enable/disable fields on your table of links by ticking/unticking their checkboxes …

Table of links - Show/hide screen options

(Hide or display – Table of links)

Editing Link Information

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

Links Menu - All Links

(Links Menu – All Links)

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

Editing link information

(Editing your link information)

Change the link …

Edit Link page

(Edit Link page)

After editing the link, you can:

  • Click on Update Link to save and update your link details,
  • Click on Visit Link to make sure that you have set up your link’s URL correctly (the link will open in a new window),
  • Click Delete to delete the link …

Edit Link: Update Link button

(Update Link button)

Deleting Your Links

To delete links, click on Links > All Links in the WP admin menu …

Links - All Links

(Links – All Links)

This loads the ‘Links’ table in your browser.

You can delete links individually, delete multiple links by selecting their check boxes, or remove all of your links.

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

Delete links

(Deleting your links)

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

Deleting multiple links

(Delete multiple links)

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

Links: bulk-delete function

(Links: bulk-delete function)

Your selected links will be removed …

Deleted links notice

(Deleted links 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 learn how to display your links on your website.

Links Widget

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

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

WP Appearance Menu - Widgets

(Appearance Menu – Widgets)

The ‘Widgets’ page will load in your web browser.

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

Links widget

(Links widget)

To make the ‘Links’ widget active, drag it to one of the widget sections in the Widgets page and drop it wherever you would like your links to display …

Adding a links widget to your WordPress sidebar

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

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

Link widget - options

(Link widget settings)

You can add as many link widgets to your sidebars and footers as you want. This allows you to create and feature specific links throughout your site …

Add multiple link widgets to your sidebar

(Add multiple link widgets to your widget bars)

Display a list of links for a specific category …

Link widget settings - Select Link Category

(Link widget options – Select Link Category)

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

Link widget options - Sorting options

(Link widget options – Sort by options)

After configuring your Links widget, click the Save button to update your settings. Your link section should now be visible on your website or blog’s sidebar menu …

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

(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.

Tip

Need help with widgets? We have written a detailed article on using widgets. Go here to learn more about this:

Link Manager – Additional Information

If you have many links, the Links Manager plugin allows you to easily administer these using filtering, searching, and sorting features.

Sorting Links Function

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

Sort links

(You can easily sort links)

Find Links

Search for links using the ‘Search Links’ function …

Search links

(Searching your links)

Filtering Links

You can filter links by link category …

Filtering your links by link categories

(Filter your links by categories)

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

searching and filtering links in the Link Categories page

(searching and filtering links in the Link Categories screen)

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

Links filtered by category

(Links filtered by link category)

Links – Additional Options

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

Link Library

Link Library WordPress Plugin

(Link library – WordPress Links Management Plugin)

Plugin Download URL

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

Plugin Description

The Link Library plugin allows you to publish a list of your link categories and a complete list of links with descriptions and notes …

Link Library links

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

This useful plugin creates a page on your web site containing all the link categories in your Links section, 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 become aware of additions to your link library.

Visit this website to learn more about this plugin:

How To Add A WordPress Links Section

Congratulations! Now you know how to add a blogroll to your WordPress site.

Practical Tip

We have written a detailed article on how to easily insert HTML links into your WordPress posts & pages. Go here to learn more:

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now