Blog

How to Add a Link to Widget Titles in WordPress

  |   New Stuff, Wordpress   |   No comment

By Editorial Staff

Most WordPress widgets come with an option to set a title for each widget. The widget title is used as a heading for widgets in your sidebar or other widget areas. Recently we showed you how to hide widget title in WordPress. In that post’s comment, one of our users asked us about how they can add a link to widget title to make it clickable. For example, you may have a widget area just to display Google+ “add to circles” widget, and you want to have the title “Add us on Google+” be a link to your Google+ page. In this article we will show you how to add a link to widget titles in WordPress.

First thing you need to do is install and activate the Widget Title Links plugin. Upon activation, this plugin adds a Title Link field in all your WordPress widgets.

Adding link to a widget title

Just add the title of your Widget and then add the URL in the Title Link field. Save settings and preview your site. You will notice that your Widget’s title is now linked to the URL you provided. This method allows you to create clickable widget titles. Here is the preview:

Widget Title Links Preview

We hope that you found this guide on how to add links to WordPress widget titles helpful. If you want to learn more about widgets, then we recommend you to read our guide on extending the power of your default WordPress widgets. If you have any questions, suggestions, or feedback, then please leave a comment below.

How to Add a Link to Widget Titles in WordPress is a post from: WPBeginner which is not allowed to be copied on other sites.

Source: WP Beginner

No Comments

Post A Comment