If Post Type equals, then display X content

if( get_post_type() == 'post_type_slug' ) {
    //do some stuff
} else {
    //do other stuff
}

Should do it, alternately you can use templates to handle that, which wordpress has setup pretty well by default. See the codex page on template hierarchy, specifically I find the visual overview to be quite useful.

Leave a Comment