Thanks for the suggestion MichaelH, but that really doesn’t work for me.
I’m trying to create two separate boxes on my sidebar, each one containing recent posts titles from different categories. Basically, one box is men’s scores and the other box is women’s scores from a sports league.
In the sidebar I use the line <?php wp_cat_posts(1); ?> and <?php wp_cat_posts(2); ?>. This works great for my purposes. However, the list will grow forever. I need a way to limit the number of posts.
My error may be in the location of the $get_posts_in_cat .= “LIMIT 10”;
Any thoughts? I really appreciate the help.