• Resolved lando2319

    (@lando2319)


    Hello,

    I’m using the Fiver theme for WordPress. I’m looking to add an Image into the header. To where you can click on the header and it will direct to home.

    URL is http://www.mygoodcounsel.com/

    I looked for a good plugin then just decided to adjust the code… Could you please show me which part to change in the code?

    Kind Regards,

    Header php code is:
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
    <title><?php wp_title(‘«’, true, ‘right’); bloginfo( ‘name’ ); ?></title>
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php if ( is_singular() ) wp_enqueue_script( ‘comment-reply’ ); ?>
    <?php if (!is_admin()) { wp_enqueue_script(‘html5_shim’, get_template_directory_uri() . ‘/html5.js’); } ?>
    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?>>

    <div id=”wrapper”>

    <header>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <!–<?php bloginfo(‘description’); ?>–>
    </header>

    <section>

Viewing 1 replies (of 1 total)
  • Thread Starter lando2319

    (@lando2319)

    [ Code edited with backticks. Moderator note: when sharing code examples, please wrap the code in backticks or use the code button. ]

    OK Here is the solution

    Replaced:

    <header>
    <h1>/"><?php bloginfo('name'); ?></h1>
    <!--<?php bloginfo('description'); ?>-->
    </header>

    With

    <header>
    <img src="http://www.mygoodcounsel.com/wp-content/uploads/2012/05/SiteHeaderComb26.png" /><h1 id="blog-title">
        		</header>
Viewing 1 replies (of 1 total)
  • The topic ‘Inserting an image in the Header – Fiver Theme’ is closed to new replies.