HEADER.PHP
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="tr-TR" />
<title><?php
global $page, $paged;
wp_title( '|', true, 'right' );
bloginfo( 'name' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( __( 'Sayfa %s', 'aorhan' ), max( $paged, $page ) );
?></title>
<meta name="robots" content="index, follow" />
<meta name="author" content="*******" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/tema-style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/font.css" type="text/css" media="screen" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="<?php bloginfo('template_url'); ?>/js/libs/jquery-1.7.min.js">\x3C/script>')</script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/bxslider.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.anasayfa-referanslar ul').bxSlider({
slideWidth: 142,
auto:true,
minSlides: 3,
maxSlides: 3,
slideMargin: 17,
pager:false,
nextSelector: '.ref-ileri',
prevSelector: '.ref-geri',
nextText: 'Onward →',
prevText: '← Go back'
});
});
$(document).ready(function(){
$('ul.hizmetlerimiz').bxSlider({
slideWidth: 202,
auto:true,
minSlides: 4,
maxSlides: 4,
slideMargin: 46,
pager:false,
nextSelector: '.hizmet-ileri',
prevSelector: '.hizmet-geri',
nextText: 'Onward →',
prevText: '← Go back'
});
});
$(document).ready(function(){
$('.duyurular ul').bxSlider({
mode: 'fade',
slideWidth: 560,
auto:true,
minSlides: 1,
controls:false,
pager:false
});
});
$(document).ready(function(){
$('.manset ul').bxSlider({
mode: 'fade',
slideWidth: 905,
auto:true,
minSlides: 1,
controls:true,
nextSelector: '.manset-ileri',
prevSelector: '.manset-geri',
nextText: 'Onward →',
prevText: '← Go back',
pager:false
});
});
</script>
</head>
<body>
<div class="ortala">
<div class="header">
<div class="duyurular">
<ul>
<?php
wp_reset_query();
$args = array
(
'post_type'=> 'duyuru',
'showposts'=> '10'
);
query_posts( $args );
if (have_posts()) : $i=0; while (have_posts()) : the_post(); $i++;
?>
<li><a href="<?php the_permalink(); ?>"><?php fs_excerpt('fs_kisa_yazi25', 'fs_kisalt'); ?></a></li>
<?php endwhile; endif; ?>
</ul>
</div>
<div class="logo">
<a href="<?php bloginfo('home'); ?>" title="<?php bloginfo('blogname'); ?>">
<img src="<?php echo fs_get_option('fs_logo'); ?>" alt="<?php bloginfo('blogname'); ?>" alt="" />
</a>
</div>
<div class="header-iletisim">
<span class="telefon"><b><?php echo fs_get_option('fs_alankodu'); ?></b> <?php echo fs_get_option('fs_telephone'); ?></span>
<span class="fmail"><?php echo fs_get_option('fs_mail'); ?></span>
</div>
<div class="arama">
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
<input type="text" id="s" name="s" onfocus="this.value = '';" value="Arama Yapın..." x-webkit-speech="x-webkit-speech" onwebkitspeechchange="this.form.submit();" />
</form>
</div>
</div>
<div class="menu-bg">
<ul class="left">
<?php
if ( has_nav_menu( 'menu' ) )
{
$menu = wp_nav_menu( array('container' => '', 'echo' => '0', 'theme_location' => 'menu' ) );
$menuson = preg_replace( array( '#^<ul[^>]*>#', '#</ul>$#' ), '', $menu );
echo $menuson;
}
?>
</ul>
<a href="<?php echo home_url( '/' ); ?>iletisim" class="iletisim-link right">İletişim</a>
</div>
<?php include (TEMPLATEPATH . "/inc/manset.php"); ?>HOME.PHP dosyam<?php get_header(); ?>
<?php include (TEMPLATEPATH . "/inc/hizmetler.php"); ?>
<?php
$hakkimizda = fs_get_option('fs_hakkimizdaid');
?>
<div class="yazi-baslik"><h2>MİSYONUMUZ</h2></div>
<div class="hakkimizda">
<?php $post = get_page(''.$hakkimizda.''); echo wpautop($post->post_content); ?>
</div>
<div class="anasayfa-haberler left">
<div class="yazi-baslik"><h2><b></b> VİZYONUMUZ</h2></div>
<ul>
<li>
<?php
wp_reset_query();
$args = array
(
'post_type'=> 'haber',
'showposts'=> '1'
);
query_posts( $args );
if (have_posts()) : while (have_posts()) : the_post();
?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<p><?php fs_excerpt('fs_kisa_yazi30', 'fs_kisalt'); ?></p>
<a class="devamini-oku" href="<?php the_permalink(); ?>">DEVAMINI OKU</a>
<?php endwhile; endif; ?>
</li>
</ul>
</div>
<div class="anasayfa-referanslar right">
<div class="yazi-baslik">
<h2 class="left"><b>ZEYBEKLER</b> ÇİFTLİĞİ</h2>
<p class="right" ><span class="ref-geri"></span><span class="ref-ileri"></span></p>
<div class="temizle"></div>
</div>
<ul>
<?php
wp_reset_query();
$args = array
(
'post_type'=> 'referans',
'showposts'=> '9'
);
query_posts( $args );
if (have_posts()) : while (have_posts()) : the_post();
?>
<li>
<a href="<?php the_permalink(); ?>">
<?php
if ( has_post_thumbnail()) :
the_post_thumbnail( 'kucuk', array('class' => 'fl-right', 'alt' => ''.get_the_title().'', 'title' => ''.get_the_title().'' ));
elseif (get_post_meta($post->ID, 'resim', true) != '') :
echo '<img class="fl-right" src="'.get_post_meta($post->ID, 'resim', true).'" alt="'.get_the_title().'" width="640" height="218" />';
else :
echo '<img class="fl-right" src="'.fs_get_option('fs_logo').'" alt="'.get_the_title().'" width="640" height="218" />';
endif;
?>
</a>
</li>
<?php endwhile; endif; ?>
</ul>
</div>
<?php get_footer(); ?>