Lanzamientos

$the_slug,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘showposts’ => 1
);
$my_posts = get_posts($args);
if( $my_posts ) {
echo ‘ID on the first post found ‘.$my_posts[0]->ID;
}
?>

Conciertos

$the_slug,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘showposts’ => 1
);
$my_posts = get_posts($args);
if( $my_posts ) {
echo ‘ID on the first post found ‘.$my_posts[0]->ID;
}
?>