conditional tags for individual CPTs
-
How do I target my individual CPT archives using conditional tags? I have tried is_archive(‘cpt1’) and is_post_type_archive($cpt1) and !is_etc combinations but it seems my conditional tags select all my CPTs and can’t distinguish between them. What am I doing wrong?
Thanks, Tim
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘conditional tags for individual CPTs’ is closed to new replies.