Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to display after group name


  • jabbajabba
    Participant

    @jabbajabba

    How can i dispay a output from function after the group username/title/link ?

    like this:
    //add_action( 'bp_before_group_header_meta', 'jabbajabba' );

    but after the groups name.

    My Site

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

  • danbp
    Moderator

    @danbp

    you will find other action hook in bp-legacy/buddypress/groups/single/group-header.php
    In order of appearance:

    do_action( 'bp_before_group_header' );
    do_action( 'bp_after_group_menu_admins' );
    do_action( 'bp_before_group_menu_mods' ); 
    do_action( 'bp_after_group_menu_mods' );
    do_action( 'bp_before_group_header_meta' );
    do_action( 'bp_group_header_actions' ); 
    do_action( 'bp_group_header_meta' );
    do_action( 'bp_after_group_header' );
    do_action( 'template_notices' );

    jabbajabba
    Participant

    @jabbajabba

    thanks for the help

    but i want it right after the title

    see page:
    http://beyondbitcoinx.net/delegates/delegate-charity/


    danbp
    Moderator

    @danbp

    You’re using hueman theme and you have to modify page-title.php to alter the template.

    Make a child theme and do your changes in a copy of that file.
    For example:
    <h2><?php echo alx_page_title(); do_action('what_ever'); echo ' my_text_as_example'; ?></h2>


    jabbajabba
    Participant

    @jabbajabba

    thank you …again
    now i know what to do

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] How to display after group name’ is closed to new replies.
Skip to toolbar