halloechen,
ich hoffe mir kann jemand weiterhelfen.
aktuell wird bei mir auf der startseite 2 spalten angezeigt
ich wuerde aber gerne nur eine haben.
egal was ich mache, entweder zerschiess ich mir alles oder es passiert garnnicht..
ich glaube das das hier das richtige template ist.
kann mir jemand sagen was ich aendern muss damit ich nur eine spalte habe.
HTML
<?php
get_header();
?>
<?php $count = 0;?>
<?php query_posts('showposts=8'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="postindex" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_excerpt(__('Readmore �'));?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="nofollow" class="selected">(Den ganzen Artikel lesen...)</a>
</div>
<div class="spacer"></div>
<ul class="post-data">
<li class="comments">
<?php comments_popup_link('Keine Kommentare »', '1 Kommentar »', '% Kommentare »'); ?>
</li>
<li class="posted">
<?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit','',''); ?>
</li>
</ul>
</div>
<?php comments_template(); ?>
<?php
if($count == 1 ) {
echo "<div style='clear:both;'></div>";}
$count = $count+1;
?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
<?php get_footer(); ?>
Alles anzeigen