How to Link Wordpress Header to Home

Опубликовано: 05 Октябрь 2024
на канале: Internet Services and Social Networks Tutorials from HowTech
14,576
16

The header of the website is at the top of the page, which is basically a container where all the introductory content is present. In this tutorial, you will learn how to link the wordpress header to the home page of your website.

Let's discuss a scenario where we are running wordpress on a local computer, but we would link the header to the wordpress home page of the site hosted on the internet.

Don't forget to check out our site http://howtech.tv/ for more free how-to videos!
   / ithowtovids   - our feed
  / howtechtv   - join us on Facebook
https://plus.google.com/1034403827176... - our group in Google+

Step 1 -- Getting started

For that, let's open up and log into the dashboard over here.

Move to the Appearance tab and then click on the Editor option. This would open up the entire website's code in a text editor within the Wordpress framework.

Step 2 -- Editing the Code

Let's copy the wordpress home page URL of the site hosted online, whose link we will insert in the header of our local wordpress website.

Next, in the editor, we will make changes in the header template.

Scroll down and locate the "h group" tag, and simply paste the copied URL in the hypertext reference tag, between the double quotes.

Scroll down and click on the Update file button to apply the changes.

Step 3 -- Follow the Link

Finally, open up your local site, and hover over the header. If you click on the header, it will redirect you to the specified URL.

And that's how you can link the wordpress header to the homepage or any other URL you want.