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

In WordPress terminology, a list of links displayed on your sidebar section is often 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 manage a blogroll using the Links menu in your WordPress Dashboard. These links will then display on your sidebar if you have added the Links widget.

Important

Before WordPress v 3.5 was released, Links were a built-in feature of the WordPress CMS. From v.3.5 onwards, the Links manager and blogroll sections were removed …

Before …

WP Links Manager Feature - pre v.3.5

(WP Links Manager – pre version 3.5)

After …

Post v3.5 - no WordPress Links Manager

(Post v3.5 – no WP Links Manager)

If you’ve had an earlier version of WordPress than v 3.5 installed and upgraded your installation, the Link Manager would have been removed, unless you have 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 Manager is not visible when you log into your WordPress admin area 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 sidebar using plugins.

Link Manager

Link Manager Plugin

(Link Manager WordPress Plugin)

Plugin URL

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

Description Of Plugin

Use this plugin to restore the built-in Links feature on your dashboard, even if you upgrade WordPress to a later version or remove all of your existing links.

Note: This plugin adds a single line of code to restore the hidden feature. When we last checked, the 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 plugin below instead, or contact us for help editing your template code.

Simple Links

Simple Links WordPress Plugin

(Simple Links)

Plugin Download URL

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

Description

Simple Links attempts to recreate the concept of the built-in WordPress Link Manager while addressing the shortcomings of the deprecated functionality.

Installing The Plugin

Let’s install the Link Manager plugin.

From your WordPress admin 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

Locate the plugin in the results screen and click Install Now

Installing The Plugin

Activate the plugin …

How To Install The Plugin

After activation, a ‘Links’ section will show in the WP admin menu area …

Links management menu

(Links management menu section)

Plugin Setup

Before you start adding links, it’s a good idea to first set up your link categories. This way, you can assign any new links to the link category you have already created.

Link Categories

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

Links Menu - Link Categories

(Links Menu – Link Categories)

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

Type in information into the following sections:

  • Name: Enter the category name.
  • Slug: The slug is the SEO friendly URL part of your link category name. Use lowercase letters only without spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description. (Optional)

after entering your information, click Add New Link Category

Link Categories

(Link Categories)

Your link category will now show in the table …

Link Categories screen

(Link Categories)

Info

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

Default link category name

(Default link category)

You may want to change this 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 the Links section will automatically be assigned to the new category name …

Change the default link category name to something your visitors will understand

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

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

Edit the default link category

(Quick Edit)

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 …

Quick Edit

(Update Link Category)

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

Let’s create a description for this link category. To add a description to an existing link category, click on the Edit link under the category name …

You can add/edit your 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 this process to add as many new link categories as you need.

Once you have finished setting up your link categories, you can start adding your links.

Adding Links

To add a new link, go to the WP navigation menu and choose Links > Add New

Links - Add New

(Links Menu – Add New)

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

Add New Link screen

(Add New Link page)

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

Links page - Add New Link button

(Links – Add New Link button)

The ‘Add New Links’ page has several sections:

Name, Web Address & Description

Enter details about your link in this section …

Name, Web Address& Description fields - Add New Link

(Name, Web Address& Description fields)

Enter information into the following fields:

  • Name: Enter the category name here.
  • Slug: The slug is the web address bit of your link category name. 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.
Categories & Target

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

Categories & Target - Add New Link

(Categories & Target – Add New Link page)

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

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

  • _blank means that when a visitor clicks on the link, a separate browser window will open up to display the information for that link. This allows your visitors to see the link information without leaving your site
  • _none means that when a visitor clicks on the link, they will leave your site and a new site 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 area provides some additional link functionality …

Link Relationship (XFN) area

(Link Relationship (XFN))

Link Relationship (XFN) – XFN stands for XML Friends Network – allows you to define your relationship with the linked person. For example, if you work with Brian Fields and you link to his blog, you would probably check co-worker or colleague.

XFN relationships are optional. You can leave everything in this section blank and all of your links will still work. Defining relationships with XFN makes the links defined on your site 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 specifies 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.

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

Advanced

The last section lets you enter Advanced features for your links (some themes will ignore this. You can ignore this section, unless there’s a good reason to use it) …

Advanced link settings - Add New Link

(Advanced fields – Add New Link page)

The Advanced link settings section contains 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 stored 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 will be displayed next to your links.
  • Notes: Add notes about the link in this section for your own internal reference.
  • Rating: Add a rating score to the link if you would like 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 have finished adding information about your link, click on the Add Link button to save your new link …

click on the Add Link button to save your new link

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

Important Info

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

You can make links private by checking the box

(Make links private by selecting the checkbox)

Making a link private lets you add a link and then toggle its visibility on or off without deleting it (this is useful if you want to use seasonal links) …

Making links private toggles their visibility on and off

(Toggle link visibility on and off)

To view all the links you have added, click on Links > All Links in your WP navigation menu …

Links - All Links

(WordPress Links – All Links)

You will be taken to the ‘Links’ page. The list of links displays your links and link information (e.g. URL, link categories, rating, etc.) …

Links page

(List of links)

Tip

Tip: To display additional information in the table of links, click on the ‘Screen Options’ tab near the top of your screen …

List of Links - Screen Options

(Screen Options – Links table)

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

Show/hide links

(Hide or display – List of links)

Editing Your Links

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

WP Links Menu - All Links

(Links Menu – All Links)

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

Editing your link information

(Editing your link information)

Edit the link …

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 view your link and 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 from your link table …

Edit Link: Update Link button

(Edit Link: Update Link button)

Deleting Links

To delete links, choose Links > All Links in the WP navigation menu …

Links Menu - All Links

(Links – All Links)

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

You can delete links individually, delete multiple links, or perform a bulk delete.

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

Delete links

(Deleting your links)

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

Deleting multiple links

(Delete multiple links)

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

Bulk-deletion of links

(Links: bulk-delete function)

All the links you have selected will be deleted …

Deleted links notice

(links deleted 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 learn how to make links display on your website or blog.

Using The Links Widget

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

To access and configure your Link widgets, choose Appearance > Widgets in the main admin menu …

WordPress Appearance Menu - Widgets

(Appearance Menu – Widgets)

This brings up the ‘Widgets’ screen in your web browser.

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

Links widget

(Links widget)

Drag the ‘Links’ widget to one of your active widget bars in the Widgets screen and drop it wherever you want the links section to show up …

Drag and drop your links widget to add it to your widget bar

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

The Links widget provides a number of settings. For example, you can specify what information you want to display about your links and how many links you want to display on your sidebar …

Link widget - options

(Link widget - settings)

You can also add multiple link widgets to your sidebar. This lets you create and display specific lists of links throughout your site …

You can add multiple link widgets to your sidebar

(You can add multiple link widgets to your sidebar)

Select a link category to display specific links …

Link widget settings - Select Link Category

(Link widget options – 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 settings – Sort by options)

Once you are done setting up the links widget, click Save to update your settings. A links will show on your sidebar menu …

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 using widgets? We have written a detailed article on widgets here:

Links Manager – Additional Information

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

Sort Your Links

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

You can sort your links

(Sorting links)

Finding Links Function

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

Searching your links

(You can easily find links using the search function)

Filtering Your Links

You can filter links by category …

Filter your links by category

(Filter links by category)

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 category links in the ‘Links’ column …

Search and filter links in the Link Categories screen

(Search and filter links in the Link Categories page)

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

Links filtered by category

(Links filtered by category)

Additional Link Options

If you plan to use links extensively on your website, or if you would like 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 your links.

Link Library

Link Library WordPress Plugin

(Link Library Plugin)

Plugin URL

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

Plugin Description

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

Link Library links

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

This useful plugin can be used to create a page on your website 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 for your link collection so that your site users can be made aware of additions to your link library.

Go here to learn more this plugin:

How To Add A WordPress Featured Links Section

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

Useful Tip

We have written a detailed article on adding HTML links into WordPress. You can learn more here:

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

Originally published as How To Add A Link Section To WordPress.