Addind Custom Post Type Support to home.php

How can I add support for a custom post type to my home (blog) page in bp-daily?

I’d like it to query ‘posts’ and ‘news-links’

I tried adding this to functions.php but it didn’t work:

/*show news links on home page */

function my_get_posts( $query ) {

if ( ( is_latest_posts() && false == $query->query_vars ) || is_feed() )

$query->set( 'post_type', array( 'post', 'page', 'news-links') );

return $query;

}

I ain’t a coder – would adding something like this to home.php do the trick?

<?php query_posts('array( 'posts', 'news-links' )); ?>

Thanks!