How to display posts on a static page? (like search loop)

You could use query_posts() to set up a new loop in your page. Assuming that the posts you want are in the category ‘Noticias’, with a slug of ‘noticias’:

query_posts( 'category=noticias' );
if( have_posts() ) {
    get_template_part( 'loop', 'index' );
}
wp_reset_query(); // probably not necessary, if you don't have a pre-existing Loop

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)