Variable to bp_has_forum_topics()
I am trying to display relevant forum thread when on a Page/Post/Custom Post on my normal WP installation.
I am trying to use bp_has_forum_topics(‘search_terms=’.$variable.”); to achieve this, $variable being the title of the page.
I have matching Forums for most of some of my pages (for example, a page is called Australia, and I have a forum called Australia).
But, when on my Australian page, No forum is found using the $variable (the value is correct and returns Australia.)
You must be logged in to reply to this topic.