WordPress Conditional Tags

Conditional Tags ” WordPress Codex

Warning: You can only use conditional query tags after the posts_selection action hook in WordPress (the wp action hook is the first one through which you can use these conditionals). For themes, this means the conditional tag will never work properly if you are using it in the body of functions.php, i.e.

[Total: 0    Average: 0/5]

Leave a Comment