WordPress.org

Ready to get started?Download WordPress

Forums

PersonalTrainer
How do I stop header image appearing on every page? (2 posts)

  1. fitfasttrainers
    Member
    Posted 1 year ago #

    Hi
    Can some one please help?
    How do I stop header image appearing on every page?
    I have read lots of code to try and solve this problem but can't find a solution.
    HELP!

    Also can any one help with installing more widgets in the footer, same again, unable to work it out with the codes.
    http://www.fitfasttrainers.co.uk
    Thanks

  2. fitfasttrainers
    Member
    Posted 1 year ago #

    This is the code I have

    <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <!--[if lt IE 9]>
    
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed">
    <?php do_action( 'before' ); ?>
    	        <div id="header" class="fix" onclick="location.href='http://www.fitfasttrainers.co.uk';" style="cursor: pointer;">
    		<hgroup>
    			<h1 id="site-title"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    			<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    		</hgroup>
    
    		<nav id="access" role="navigation">
    			<h1 class="assistive-text section-heading"><?php _e( 'Main menu', 'PersonalTrainer' ); ?></h1>
    			<div class="skip-link screen-reader-text"><a href="#content">"><?php _e( 'Skip to content', 'PersonalTrainer' ); ?></a></div>
    
    			<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
    		</nav><!-- #access -->
    		<img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="" class="size-full" />
    	</header><!-- #branding -->
    
    	<div id="main">


    [Please use the code buttons when posting code here - as is, your code may have been damaged by the forums parser]

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.