This should work, back up before trying though.
Add this to functions.php (located in p2’s theme directory).
/* the following tweak filters the front page to only contain a single category of choice */
add_action('pre_get_posts', 'front_page_cat_filter' );
function front_page_cat_filter()
{
global $wp_query;
$cat = get_cat_id('post');
if( is_home() || is_front_page () ) {
$wp_query->query_vars['cat'] = $cat;
}
}
/* end of tweak */
then in ajax.php, on line 245 in the most current version of p2 inside the ‘get_latest_posts()’ function, find the line:
query_posts( 'showposts=' . $num_posts . '&post_status=publish' );
and replace this with:
/* tweaking the updated posts to only include a certain category */
if (is_home () || is_front_page () ) {
query_posts( 'showposts='. $num_posts . '&post_status=publish&category_name=post');
}
else
{
query_posts( 'showposts=' . $num_posts . '&post_status=publish' );
}
/* end of tweak */
Depending on the category you want to show, you have to replace the word post with your desired category (so…category_name=<type your category here>) and get_cat_id(‘<type your category here>’)
I haven’t tested this extensively but it should establish what you want to do.
* made a few small corrections since posting this