Ich habe ein Problem mit den fixiren von Artikeln in meinen tabs.
PHP
<ul class="tabs">
<?php
$popular = new WP_Query();
$popular->query('showposts=3');
while ($popular->have_posts()) : $popular->the_post();
$total = get_comments_number();
if ($total >= 0) { ?>
<li><a href="#post_<?php the_ID(); ?>"><?php the_title(); ?></a></li>
<?php }; ?>
<?php endwhile; ?>
</ul>
Alles anzeigen
es werden immer nur die neuesten Artikel in den tabs gepostet. Was muss ich tun damit ich die Artikel bestimmen / fixieren kann?
edit: Rechtschreibfehler