WordPress.org

Ready to get started?Download WordPress

Forums

Weaver Theme 2.2.6 Clickable Header to an external site (2 posts)

  1. GerryBean
    Member
    Posted 2 years ago #

    I've been searching for hours for a solution to make my graphic header clickable to an external URL that would open in a new window (I want to give a photo credit.)

    People have offered up various solutions to be added to the header.php file but I have not yet found success with any of those solutions.

    Can anyone help?
    Regards,

  2. merich
    Member
    Posted 2 years ago #

    I've been looking for the same thing!

    Try putting this in your header.php file under <head>

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

Topic Closed

This topic has been closed to new replies.

About this Topic