bbp_has_topics() not working properly in my custom theme
I basically can’t get to show any topics on a custom theme that I’ve been making.
I think it has nothing to do plugins, in my custom theme when I call ‘bbp_has_topics()’ it returns the boolean false. But when I switch to the wordpress theme twenty fifteen, I get returned the boolean true and it basically shows the topic correctly, with all plugins turned on.
However my forums list get displayed correctly, and the topic detail page will only display the topic when I turn off the ‘bbp_show_lead_topic()’ as it by default only shows when that function return true which in my custom theme it doesn’t.
the function ‘bbp_has_topics()’ basically get influenced or something as soon as I switch to my custom theme. To be honest honest I have no clue what causes this action to influence that those bbp function, I was hoping someone here did.
Does anyone have any suggestions or have encountered this problem and knows what could possibly cause this problem?
- You must be logged in to reply to this topic.