Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic Title length


  • gerard749
    Participant

    @gerard749

    Hi,

    I would like to change topic title max length 80 to 60 using my theme’s child function.php file.

    Thank You

    Jerry

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

  • Robin W
    Moderator

    @robin-w

    should be something like

    add_filter ('bbp_get_title_max_length','change_title') ;
    
    Function change_title ($default) {
    $default=60 ;
    Return $default ;
    }
    

    try this in your functions file – if not come back, but suppers ready and I haven’t time to test!


    gerard749
    Participant

    @gerard749

    Hi,

    It works perfect.

    Thank you very much

    Jerry

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