Hi
I'm not sure what I'm doing wrong here because this works fine on my local site. I'm trying to launch my first blog and get this error from the home page:
Warning: Missing argument 1 for WP_Query::query(), called in http://blog.greggwatt.com/wp-content/themes/hybrid-custom/cross-home.php on line 49 and defined in http://blog.greggwatt.com/wp-includes/query.php on line 2512
I have a custom template for the home page (cross-home.php) to display the first 4 posts except posts from the featured category (ID=3).
Here is the code from the cross-home.php starting at line 49:
<?php
$wp_query = new WP_Query('showposts=4&cat=-3');
/* Show only first four posts on home page */
$wp_query->query();
$more = 0;
?>
<?php if ( $wp_query->have_posts() ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
Any idea what I could be doing wrong? I appreciate any help.
Cheers,
Gregg