Skip to:
Content
Pages
Categories
Search
Top
Bottom

Lead Topic

  • @xefri

    Member

    Can anyone tell what is a Lead Topic? How does it different from a Topic?

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

    Participant

    Maybe a little bit late..

    The Lead Topic ( content-single-topic-lead.php ) is a very powerful but super simple function that can be used to style the Topic Authors different from the Repliers..

    It’s also very useful if you want to add some ads or a simple note to your readers after the first message ( from the topic author)

    Bummer this is nowhere to be found in the Codex.
    But you can activate this option by adding this line of code to your WordPress theme functions.php template file.
    Note i say functions.php and not bbpress-functions.php because you if you would add it to the bbpress-functions.php this code will be overwritten when the bbPress plugin updates in the future.

    add_filter( 'bbp_show_lead_topic', '__return_true' );
    

    Hope that helps..

    @macpresss

    Participant

    Oops,

    *Topic Authors -> should be Topic Creators or Starters.

    @netweb

    Keymaster

    It actually was already in the Codex here: https://codex.bbpress.org/bbp_show_lead_topic/

    It had the incorrect details though, I have just put a quick update up now.

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