Ich möchte auf meiner Tagseite mehr Artikel anzeigen als auf meiner Startseite.
Erstmal habe ich eine tag.php erstellt um dort etwas anderes darzustellen. Nun aber die Frage, wie kann ich hinbekommen, dass bei Tags 10 angezeigt werden und auf meiner startseite nur 4.
Generell werden bei mir 4 beiträge ganz angezeigt. Ich nehme an, dass die Anzahl hier änderbar ist, nur wie? Es wäre super, wenn mir da jemand helfen könnte
PHP
<h1>
<?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();
} ?><?php the_tags('Tags: ', ', ', ''); ?></h1>
<!-- loop -->
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?>
<b><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?> ( <?php if (function_exists('seo_title_tag')) { seo_title_tag(); } else { bloginfo('name'); wp_title();
} ?> )</a></b>
<hr />
<br>
<hr />
Alles anzeigen