How to Link a Header in a WordPress Blog

WordPress is a free open-source blogging platform. WordPress uses PHP coding and is easy to configure using the tools in the dashboard. Using WordPress, you can upload custom header images that appear at the top of each webpage on a WordPress site. By manipulating the PHP code of the header.php file of your WordPress installation, you can add a link to the header image so that users can click on the image to return to your website's home page. Changing the header.php file is quick and easy when you use the tools in your WordPress dashboard.

Instructions

    • 1

      Open your browser and log in to your WordPress dashboard.

    • 2

      Click the "Appearance" drop-down menu on the left side of the page. Click on "Editor" below it. The "Edit Themes" page will appear, allowing you to customize the coding of your WordPress theme.

    • 3

      Click "Header" along the right side of the page to access the header.php file.

    • 4

      Locate the following code in the header.php file:

      <div id="header">

    • 5

      Replace the above code with the following code:

      <div id="header" onclick="location.href='http://URL.com/';" style="cursor: pointer;">

      Change "http://URL.com/" to the URL of your WordPress blog or the URL of the website you want the header to link to.

    • 6

      Click on "Update File" to save the changes.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured