Forums

[resolved] Help! Need original header.php code for 2010 theme (6 posts)

  1. STSTN
    Member
    Posted 4 months ago #

    I stupidly edited my header.php code and have now messed up my site title.
    http://www.ststn.co.uk

    Could someone please help with pasting me the full original header.php code.

    Arggghhh!
    Thanks.

  2. Roy
    Member
    Posted 4 months ago #

    In the WP download?

  3. STSTN
    Member
    Posted 4 months ago #

    Hi Ron,

    Not sure what you mean, but, I did a one-click installation of WordPress via my webhosting so what ever was downloaded there.

    I did copy and paste the header.php into notepad and was editing it that way, but stupidly saved the document without renaming it, so I lost the original header.php code.

    I amended the code where it starts and ends <span> as I was trying to insert an image into the site-title section.

    Doh!!

  4. STSTN
    Member
    Posted 4 months ago #

    Below is the current header.php. I messed up the bits between the <span> and </span> section. If someone could just help me with that little bit I would stop crying!:(

    [Code moderated as per the Forum Rules. Please use the pastebin]

  5. Roy
    Member
    Posted 4 months ago #

    There's a big, red button on top of this page. This is the WP download pack for manual installation. This pack contains the theme you are looking for in its original form.

  6. STSTN
    Member
    Posted 4 months ago #

    Hi Roy,

    A friend worked some magic...all that was needed was to delete:
    title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">

    All fine now! Phew!

    Thanks for your help though.

Reply

You must log in to post.

About this Topic

Tags