WordPress.org

Ready to get started?Download WordPress

Forums

Linking twentyeleven Header to External URL (2 posts)

  1. mjbschultz
    Member
    Posted 1 year ago #

    I need help linking the twentyeleven theme header to my external website.

    I have read other posts about this but am not sure which part of the code do I need to change in this theme:

    </head>
    
    <body <?php body_class(); ?>>
    <div id="page" class="hfeed">
        <header id="branding" role="banner">
    			<hgroup>
    				<h1 id="site-title"><span><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
    				<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    			</hgroup>
    
    			<?php
    				// Check to see if the header image has been removed
    				$header_image = get_header_image();
    				if ( $header_image ) :
    					// Compatibility with versions of WordPress prior to 3.4.
    					if ( function_exists( 'get_custom_header' ) ) {
    						// We need to figure out what the minimum width should be for our featured image.
    						// This result would be the suggested width if the theme were to implement flexible widths.
    						$header_image_width = get_theme_support( 'custom-header', 'width' );
    					} else {
    						$header_image_width = HEADER_IMAGE_WIDTH;
    					}
    					?>
    			<a>">
    				<?php</a>

    [Please post code between backticks or use the code button. Your posted code HAS now been permanently damaged by the forum's parser.]

  2. CustoThemes
    Member
    Posted 1 year ago #

    Hi,

    To get started please see the following link:
    http://codex.wordpress.org/Integrating_WordPress_with_Your_Website

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.