Wordpressde Site başlığı yerine url´den

samdonmez Samet Dönmez

Arkadaşlar sitemin başlığı yerine url'den resim koymak istiyorum nasıl yapabilirim?

<<Header.php>>

 

<?php

/* Header */

?>

<!DOCTYPE html>

<html <?php language_attributes(); ?>>

<head>

<title><?php wp_title( '-', true, 'right' ); ?></title>

 

<meta charset="<?php bloginfo( 'charset' ); ?>">

<meta name="viewport" content="width=device-width">

 

<link rel="profile nofollow" href="http://gmpg.org/xfn/11">

<link rel="pingback nofollow" href="<?php bloginfo( 'pingback_url' ); ?>">

 

<?php wp_head(); ?>

</head>

 

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

 

<nav id="top-navigation" class="main-navigation" role="navigation">

<div class="clearfix container">

<?php wp_nav_menu( array( 'container_class' => 'sf-menu', 'theme_location' => 'top' ) ); ?>

</div>

<!-- #top-navigation --></nav>

 

<header id="masthead" class="clearfix container site-header" role="banner">

<div class="site-branding">

<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>

<<?php echo $heading_tag; ?> class="site-title">

<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home nofollow">

<?php bloginfo( 'name' ); ?>

</a>

</<?php echo $heading_tag; ?>>

<div class="site-description"><?php bloginfo( 'description' ); ?></div>

<!-- .site-branding --></div>

 

<?php if ( ! dynamic_sidebar( 'sidebar-2' ) ) : ?>

<?php endif; ?>

<!-- #masthead --></header>

 

<nav id="main-navigation" class="container main-navigation" role="navigation">

<a href="#main-navigation" class="nav-open">Menu</a>

<a href="#" class="nav-close">Close</a>

<?php wp_nav_menu( array( 'container_class' => 'sf-menu', 'theme_location' => 'main' ) ); ?>

<!-- #main-navigation --></nav>

 

<div id="main" class="site-main"> </div>

<div class="clearfix container"> </div>

</body>

 

<<style.css>>

 

 

/* HEADER

----------------------------------------------- */

.site-header {

padding: 40px 0 20px;

}

.site-branding {

float: left;

}

.site-title {

margin: 0;

font-size: 30px;

font-size: 3rem;

font-family: Oswald, Arial, Helvetica, sans-serif;

text-transform: uppercase;

line-height: 1em;

}

.site-title a {

color: #000000;

text-decoration: none;

}

.site-description {

color: #a6a6a6;

font-weight: 300;

font-family: Oswald, Arial, Helvetica, sans-serif;

text-transform: uppercase;

letter-spacing: 2px;

}

 

 

21-02-2016 16:54

    www.Phpkodlari.com © 2009 Herkes Php öğrenecek
    Web tasarım ve eğitim kaynağınız.