@phrough
12 years, 10 months ago
Turns out I had a nesting issue, the above approach seems to work fine:
if(get_post_type() == ‘forum’ OR get_post_type() == ‘topic’ OR get_post_type() == ‘reply’) {
//user is viewing a forum page
}