<?php
global $wp_query;
$post_id = $wp_query->post->ID;
$type = get_post_type(get_the_ID());
if (($type == "novedades")) {
//estoy en custom post type novedades
} elseif (is_single()) {
//estoy en un post
} elseif (is_home()) {
//estoy en el home de sitio
} elseif (is_page('230')) {
//estoy en la pagina id 230
}
else {
//estoy en otro sector de WP
}
?>