Forums

[resolved] how would i add the category name to this wp_query code? (2 posts)

  1. gbaka
    Member
    Posted 1 month ago #

    <?php $recent = new WP_Query("cat=1&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
    I'm trying to add the category name to the code so it would show category name than post name in the link, any clue?

  2. gbaka
    Member
    Posted 1 month ago #

    figured it out...

Reply

You must log in to post.

About this Topic