WordPress.org

Ready to get started?Download WordPress

Forums

Please Help - Clickable Header.. PHP? (5 posts)

  1. ambboogie
    Member
    Posted 6 years ago #

    Hi,

    I'm sorry if this is in the wrong place.

    Using the Black Letterhead, I've modified the CSS. The only problem is that when people comment, they have to push the back button 3 times in order to get back to the main blog page.

    I've checked through forums and saw that the way to get a clickable header is to modify the PHP.

    I don't see a PHP modification option in my admin panel.

    Can someone direct me to where I need to go to update the PHP in order to make my header clickable?

    Thanks.

  2. Adam Brown
    Member
    Posted 6 years ago #

    You open up your theme's header.php in a text editor (like Notepad, NOT MS Word), you edit the HTML, then you save the file and upload via FTP.

    Or you switch to a theme that links the header...

  3. ambboogie
    Member
    Posted 6 years ago #

    Hi Adam,

    Thanks for answering.

    So you follow those directions assuming that my blog is on it's own server?

  4. Adam Brown
    Member
    Posted 6 years ago #

    Yep. I couldn't be very specific since I don't know what your theme's header.php looks like, but that's typically the theme file you need to edit for this sort of thing.

  5. flapjacker
    Member
    Posted 6 years ago #

    For Default/Kubrick Theme, this works:

    From: http://codex.wordpress.org/Designing_Headers

    You can use the method offered by the Theme's author to make the entire WordPress Default/Kubrick Theme header clickable:

    * Open header.php template file.
    * Change from <div id="header"> to:

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

Topic Closed

This topic has been closed to new replies.

About this Topic