Demo www.101okey.org
Bu yazinin oldugu yere nasil tam boyut banner atarim??
101okey, 101, 101 oyunu, 101 okey, 101 oyna
101 okey tek adresi, 101okey.org
Header Kaynak kodu
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php if(is_home()) { echo bloginfo('name'); } else { wp_title(''); } ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" />
<!-- Sidebar docking boxes (dbx) by Brothercake - http://www.101okey.org/ -->
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx.js"></script>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/dbx-key.js"></script>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/dbx.css" media="screen, projection" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie-gif.css" type="text/css" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
if((is_home() && ($paged < 2 )) || is_single() || is_page() || is_category()){
echo '<meta name="robots" content="index,follow" />';
} else {
echo '<meta name="robots" content="noindex,follow" />';}
?>
<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="wrapper">
<div id="header">
<?php
if(is_single() || is_page() || is_archive()){
?>
<div id="page_header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></div>
<?php
} else
{ ?><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<?php } ?>
<div class="description"><?php bloginfo('description'); ?></div>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div><!-- /header -->
<?php include_once("sidebar-left.php"); ?>
<div id="left-col">
<div id="nav">
<ul>
<li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
<?php wp_list_pages('sort_column=menu_order&depth=1&titl e_li=');?>
</ul>
</div><!-- /nav -->
<?php /* Menu for subpages of current page (thanks to K2 theme for this code) */
global $notfound;
if (is_page() and ($notfound != '1')) {
$current_page = $post->ID;
while($current_page) {
$page_query = $wpdb->get_row("SELECT ID, post_title, post_status, post_parent FROM $wpdb->posts WHERE ID = '$current_page'");
$current_page = $page_query->post_parent;
}
$parent_id = $page_query->ID;
$parent_title = $page_query->post_title;
// if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_status != 'attachment'")) {
if ($wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = '$parent_id' AND post_type != 'attachment'")) {
?>
<div id="subnav">
<ul>
<?php wp_list_pages('sort_column=menu_order&depth=1&titl e_li=&child_of='. $parent_id); ?>
</ul>
</div><!-- /sub nav -->
<?php } } ?>
İndex.php kaynak kodu
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="date"><span><?php the_time('M') ?></span> <?php the_time('d') ?></div>
<div class="title">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="postdata"><SPAN class="category"><?php the_category(', ') ?></SPAN> <span class="comments"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></span></div>
</div>
<div class="entry">
<?php the_content('Continue reading »'); ?>
</div><!--/entry -->
</div><!--/post -->
<?php endwhile; ?>
<div class="page-nav"> <span class="previous-entries"><?php next_posts_link('Previous Entries') ?></span> <span class="next-entries"><?php previous_posts_link('Next Entries') ?></span></div><!-- /page nav -->
<?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div><!--/content -->
<div id="footer">
<!-- Please DO NOT REMOVE CREDITS -->
</div>
</div><!--/left-col -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Ben bu temanin ustune nasil banner atarim
5
●733
- 19-01-2010, 22:05:56Üyeliği durdurulduLütfen Yanlış Bilgi Vermiyelim! En Altı Footer.Php (Alt Kısım) Nasıl Headerde (Üst Kısımda) Görünür?blogevim adlı üyeden alıntı: mesajı görüntüle
Header.php'deki Şu Kodun Yerine ;
<div class="description"><?php bloginfo('description'); ?></div>Şu Kodu Eklerseniz Banner'ınız Site Açıklaması Kısmında Görünür.
<div class="logo"><img src="http://www.resminurlsi.com" alt="Site Açıklaması" /></div>
- 01-02-2010, 18:21:04Üyeliği durduruldusiz yanlış anlamışsınız. header.php nin en altına kodu ekleyiniz diyorum. en basit yönüyle. footeri hiç karıştırmadım ben. headerin en altına eklersen de sitenin en üstünde görünür demek istedimPsik0 adlı üyeden alıntı: mesajı görüntüle
- 02-02-2010, 18:36:37Kimlik doğrulama veya yönetimden onay bekliyor.Elle bile ekliyebilirsin ki,
Bunu bu kadar büyütmeye gerek yok
ister arkadaşın dediği gibi bu şekilde
<div class="logo"><img src="http://www.resminurlsi.com" alt="Site Açıklaması" /></div>
istersende elle normal resim ekler gibi ekleyebilirsin tek koşul resmi şu şekilde çekmen gerekiyor : <?php bloginfo('template_url'); ?>/images/yazar.gif
gibi.