Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to create Topic Info bbpress


  • durvilchat
    Participant

    @durvilchat

    How to create Topic Info like on the supports of the sites BBpress and Buddypress? thanks

Viewing 1 replies (of 1 total)

  • mithrandir
    Participant

    @mithrandir786

    The following functions would be useful:

    //to get the topic author name
    bbp_get_topic_author_display_name()

    //to get the forum title
    bbp_get_topic_forum_title()

    Example:

    <?php echo 'Started by: ' . bbp_get_topic_author_display_name(); ?>
    <?php echo 'in: ' . bbp_get_topic_forum_title(); ?>

    You would need to modify the respective template file, depending on where you would like to display the “topic info”

    If you could provide more information on what you are trying to achieve, would be happy to help out.

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