Skip to:
Content
Pages
Categories
Search
Top
Bottom

Displaying value in every first reply. which function ?

Viewing 2 replies - 1 through 2 (of 2 total)

  • Robkk
    Moderator

    @robkk

    Well there are these if you do not have show topic lead enabled.

    add_action( 'bbp_theme_before_reply_content', 'function_name' );		
    add_action( 'bbp_theme_after_reply_content', 'function_name' );	

    You may need to use a conditional to only display your value on the first reply/topic if they have the same ID.

    if ( bbp_get_reply_id() == bbp_get_topic_id() ) {


    wpman
    Participant

    @iwpman

    Thanks,it work!

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