Ooops.
I have been jumping back and forth testing forum home and topics as they both don’t work and I copied the wrong line I was using.
So, correction:
…when i put echo is_singular( bbp_get_topic_post_type() ) ? 'yes' : 'no'; exit;
on line 255 of bbpress/includes/common/template.php
inside bbp_is_single_topic()
, I get a white page that says “no”.
I get the same “no” doing the forum check in the forum function while on the forum page.
Thanks, Stephen.
Ok, so, Query Monitor is telling me that topic pages are returning true on a bunch of is_
s:
is_page()
is_singular()
is_bbpress()
bbp_is_single_topic()
is_buddypress()
bp_is_group()
bp_is_group_forum_topic()
bp_is_group_single()
bp_is_groups_component()
bp_is_single_item()
But, when i put echo is_singular( bbp_get_forum_post_type() ) ? 'yes' : 'no'; exit;
on line 255 of bbpress/includes/common/template.php
inside bbp_is_single_topic()
, I get a white page that says “no”.