Skip to:
Content
Pages
Categories
Search
Top
Bottom

Variable to bp_has_forum_topics()

  • Avatar of salocined
    salocined
    Member

    @salocined

    Hi,

    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.)

    Any idea?

    Thx

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.