Change to words on the Registration page

This topic contains 6 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6712

    Al Sommer
    Free User
    Post count: 27

    Support Team,

    I put this question on the GD forum but Alex ask that I move it here.

    I’d like to change the words on the Registration page from “I Accept Terms and Conditions” to “I am at least 18 years of age and have read and accept the Terms and Conditions”.

    There would be a link to the Terms and Conditions opening a new window.

    Thank you,
    Al

    #6718

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Try following code in functions.php file of currently active theme or using Code Snippets plugin:

    add_filter('uwp_register_terms_input_label', 'uwp_register_terms_input_label_cb', 10, 1);
    function uwp_register_terms_input_label_cb($content){
    	$reg_terms_page_id = uwp_get_page_id('register_terms_page', false);
    	if (!empty($reg_terms_page_id)) {
    		$terms_page = get_permalink($reg_terms_page_id);
    		$content = sprintf( __( 'I am at least 18 years of age and have read and accept the %s Terms and Conditions %s.', 'userswp' ), '', '');
    	}
        return $content;
    }

    Regards,
    Patrik

    #6729

    Al Sommer
    Free User
    Post count: 27
    This reply has been marked as private.
    #6731

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6732

    Al Sommer
    Free User
    Post count: 27
    This reply has been marked as private.
    #6734

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #6735

    Alex Rollin
    Moderator
    Post count: 27815

    Al, try translation after the next release. If it is still an issue please report it in a new topic.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket