hier einmal das "Seiten- Template" auch "page.php genannt
PHP-Code:
<?php get_header() ?>
<div id="container">
<div class="left-col">
<h2 class="entry-title"><?php the_title(); ?></h2>
</div>
<div id="content">
<?php the_post() ?>
<div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class() ?>">
<div class="entry-content">
<?php the_content() ?>
<?php link_pages("\t\t\t\t\t<div class='page-link'>".__('Seiten: ', 'sandbox'), "</div>\n", 'number'); ?>
<?php edit_post_link(__('Bearbeiten', 'sandbox'),'<span class="edit-link">','</span>') ?>
</div>
</div><!-- .post -->
<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key+value of "comments" to enable comments on this page ?>
</div><!-- #content -->
<?php get_sidebar() ?>
</div><!-- #container -->
<?php include (TEMPLATEPATH . '/bottom.php'); ?>
<?php get_footer() ?>
und dann einmal die Index.php
PHP-Code:
<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');
?>
wobei ich davon ausgehe das die index.php nicht das richtige ist. das template ist ein wenig kompliziert =/
btw danke dir das du dir soviel mühe gibst den urspung allen übels zu finden ^^