[wp-hackers] Does is_post_type() exist?

Anthony Cole anthony at radiopicture.com.au
Wed Apr 13 11:30:53 UTC 2011


Hey Alex,

You'll want to use get_post_type() in a conditional loop. See http://codex.wordpress.org/Conditional_Tags#A_Post_Type 

Cheers,
Anthony
On Wednesday, 13 April 2011 at 9:28 PM, Alex Andrews wrote:
Hi all,
> 
> This is surely a function that must exist, but I can't seem to find it
> anywhere. Does it?
> 
> All the best,
> 
> Alex
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 


More information about the wp-hackers mailing list