Hallöle,
könnte mir bitte jemand helfen mit folgendem - ist ziemlich einfach, aber ich kenn mich hald nicht mit php aus.
Und zwar möchte ich zwei verschiedene Kategorien auf einer Seite anzeigen lassen (eine links eine rechts).
PHP
<?php query_posts("cat=1"); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_content('Read the rest of this entry »'); ?>
<?php endwhile; ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
<?php query_posts("cat=3"); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
content blabla
(..)
Alles anzeigen
so gehts schonmal nicht ;)
danke für jede hilfe!