Learning how to create a hyperlink in WordPress is very important, as it will be allow you to send people to other parts of your website — or send them to an external website.
Within WordPress, there are 3 main places where you will likely be creating links for your visitors:
- In Post and Pages
- In Widgets
- In Your Navigation Menu
While each one is quite similar in how you create links, there will also be a few minor differences you will want to be aware when creating a hyperlink.
So without any further delay, let me jump right into how you will be adding links in either a post or page of your website.
How To Add Links In Post Or Pages
Adding links within your post and pages is a very important part of a well-made website.
It helps send your visitors to either another part of your website where they can get more information on a particular topic, or you could send them to another website link Amazon where you could then make money.
Now the two ways you can go about doing this is either through creating links with text, or creating them using images. Let me show you an example of how each one is done, so you can get a better understanding of how this is done.
Creating A Link With A Word Or Group Of Words
WordPress has something called a “visual editor”, which allows you to create links, add images, and edit text without having to use HTML.
So the first thing you want to make sure is that you are indeed in the visual editor mode before you create a link.
Next you want to highlight the word or phrase you would like to create a link with. After you’ve done this, you then will be clicking the chain symbol at the top of your page
Once the pop window appears, you then will want to insert the website URL you would like to send your visitor to — then you’ll want to click the blue arrow to confirm it.
Pretty simple right? Let me now show you how to add a link using an image inside your website.
Creating A Link Using An Image
To add a link to an image, you first will need to get an image for your page. To do this you will simply click add media, pick the picture you want, then insert it into your website.
Next you will click your picture, and like before you will press the chain symbol and insert the link you want.
As you can see adding a link with text or images isn’t all that hard, and after you’ve done it a few times it will become second nature to you.
Now that you know how to add simple links to your post, let me now show you how to make each link open in a new window when clicked.
How To Make Links Open In A New Window, And Why You Want To Do It
When you make a link by default, it will automatically take someone off the page their reading and send them to the URL they clicked. While this is sometimes ok, you will not want this to happen every single time.
Let’s say someone lands on a page you are trying to sell something, then while they are reading about the benefits and features of your particular product, they are suddenly sent to another page because of your link.
One they are far less likely to return (because people online get distracted very easily), and two they also are less prone to buy what you’re selling because they have not read all your content.
So if you want to make people keep reading your content, and also have a link going to a different page — you need to know how to set links to open in a new window.
To do this, you either want to highlight some text or a picture — then click on the chain symbol like you would for a normal link.
After you do this, you then want to click “link options” just right of the blue arrow.
From here, all you will have to do is enter the URL you would like — then right below it click the box that says open link in a new tab.
Now when someone clicks on your link, the website will open in a new tab instead of taking them off the page they are already on.
How To Link Text On Widgets
If you don’t know what a widget is, they are the images or text that appear on the side bar of your website.
Widgets will allow you to display important pages or post on the sidebar on your website. Now in order to access your widgets, you want to go to your dashboard settings, click appearance, then click widgets.
Depending on your theme, you might more or fewer options to choose from when deciding on what widget you want. However most themes free or paid usually come with a default number of options for you too choose from.
When adding a widget, most of them are automatic — meaning once you add them they will already link to a certain place. For example this can be something like your most recent post, or your navigation menu.
If you want to make a custom link in the widget section though, here are two common options you can choose from.
Adding A Link Using HTML
To make an HTML widget into a link, you will first click on the widget that says “custom HTML” — then add it to your sidebar.
From here you can then title your widget than add a custom URL here. Now if you don’t know how to create an HTML link, it’s actually quite simple.
Here is an example you can use to create a simple text link:
So going with the example above, here is how I would create an about me widget using HTML.
After I updated my website, I will now have a link named “about Michael” that goes to my about me page.
Adding A Link Using The Text Widget
I personally like this method for creating widgets, because one I don’t have to use HTML, and two I have more options this way.
So like before you want to click the widget that says “text”, than add it to your sidebar. After you’ve done that, you will see a box appear very similar as to what you would see when creating a page or post.
Much like how you would add a link inside a post, here you can either write something out or insert a picture for your widget. Then you would simply click the chain symbol, and insert the URL of your choosing.
Here is an example of my about me widget using my own picture:
Now when a user clicks on my actual picture, they are sent over to my about me page — where they can learn a little bit more about who I am.
How To Add Links In Your Navigation Menu
Your menu is going to play a very important part of your website, as it will allow users to navigate to important pages much like how they would with your widgets.
I personally like to construct my menu in a way that will help my target audience find what they are looking for easily.
For example if I was making a website about dogs, I would maybe have a menu about dog tricks, dog food, best types of dogs to own, and so on. This would allow my audience to quickly find topics about dogs that they would find very interesting.
So how do you create a menu with links in them?
Well first you want to go to your dashboard, then click appearance and menu. This will then bring up a page allowing you to create your custom menu.
From here you then have to option to add pages, post, custom links, or categories to your menu. I personally find adding a page or post the easiest way to go about doing this though.
All you have to do is click post, choose one to add to your menu, then make sure you press “save menu” to confirm it.
Here is an example of me adding a post to the menu on my website.
This will now automatically create a link going from my menu, to the post that I just selected.
My Final Thoughts
Now that you know 3 different ways on how to create links in WordPress, you can now go out there and create a website that people can easily navigate around.
Also by adding links to your pages and post, you are going to be creating a website that Google and other search engines are going to love. This will lead to better rankings, more traffic, and ultimately more potential to make money with your site if you want.
I learned everything I know about creating links from Wealthy Affiliate. I know how to create affiliate links within my website, where to put them, and how to get people to see them — which in the end can make me money when someone clicks on it.
As you can see, links not only help people navigate your site — but also give you the option to make money with them too.
So do you have any other questions regarding how to add a hyperlink into WordPress? If so let me know in the comments below, and I’ll be glad to help you out. 🙂