im working on customizing wordpress 1.5.2
i have a few queries to make on the homepage where i basically request a list of 5 recent posts put together by category. Now when i write the query i request the category and the length of the list by passing
$my_query = new WP_Query(‘category_id=21&showposts=5’);
but the system always returns the latest 5 from any given category…not the category i want…21 in this example.
url is http://www.spoode.com/wordpress/
check it out
thx for any help
- The topic ‘new wp_query(parameters not passed)’ is closed to new replies.