You can conditionally check for post type like this:
Code:
if ( 'services' == get_post_type( $post->ID ) ) {
//your code
}
See at the Codex: Conditional Tags, but is_singular()
does this too.
You can conditionally check for post type like this:
Code:
if ( 'services' == get_post_type( $post->ID ) ) {
//your code
}
See at the Codex: Conditional Tags, but is_singular()
does this too.