• Resolved rcarpadus

    (@rcarpadus)


    Is there any way to edit the text on the opt in checkbox?The wording is pretty much saying “Hey, wanna be spammed???” and We’d like to change it to note that we don’t sell our info and will only send good info or something like that.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    Just to be certain, you’re referring to this specific text correct?

    “Sign me up to receive marketing emails”

    Plugin Author Constant Contact

    (@constantcontact)

    We don’t have a specific setting for that, if the spot you’re wanting, but you should be able to set it to something custom with this code:

    function rcarpadus_customize_opt_in_messaging( $translation, $original, $domain ) {
    	if ( 'cc-woo' !== $domain ) {
    		return $translation;
    	}
    
    	if ( 'Sign me up to receive marketing emails' === $original ) {
    		return 'Something custom here';
    	}
    
    	return $translation;
    }
    add_filter( 'gettext', 'rcarpadus_customize_opt_in_messaging', 10, 3 );
    

    the “Something custom here” spot is where you’ll want to add your custom messaging. Unsure if you’re desired message will have apostrophes but we can double check that as needed, to help make sure there’s no parse errors when you save this to your functions.php or similar.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change opt in check box wording’ is closed to new replies.