Hat alles perfekt geklappt...
Vielen Dank nochmal
Beiträge von restgeräusch
-
-
Danke, das sollte ich hinbekommen!!
-
Danke für die schnelle Antwort, hat alles geklappt, außer das das Logo nicht sichtbar ist. Es läßt sich jedoch anklicken um z.B. auf die sartseite zurück zu kommen.
Aktuell hier ersichtlich:
http://blog.restgeraeusch.de/Hier der Code mit den Änderungen:
PHP
Alles anzeigen<?php /** * The Header for our theme. * */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'secluded' ), max( $paged, $page ) ); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="wrapper" class="hfeed"> <div id="header"> <div id="masthead"> <div id="access" role="navigation"> <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'secluded' ); ?>"><?php _e( 'Skip to content', 'secluded' ); ?></a></div> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'fallback_cb' => false ) ); ?> </div><!-- #access --> <div id="branding" role="banner"> <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title" class="clear" > <span> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img width="960" height="80" alt="" src="/blog/wp-content/themes/secluded/images/logo.jpg" ></a> </span> </<?php echo $heading_tag; ?>> </div><!-- #branding --> </div><!-- #masthead --> </div><!-- #header --> <div id="main">Grüße
Holger
-
Folgendes Problem konnte ich als Nichtprofi auch mit Hilfe der Anleitungen im Forum nicht lösen, da "header.php" bei mir wohl auf Grund des Themes anders aussieht: Ich hätte gern ein Logo statt des Blogtitels- und infos eingebunden.
Das Theme heißt "Secluded 1.5 von Seismic Themes
Der Link zu meinem Blog: http://blog.restgeraeusch.de
Hier der php Code des Headers:PHP
Alles anzeigen<?php /** * The Header for our theme. * */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'secluded' ), max( $paged, $page ) ); ?></title> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="wrapper" class="hfeed"> <div id="header"> <div id="masthead"> <div id="access" role="navigation"> <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'secluded' ); ?>"><?php _e( 'Skip to content', 'secluded' ); ?></a></div> <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary', 'fallback_cb' => false ) ); ?> </div><!-- #access --> <div id="branding" role="banner"> <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title" class="clear" > <span> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </span> </<?php echo $heading_tag; ?>> <div id="site-description" class="clear"><?php bloginfo( 'description' ); ?></div> </div><!-- #branding --> </div><!-- #masthead --> </div><!-- #header --> <div id="main">Vielen Dank im Voraus für die Mühen mit den Newbies!
Grüße
Holger