buyrun hocam
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
buda temanın index.php si
<?php
get_header();
?>
<?php $count = 0;?>
<?php query_posts('showposts=16'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postindex" id="post-<?php the_ID(); ?>">
<div class="entry">
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php $values = get_post_custom_values("poster"); echo $values[0]; ?>" alt="<?php the_title(); ?>" /></a>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<?php if(function_exists('the_views')) { the_views(); } ?>
</div>
</div>
<?php endwhile; else: ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
<div class="alignleft"><?php next_posts_link('« previous') ?></div>
<div class="alignright"><?php previous_posts_link('next »') ?></div>
<?php get_footer(); ?>