Skip to:
Content
Pages
Categories
Search
Top
Bottom

Display group description only in Home


  • guillaummelane
    Participant

    @guillaummelane

    Hi !
    I have enabled the possibility to customise the group home by inserting iframes in the description.
    However, I hadn’t noticed that the description is displayed on every single tab. If it is a bit long, the content of the other tabs is pushed way down.
    How can I allow the description to display only in the “home” tab ? And eventually rename the “home” tab to “about” ?

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

  • Venutius
    Moderator

    @venutius

    What you could to is overload buddypress/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php line 58 to be as follows:

    <?php if ( bp_is_group_home() && ! bp_nouveau_groups_front_page_description() && bp_nouveau_group_has_meta( 'description' ) ) : ?>


    guillaummelane
    Participant

    @guillaummelane

    thx ! would this work as a general parameter for all groups ? (I forgot to mention, this is what I want, might not have been clear since I talked without using plural)


    guillaummelane
    Participant

    @guillaummelane

    thanks for what you do anyways, I see you answering to all topics and helping everyone

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