Hallo liebe Community,
ich habe wieder ein kleines Problem. Zwar werden die Katogerien usw angezeigt, aber leider sollte ein neuer DIV Container für die Posts erstellt werden.
Zurzeit sieht das ganze so aus: http://puu.sh/6acG8.png
Aber der Artikel ist in dem einen Artikel drinne, wo der andere Artikel drinne ist.
Mein Code:
PHP
<div class="article"> <div class="thumb"> <img width="230" height="79" src="http://sourceblogging.de/wp-content/uploads/2013/12/nexus5stilgut-230x79.jpg" class="attachment-start-thumbnail wp-post-image" alt="Nexus 5 Stilgut Echtlederhülle" /> <div class="info"> <div class="meta"> <ul> <li class="one"><span>Kategorie:</span> <?php the_category(', '); ?></li> <li class="two"><span>Tags: <?php the_tags(); ?><br /></li> <li class="read"><a href="<?php the_permalink() ?>">Weiterlesen</a></li> </ul> </div> </div> </div> <div class="entry"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h2 class="articletitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> <div style="color: #ccc; font-style: italic; margin: 3px 0 10px 0;" class="metainfo"><?php the_author(); ?> | <?php the_date('d.m.Y'); ?></div> <p><?php the_content(); ?></p><?php endwhile; endif; ?><div class="post-teaser-block"><span></span> </div></div>