<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WordPress DK Forum Topic: Logo over headerbillede</title>
		<link>http://wp-danmark.dk/forum/topic/logo-over-headerbillede</link>
		<description>WordPress DK Forum Topic: Logo over headerbillede</description>
		<language>da-DK</language>
		<pubDate>Wed, 30 Sep 2026 21:00:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/topic/logo-over-headerbillede" rel="self" type="application/rss+xml" />

		<item>
			<title>Merle1 om "Logo over headerbillede"</title>
			<link>http://wp-danmark.dk/forum/topic/logo-over-headerbillede#post-59101</link>
			<pubDate>man, 29 sep 2014 19:10:26 +0000</pubDate>
			<dc:creator>Merle1</dc:creator>
			<guid isPermaLink="false">59101@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Tusind tak bensen!&#60;/p&#62;
&#60;p&#62;Stffn: jeg er ikke sikker på hvor jeg skal sætte det ind, her er min header.php:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
/**&#60;br /&#62;
 * Header template for the theme&#60;br /&#62;
 *&#60;br /&#62;
 * Displays all of the &#38;lt;head&#38;gt; section and everything up till &#38;lt;div id=&#34;main&#34;&#38;gt;.&#60;br /&#62;
 *&#60;br /&#62;
 * @package WordPress&#60;br /&#62;
 * @subpackage Twenty_Eleven&#60;br /&#62;
 * @since Twenty Eleven 1.0&#60;br /&#62;
 */&#60;br /&#62;
?&#38;gt;&#38;lt;!DOCTYPE html&#38;gt;&#60;br /&#62;
&#38;lt;!--[if IE 6]&#38;gt;&#60;br /&#62;
&#38;lt;html id=&#34;ie6&#34; &#38;lt;?php language_attributes(); ?&#38;gt;&#38;gt;&#60;br /&#62;
&#38;lt;![endif]--&#38;gt;&#60;br /&#62;
&#38;lt;!--[if IE 7]&#38;gt;&#60;br /&#62;
&#38;lt;html id=&#34;ie7&#34; &#38;lt;?php language_attributes(); ?&#38;gt;&#38;gt;&#60;br /&#62;
&#38;lt;![endif]--&#38;gt;&#60;br /&#62;
&#38;lt;!--[if IE 8]&#38;gt;&#60;br /&#62;
&#38;lt;html id=&#34;ie8&#34; &#38;lt;?php language_attributes(); ?&#38;gt;&#38;gt;&#60;br /&#62;
&#38;lt;![endif]--&#38;gt;&#60;br /&#62;
&#38;lt;!--[if !(IE 6) &#38;amp; !(IE 7) &#38;amp; !(IE 8)]&#38;gt;&#38;lt;!--&#38;gt;&#60;br /&#62;
&#38;lt;html &#38;lt;?php language_attributes(); ?&#38;gt;&#38;gt;&#60;br /&#62;
&#38;lt;!--&#38;lt;![endif]--&#38;gt;&#60;br /&#62;
&#38;lt;head&#38;gt;&#60;br /&#62;
&#38;lt;meta charset=&#34;&#38;lt;?php bloginfo( 'charset' ); ?&#38;gt;&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;meta name=&#34;viewport&#34; content=&#34;width=device-width&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;title&#38;gt;&#38;lt;?php&#60;br /&#62;
// Print the &#38;lt;title&#38;gt; tag based on what is being viewed.&#60;br /&#62;
global $page, $paged;&#60;/p&#62;
&#60;p&#62;wp_title( '&#124;', true, 'right' );&#60;/p&#62;
&#60;p&#62;// Add the blog name.&#60;br /&#62;
bloginfo( 'name' );&#60;/p&#62;
&#60;p&#62;// Add the blog description for the home/front page.&#60;br /&#62;
$site_description = get_bloginfo( 'description', 'display' );&#60;br /&#62;
if ( $site_description &#38;amp;&#38;amp; ( is_home() &#124;&#124; is_front_page() ) )&#60;br /&#62;
echo &#34; &#124; $site_description&#34;;&#60;/p&#62;
&#60;p&#62;// Add a page number if necessary:&#60;br /&#62;
if ( ( $paged &#38;gt;= 2 &#124;&#124; $page &#38;gt;= 2 ) &#38;amp;&#38;amp; ! is_404() )&#60;br /&#62;
echo ' &#124; ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#38;lt;/title&#38;gt;&#60;br /&#62;
&#38;lt;link rel=&#34;profile&#34; href=&#34;http://gmpg.org/xfn/11&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;all&#34; href=&#34;&#38;lt;?php bloginfo( 'stylesheet_url' ); ?&#38;gt;&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;link rel=&#34;pingback&#34; href=&#34;&#38;lt;?php bloginfo( 'pingback_url' ); ?&#38;gt;&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;!--[if lt IE 9]&#38;gt;&#60;br /&#62;
&#38;lt;script src=&#34;&#38;lt;?php echo get_template_directory_uri(); ?&#38;gt;/js/html5.js&#34; type=&#34;text/javascript&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;![endif]--&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
* We add some JavaScript to pages with the comment form&#60;br /&#62;
* to support sites with threaded comments (when in use).&#60;br /&#62;
*/&#60;br /&#62;
if ( is_singular() &#38;amp;&#38;amp; get_option( 'thread_comments' ) )&#60;br /&#62;
wp_enqueue_script( 'comment-reply' );&#60;/p&#62;
&#60;p&#62;/*&#60;br /&#62;
* Always have wp_head() just before the closing &#38;lt;/head&#38;gt;&#60;br /&#62;
* tag of your theme, or you will break many plugins, which&#60;br /&#62;
* generally use this hook to add elements to &#38;lt;head&#38;gt; such&#60;br /&#62;
* as styles, scripts, and meta tags.&#60;br /&#62;
*/&#60;br /&#62;
wp_head();&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;/head&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;body &#38;lt;?php body_class(); ?&#38;gt;&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;page&#34; class=&#34;hfeed&#34;&#38;gt;&#60;br /&#62;
&#38;lt;header id=&#34;branding&#34; role=&#34;banner&#34;&#38;gt;&#60;br /&#62;
&#38;lt;hgroup&#38;gt;&#60;br /&#62;
&#38;lt;h1 id=&#34;site-title&#34;&#38;gt;&#38;lt;span&#38;gt;&#60;a&#62;&#34; rel=&#34;home&#34;&#38;gt;&#38;lt;?php bloginfo( 'name' ); ?&#38;gt;&#60;/a&#62;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#60;br /&#62;
&#38;lt;h2 id=&#34;site-description&#34;&#38;gt;&#38;lt;?php bloginfo( 'description' ); ?&#38;gt;&#38;lt;/h2&#38;gt;&#60;br /&#62;
&#38;lt;/hgroup&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
// Check to see if the header image has been removed&#60;/p&#62;
&#60;p&#62;$header_image = get_header_image();&#60;br /&#62;
if ( $header_image ) :&#60;br /&#62;
// Compatibility with versions of WordPress prior to 3.4.&#60;br /&#62;
if ( function_exists( 'get_custom_header' ) ) {&#60;br /&#62;
/*&#60;br /&#62;
* We need to figure out what the minimum width should be for our featured image.&#60;br /&#62;
* This result would be the suggested width if the theme were to implement flexible widths.&#60;br /&#62;
*/&#60;br /&#62;
$header_image_width = get_theme_support( 'custom-header', 'width' );&#60;br /&#62;
} else {&#60;br /&#62;
$header_image_width = HEADER_IMAGE_WIDTH;&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#60;a&#62;&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
* The header image.&#60;br /&#62;
* Check if this is a post or page, if it has a thumbnail, and if it's a big one&#60;br /&#62;
*/&#60;br /&#62;
if ( is_singular() &#38;amp;&#38;amp; has_post_thumbnail( $post-&#38;gt;ID ) &#38;amp;&#38;amp;&#60;br /&#62;
( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-&#38;gt;ID ), array( $header_image_width, $header_image_width ) ) ) &#38;amp;&#38;amp;&#60;br /&#62;
$image[1] &#38;gt;= $header_image_width ) :&#60;br /&#62;
// Houston, we have a new header image!&#60;br /&#62;
echo get_the_post_thumbnail( $post-&#38;gt;ID, 'post-thumbnail' );&#60;br /&#62;
else :&#60;br /&#62;
// Compatibility with versions of WordPress prior to 3.4.&#60;br /&#62;
if ( function_exists( 'get_custom_header' ) ) {&#60;br /&#62;
$header_image_width  = get_custom_header()-&#38;gt;width;&#60;br /&#62;
$header_image_height = get_custom_header()-&#38;gt;height;&#60;br /&#62;
} else {&#60;br /&#62;
$header_image_width  = HEADER_IMAGE_WIDTH;&#60;br /&#62;
$header_image_height = HEADER_IMAGE_HEIGHT;&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;img src=&#34;&#38;lt;?php header_image(); ?&#38;gt;&#34; width=&#34;&#38;lt;?php echo $header_image_width; ?&#38;gt;&#34; height=&#34;&#38;lt;?php echo $header_image_height; ?&#38;gt;&#34; alt=&#34;&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;?php endif; // end check for featured image or standard header ?&#38;gt;&#60;br /&#62;
&#60;/a&#62;&#60;br /&#62;
&#38;lt;?php endif; // end check for removed header image ?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;nav id=&#34;access&#34; role=&#34;navigation&#34;&#38;gt;&#60;br /&#62;
&#38;lt;h3 class=&#34;assistive-text&#34;&#38;gt;&#38;lt;?php _e( 'Main menu', 'twentyeleven' ); ?&#38;gt;&#38;lt;/h3&#38;gt;&#60;br /&#62;
&#38;lt;?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?&#38;gt;&#60;br /&#62;
&#38;lt;div class=&#34;skip-link&#34;&#38;gt;&#60;a href=&#34;#content&#34;&#62;&#38;lt;?php _e( 'Skip to primary content', 'twentyeleven' ); ?&#38;gt;&#60;/a&#62;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php if ( ! is_singular() ) : ?&#38;gt;&#60;br /&#62;
&#38;lt;div class=&#34;skip-link&#34;&#38;gt;&#60;a href=&#34;#secondary&#34;&#62;&#38;lt;?php _e( 'Skip to secondary content', 'twentyeleven' ); ?&#38;gt;&#60;/a&#62;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php endif; ?&#38;gt;&#60;br /&#62;
&#38;lt;?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?&#38;gt;&#60;br /&#62;
&#38;lt;?php wp_nav_menu( array( 'theme_location' =&#38;gt; 'primary' ) ); ?&#38;gt;&#60;br /&#62;
&#38;lt;/nav&#38;gt;&#38;lt;!-- #access --&#38;gt;&#60;br /&#62;
&#38;lt;/header&#38;gt;&#38;lt;!-- #branding --&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;main&#34;&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stffn om "Logo over headerbillede"</title>
			<link>http://wp-danmark.dk/forum/topic/logo-over-headerbillede#post-58995</link>
			<pubDate>tirs, 23 sep 2014 14:43:35 +0000</pubDate>
			<dc:creator>stffn</dc:creator>
			<guid isPermaLink="false">58995@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Koden ligger i &#60;code&#62;header.php&#60;/code&#62;, så det er bare at indsætte dit logo der i.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bensen om "Logo over headerbillede"</title>
			<link>http://wp-danmark.dk/forum/topic/logo-over-headerbillede#post-58994</link>
			<pubDate>tirs, 23 sep 2014 13:17:23 +0000</pubDate>
			<dc:creator>bensen</dc:creator>
			<guid isPermaLink="false">58994@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Kan ikke hjælpe, men vil blot rose din side. Dejligt rent design :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Merle1 om "Logo over headerbillede"</title>
			<link>http://wp-danmark.dk/forum/topic/logo-over-headerbillede#post-58992</link>
			<pubDate>tirs, 23 sep 2014 08:51:10 +0000</pubDate>
			<dc:creator>Merle1</dc:creator>
			<guid isPermaLink="false">58992@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hov havde da ikke fået hjemmesiden med, det er på denne:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.pernillebredgaard.dk&#34; rel=&#34;nofollow&#34;&#62;http://www.pernillebredgaard.dk&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Merle1 om "Logo over headerbillede"</title>
			<link>http://wp-danmark.dk/forum/topic/logo-over-headerbillede#post-58964</link>
			<pubDate>søn, 21 sep 2014 20:02:24 +0000</pubDate>
			<dc:creator>Merle1</dc:creator>
			<guid isPermaLink="false">58964@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Er der nogen der ved hvordan jeg får et logo over headerbilledet, altså der hvor søge boxen normalt er i Twenty eleven?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
