• Hi,

    I searched for a couple or hours to find my answer, but couldn’t find it. I want recent items of a specific category with control if i want to view the title, text, image and read more link.

    I just found a code where i can output a specific category, but where i got no control of what to output?

    <ul>
    <?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark">
    <?php the_title(); ?>
    </a></li>
    <?php endwhile; ?>
    </ul>

    Anybody got an idea?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Features items from specific category’ is closed to new replies.