Custom Post Types revisited- multiple types
-
Hi,
I like this plugin!
I’m trying to set this up for multiple post types; “posts” and “custom type”
Instead of: if($post_type==’post’){
I tried:
if ( is_post_type( array( ‘post’, ‘custom_type’ ) ) ) {
and I also tried:
if($post_type==’post’)
if($post_type==’custom_type’){
but neither worked.Any other suggestions?
Thanks,
Cathy
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Post Types revisited- multiple types’ is closed to new replies.