• Resolved altexasgirl

    (@altexasgirl)


    Hi,

    Maybe somebody on here knows the answer to my problem. Thanks in advance.

    I’m trying to display a list of posts, and I’ve got the coding narrowed down to just the ten most recent posts, but I would like to narrow the parameters by a certain category.

    Here is what I have so far:


    <?php get_archives('postbypost',"10",1,"","",""); ?>

    I just want the ten most recent posts from a specific category to show. I know that I’ll have to include the category number, but I’m just not sure where.

    Thanks so much!!!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Archives by Category PHP Code’ is closed to new replies.