BuddyBoss Home – Web Support Forums Themes OneSocial theme How Change the Registration button's link

Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #68979
    @ainsleyrufer

    I’m using Buddypress and a custom membership plugin, resulting in 2 registration pages: one that has my basic Buddypress register form and another page that has the actual registration form I’d like to use.

    The OneSocial “Register” button in the navigation bar keeps pointing to the Buddypress register page. How do I change the link associated with that specific button?

    Thank you!

    Answers

    #69506
    @ainsleyrufer

    bump. This seems like a simple fix, can support please help?

    #69692
    @vapvarun

    Hi @ainsleyrufer

    Sorry for delayed response.
    You can change the register link from header codes

    replace following code with your register page link

    
    <?php echo bp_get_signup_page(); ?>
    

    inside onesocial/template-parts/header-user-links.php

    copy /template-parts/header-user-links.php file inside the child theme at same path them make your edits

    Regards
    Varun Dubey

    #153134
    @dainiswmichel

    can bp_get_signup_page()
    &
    wp_login_url()

    maybe be changed in the DB instead of hard-coding child-template files?

    best,
    dainis

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this question.