>

Wordpress

Link your WordPress header to your homepage

Most web­sites have their logo and/or header click­able to link to the home page. This is not a default option when creating templates in Artiseer 3.1. There is a simple way of achieving this.

In the WordPress Dashboard.

  • Make sure that the header.php file is writable
  • Click Appearance >Editor on the left side panel. This opens the WordPress editor and allows you to edit template files easily.
  • On the right hand side panel, click on the header.php file to enable it
  • Look for <div class=“art-header”> and replace the code as follows:

<div class=”art-header”onclick=”location.href=’http://www.yourdomainname.com/’;” style=”cursor: pointer;”>

 

Additional Information

  • If the above method does not work, you can try the following:
  • FTP to the wp-content/themes/yourthemename folder
  • Make sure that the header.php file is writable
  • Open the header.php file in a text editor like Notepad++
  • Look for <div class=”art-header”> and replace the code as follows:

<div class=”art-header”onclick=”location.href=’http://www.yourdomainname.com/’;” style=”cursor: pointer;”>

  • Save the header.php file and FTP it to wp-content/themes/yourthemename folder, overwriting the old header.php file

Take Note:

If you change your template, you will have to apply the above code to the header.php again