Viewing 5 replies - 1 through 5 (of 5 total)
  • tongyfilardi

    (@gastonfilardigmailcom)

    I have the same problem

    Plugin Author Brian

    (@brianmiyaji)

    Ah, we’ll need to add an option to change this text in the next version ?? For now, you could add a filter to your theme’s functions.php to do this:

    function mytheme_sportspress_text( $translated_text, $untranslated_text, $domain ) {
    	if ( 'sportspress' === $domain ) {
    		switch ( $untranslated_text ) {
    			case 'Birthday':
    				$translated_text = __( 'Joined Club', 'mytheme' );
    				break;
    			case 'Age':
    				$translated_text = __( 'Years Since Joining', 'mytheme' );
    				break;
    		}
    	}
    
    	return $translated_text;
    }
    add_filter( 'gettext', 'mytheme_sportspress_text', 20, 3 );
    Thread Starter Sofi-Soao

    (@sofi-soao)

    Thank you Brian, this works perfect for me.

    Plugin Author Brian

    (@brianmiyaji)

    Glad to hear that!

    Roch

    (@rochesterj)

    Since we haven’t heard back from you, I’ll set this one as resolved.

    Please, let us know if you need anything else.

    Kind Regards,
    -Roch

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Rename Birthday field’ is closed to new replies.