Hallo Leute,
leider habe ich zu meinem aktuellen Problem im ganzen Forum nichts finden können...
Ich möchte auf einer "Seite" meines Blogs unten die Artikelliste einer Kategorie darstellen und habe dafür folgenden Code in der HTML-Ansicht des Artikels eingefügt:
PHP
<?php query_posts('cat=14'); ?>
<?php while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<?php endwhile; ?>
Leider werden beim Speichern der Seite die "<?php" zerstört, das ganze sieht dann so aus:
PHP
< ?php query_posts('cat=14'); ?>
< ?php while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>">< ?php the_title(); ?></a></h2>
< ?php endwhile; ?>
und das funktioniert wegen dem "< ?php" dann natürlich nicht.
Hat jemand da nen Tip für mich?
Vielen Dank im Voraus /Carsten