Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I don’t want to give you bad advice because I’m not a coder. But the way I fixed it was to change the custom functions tab in the theme options and use this code. I found an article somewhere about it. Sorry I don’t know the source of the code but it worked! I think you need to download and install a plugin called My Custom Functions by Arthur “Berserkr” Gareginyan.

    /**
     * Customize the Gateways Labels
     *
     * @description: This function uses the <code>give_payment_gateways</code> library and adjusts the label that appears for the donor on the frontend donation forms. This will affect ALL donation forms.
     *
     * @param $gateways
     *
     * @return mixed
     */
    function my_custom_gateway_labels($gateways) {
    	$gateways['offline'] = array(
    		'admin_label'    => 'Offline Donations',
    		'checkout_label' => __( 'Mail a Check', 'give' )
    	);
    	$gateways['paypal'] = array(
    		'admin_label'    => 'PayPal Standard',
            'give_checkout_login' => 'Login to ElderStreets account',
    		'checkout_label' => __( 'Credit Card or PayPal (account not required for credit card donations)', 'give' )
    	);
    
        return $gateways;
    }
    
    add_filter('give_payment_gateways', 'my_custom_gateway_labels');

    I’m seeing the same thing happen on my site. It was working until like an hour ago it stopped reflecting the donations. Stuck on zero. The website is https://www.elderstreet.org

    I’m trying to edit the English version because I don’t like some of the wording. I uploaded it to /wp-content/languages/give/ and also tried overwriting the default. Neither works? What am I doing wrong?

    Tried both give.po and give.pot

Viewing 3 replies - 1 through 3 (of 3 total)