I have about 12 custom post types in wordpress and i am looking for an IF statement that is efficient and speedy.
Basically, if the user is on a single post of 5 specific custom post types i would like to echo a specific blurb of text.
The code should go on single.php I guess and it should be something like:
I would appreciate an efficient syntax!Code:
IF post_type = os_red OR post_type = os_blue OR post_type = green etc.. then
many thanks in advance,