Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get current forum id

  • @corinthian72

    Participant

    I’m trying to get current forum id in header.php file of my theme with function bbp_get_forum_id(), but it always returns empty result.

    What am I doing wrong?

    P.S. I’m using bbPress 2.3 plugin installed on latest version of WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @corinthian72

    Participant

    Up.

    @mordauk

    Participant

    When viewing a forum or a topic in the forum?

    @corinthian72

    Participant

    When viewing a forum or a topic in the forum?

    Actually, now everything works right. I must have made some mistakes in the code first time.

    Close this topic please.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar