Skip to:
Content
Pages
Categories
Search
Top
Bottom

shortcodes on BP registration pages


  • ftg17
    Participant

    @ftg17

    Hello,
    I am currently using BP 2.9.1. I am working on the registration page. Is there anyway I can add shortcodes to the registration page? I am trying to add a donate button at the bottom of the registration page. I just want new users to donate before registering?

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

  • ftg17
    Participant

    @ftg17

    I also need to add a shortcode for my terms and conditions? How can I place shortcodes on my registration page?


    gertm
    Participant

    @gertm

    2 options I see:
    1) Use hooks on the register.php page like do_action( ‘bp_after_registration_submit_buttons’ ) add_action('bp_after_registration_submit_buttons','your_function');
    function your_function(){
    echo do_shortcode( '' );
    }

    2) Modify register page –> copy wp-content/plugins/buddypress/bp-templates/bp-legacy/members/register.php to wp-content/themes/your-child-theme/buddypress/members/register.php and modify in your-child-theme

    do_shortcode()

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