• Resolved Wayne

    (@waynep16)


    It says at the moment when you click share

    ” Help me support “my Campaign” and donate to “Donate” ”

    Where do I change Donate to donate?? Why does it say that ?

    • This topic was modified 4 years, 10 months ago by Wayne.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Wayne

    (@waynep16)

    I found out DONATE was the name of my donation form BUT still would like to control this message please.

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi @waynep16 — apologies for the extreme delay, I somehow didn’t see the email notificaiton for this.

    I just updated the main plugin page here on www.ads-software.com to explain how to do that in more detail. But here’s the essence of it.

    There’s two ways to do that:

    1. Template file
    The sharing buttons are output via template file, and the plugin FIRST checks whether you have that template in your theme. So you can override the whole template completely by creating your own template file in your theme.

    Simply copy the contents of the file in this plugin at /wp-content/plugins/give-simple-social-shout/templates/basic-template.php and copy it into a new file in your theme that would be at wp-content/themes/your-theme/sss4givewp.php.

    Once you’ve done that you can customize it however you like. The message is in line 6, it starts with $message.

    BUT BE CAREFUL!!

    Even small changes to the buttons can prevent them from sharing correctly.

    2. Filter
    If you prefer to customize only the message and are familiar with PHP and how filters in WordPress work, you can do that with a PHP snippet like this:

    add_filter('sss4givewp_message', 'my_custom_sss4givewp_message');
    
    function my_custom_sss4givewp_message() {
        // Get the donation meta to output dynamic info
        $meta = sss4givewp_template_args($args = array());
    
        // Customize your message here
        $message = sprintf(__('Custom FILTERED Message!! "%1$s" and donate to "%2$s"', 'sss4givewp'),$meta['org'], $meta['form_title']);
    
        // Return the message for the filter
        return $message;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t control Shae text which, makes no sense.’ is closed to new replies.