Ok die home.php hab ich angelegt und auch den gesamten Text aus der index.php reinkopiert schön und gut das funktioniert soweit :)
Nur den Teil danach das schaffe ich nicht ganz, hab mir auch das von dem Link durchgelesen nur weiß ich nicht genau wo ich das setzen muss. Könntest du mir sagen wo ich das hier im Code setzen muss bitte.
Danke schön!
<?php get_header(); ?>
<div class="contentLayout">
<div class="sidebar1">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
</div>
<div class="content">
<div class="Block">
<div class="Block-body">
<div class="BlockContent">
<div class="BlockContent-body">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<div class="BlockContent-tl"></div>
<div class="BlockContent-tr"><div></div></div>
<div class="BlockContent-bl"><div></div></div>
<div class="BlockContent-br"><div></div></div>
<div class="BlockContent-tc"><div></div></div>
<div class="BlockContent-bc"><div></div></div>
<div class="BlockContent-cl"><div></div></div>
<div class="BlockContent-cr"><div></div></div>
<div class="BlockContent-cc"></div>
</div>
</div>
<div class="Block-tl"></div>
<div class="Block-tr"><div></div></div>
<div class="Block-bl"><div></div></div>
<div class="Block-br"><div></div></div>
<div class="Block-tc"><div></div></div>
<div class="Block-bc"><div></div></div>
<div class="Block-cl"><div></div></div>
<div class="Block-cr"><div></div></div>
<div class="Block-cc"></div>
</div>
</div>
</div>
<?php get_footer(); ?>
Alles anzeigen