Películas bélicas, documentales y series para ver online

Lo + Visto

Posts mas populares

    get_results(“SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5″); //cambia este numero a la cantidad de posts que quieras que se muestren
    foreach ($result as $post) {
    setup_postdata($post);
    $postid = $post->ID;
    $title = $post->post_title;
    $commentcount = $post->comment_count;
    if ($commentcount != 0) { ?>