Support » Plugin: Give - Donation Plugin and Fundraising Platform » Existing donations + Link to seller

  • Resolved eldad222

    (@eldad222)


    Greetings,
    First, is it possible to bring into the sum of the sum collected also amounts of money that have already been donated?
    Can I set a countdown timer to end the donation date?
    Is there a possibility to know which of the representatives of our donation came through the donation (for example: a link to each representative, option to choose the name of the representative in a special window)
    Can I write all fields in Hebrew?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Those are some great questions. I’ll be brief but this should give you the most pertinent info to get up and running quickly with your questions.

    First, is it possible to bring into the sum of the sum collected also amounts of money that have already been donated?
    Yes. See our docs on the [give_totals] shortcode. That should do what you need.
    https://givewp.com/documentation/core/shortcodes/give_totals/

    Can I set a countdown timer to end the donation date?
    We built a FREE addon for that purpose. It’s a bit experimental, but try it out and let us know how you like it:
    https://wordpress.org/plugins/give-form-countdown/

    Is there a possibility to know which of the representatives of our donation came through the donation (for example: a link to each representative, option to choose the name of the representative in a special window)
    You can add a dropdown to your Give forms so the donor can choose the representative. You can add custom fields to your Give forms in one of two ways:

    Alternatively, if you wanted to have a HIDDEN field that is populated by a unique link, you could add the field in one of the two ways above, then you’d need some custom jQuery to automatically populate that field based on the link. We have a detailed tutorial about that here:
    https://givewp.com/populate-donor-info-one-click/

    Can I write all fields in Hebrew?
    Rather than writing the fields directly, we’d recommend translating the fields into Hebrew with a PO or MO file — this is the default way in which ALL strings in WordPress are translated.

    Here’s two ways you can do that:
    1. The technical/manual way — https://developer.wordpress.org/plugins/internationalization/localization/#poedit
    2. With a plugin — https://wordpress.org/plugins/loco-translate/

    Thanks!

    hi,
    cuurntly the donate details are in hebrow.
    i need to add english supporet
    for example:”personal details” and not “פרטים אישיים”
    i dont care if i will see english and hebrow togather in the same page
    see picture (i need to add what the arrow points to for example)
    Like Image Here
    how can i do so?

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    I think loco-translate plugin should do the trick for you.

    Or you can use this translation snippet. You’d have to customize it to target the field you want, with the correct translation, but it would look something like this:

    function my_give_text_switcher( $translations, $text, $domain ) {
    
    	if ( $domain == 'give' && $text == 'פרטים אישיים' ) {
    		$translations = __( 'personal details', 'give' );
    	}
    
    	if ( $domain == 'give' && $text == 'Your Hebrew Text for Last Name' ) {
    		$translations = __( 'last name', 'give' );
    	}
    
    	
    	return $translations;
    }
    add_filter( 'gettext', 'my_give_text_switcher', 10, 3 );
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.