PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.9.4
GiveWP – Donation Plugin and Fundraising Platform v2.9.4
4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / src / Onboarding / Setup / templates / index.html.php
give / src / Onboarding / Setup / templates Last commit date
stories 5 years ago action-link.html 5 years ago dismiss.html 5 years ago footer.html 5 years ago index.html.php 5 years ago row-item.html 5 years ago section.html 5 years ago sub-header.html 5 years ago
index.html.php
309 lines
1 <div class="wrap" class="give-setup-page">
2
3 <h1 class="wp-heading-inline">
4 <?php echo __( 'GiveWP Setup Guide', 'give' ); ?>
5 </h1>
6
7 <hr class="wp-header-end">
8
9 <?php if ( isset( $_GET['give_setup_stripe_error'] ) ) : ?>
10 <div class="notice notice-error">
11 <p><?php echo esc_html( $_GET['give_setup_stripe_error'] ); ?></p>
12 </div>
13 <?php endif; ?>
14
15 <!-- Configuration -->
16 <?php
17 echo $this->render_template(
18 'section',
19 [
20 'title' => sprintf( '%s 1: %s', __( 'Step', 'give' ), __( 'Create your first donation form', 'give' ) ),
21 'badge' => '<span class="badge badge-review">5 Minutes</span>',
22 'contents' => $this->render_template(
23 'row-item',
24 [
25 'class' => ( $this->isFormConfigured() ) ? 'setup-item-configuration setup-item-completed' : 'setup-item-configuration',
26 'icon' => ( $this->isFormConfigured() )
27 ? $this->image( 'check-circle.min.png' )
28 : $this->image( 'configuration@2x.min.png' ),
29 'icon_alt' => esc_html__( 'First-Time Configuration', 'give' ),
30 'title' => esc_html__( 'First-Time Configuration', 'give' ),
31 'description' => esc_html__( 'Every fundraising campaign begins with a donation form. Click here to create your first donation form in minutes. Once created you can use it anywhere on your website.', 'give' ),
32 'action' => $this->render_template(
33 'action-link',
34 [
35 'href' => admin_url( '?page=give-onboarding-wizard' ),
36 'screenReaderText' => 'Configure GiveWP',
37 ]
38 ),
39 ]
40 ),
41 ]
42 );
43 ?>
44
45 <!-- Gateways -->
46 <?php
47 echo $this->render_template(
48 'section',
49 [
50 'title' => sprintf( '%s 2: %s', __( 'Step', 'give' ), __( 'Connect a payment gateway', 'give' ) ),
51 'contents' => [
52 ! $this->isStripeSetup() ? $this->render_template(
53 'row-item',
54 [
55 'class' => ( $this->isPayPalSetup() ) ? 'paypal setup-item-completed' : 'paypal',
56 'icon' => ( $this->isPayPalSetup() )
57 ? $this->image( 'check-circle.min.png' )
58 : $this->image( 'paypal@2x.min.png' ),
59 'icon_alt' => esc_html__( 'PayPal', 'give' ),
60 'title' => esc_html__( 'Connect to PayPal', 'give' ),
61 'description' => esc_html__( 'PayPal is synonymous with nonprofits and online charitable gifts. It\'s been the go-to payment merchant for many of the world\'s top NGOs. Accept PayPal, credit and debit cards without any added platform fees.', 'give' ),
62 'action' => sprintf(
63 '<a href="%1$s"><i class="fab fa-paypal"></i>&nbsp;&nbsp;%2$s</a>',
64 add_query_arg(
65 [
66 'post_type' => 'give_forms',
67 'page' => 'give-settings',
68 'tab' => 'gateways',
69 'section' => 'paypal',
70 'group' => 'paypal-commerce',
71 ],
72 esc_url_raw( admin_url( 'edit.php' ) )
73 ),
74 ! $this->isPayPalSetup() ? esc_html__( 'Connect to PayPal', 'give' ) : esc_html__( 'PayPal Settings', 'give' )
75 ),
76 ]
77 ) : '',
78 ! $this->isPayPalSetup() ? $this->render_template(
79 'row-item',
80 [
81 'class' => ( $this->isStripeSetup() ) ? 'stripe setup-item-completed' : 'stripe',
82 'icon' => ( $this->isStripeSetup() )
83 ? $this->image( 'check-circle.min.png' )
84 : $this->image( 'stripe@2x.min.png' ),
85 'icon_alt' => esc_html__( 'Stripe', 'give' ),
86 'title' => esc_html__( 'Connect to Stripe', 'give' ),
87 'description' => esc_html__( 'Stripe is one of the most popular payment gateways, and for good reason! Receive one-time and Recurring Donations (add-on) using many of the most popular payment methods. Note: the FREE version of Stripe includes an additional 2% fee for processing one-time donations. Remove the fee by installing and activating the premium Stripe add-on.', 'give' ),
88 'action' => ( $this->isStripeSetup() ) ? sprintf(
89 '<a href="%s"><i class="fab fa-stripe-s"></i>&nbsp;&nbsp;Stripe Settings</a>',
90 add_query_arg(
91 [
92 'post_type' => 'give_forms',
93 'page' => 'give-settings',
94 'tab' => 'gateways',
95 'section' => 'stripe-settings',
96 ],
97 esc_url_raw( admin_url( 'edit.php' ) )
98 )
99 )
100 : sprintf(
101 '<a href="%s"><i class="fab fa-stripe-s"></i>&nbsp;&nbsp;Connect to Stripe</a>',
102 $this->stripeConnectURL()
103 ),
104 ]
105 ) : '',
106 ],
107 'footer' => $this->render_template(
108 'footer',
109 [
110 'contents' => sprintf(
111 __( 'Want to use a different gateway? GiveWP has support for many others including Authorize.net, Square, Razorpay and more! %s', 'give' ),
112 sprintf(
113 '<a href="%s" target="_blank">%s <i class="fa fa-chevron-right" aria-hidden="true"></i></a>',
114 'http://docs.givewp.com/payment-gateways', // UTM included.
115 __( 'View all gateways', 'give' )
116 )
117 ),
118 ]
119 ),
120 ]
121 );
122 ?>
123
124 <!-- Resources -->
125 <?php
126 echo $this->render_template(
127 'section',
128 [
129 'title' => sprintf( '%s 3: %s', __( 'Step', 'give' ), __( 'Level up your fundraising', 'give' ) ),
130 'contents' => [
131 ! empty( $settings['addons'] ) ? $this->render_template(
132 'sub-header',
133 [
134 'text' => 'Based on your selections, Give recommends the following add-ons to support your fundraising.',
135 ]
136 ) : '',
137 in_array( 'recurring-donations', $settings['addons'] ) ? $this->render_template(
138 'row-item',
139 [
140 'class' => 'setup-item-recurring-donations',
141 'icon' => $this->image( 'recurring-donations@2x.min.png' ),
142 'icon_alt' => __( 'Recurring Donations', 'give' ),
143 'title' => __( 'Recurring Donations', 'give' ),
144 'description' => __( 'The Recurring Donations add-on for GiveWP brings you more dependable payments by allowing your donors to give regularly at different time intervals. Let your donors choose how often they give and how much. Manage your subscriptions, view specialized reports, and connect more strategically with your recurring donors.', 'give' ),
145 'action' => $this->render_template(
146 'action-link',
147 [
148 'target' => '_blank',
149 'href' => 'http://docs.givewp.com/setup-recurring', // UTM included.
150 'screenReaderText' => __( 'Learn more about Recurring Donations', 'give' ),
151 ]
152 ),
153 ]
154 ) : '',
155 in_array( 'donors-cover-fees', $settings['addons'] ) ? $this->render_template(
156 'row-item',
157 [
158 'class' => 'setup-item-fee-recovery',
159 'icon' => $this->image( 'fee-recovery@2x.min.png' ),
160 'icon_alt' => __( 'Fee Recovery', 'give' ),
161 'title' => __( 'Fee Recovery', 'give' ),
162 'description' => __( 'Credit Card processing fees can take away a big chunk of your donations. This means less money goes to your cause. Why not ask your donors to further help your cause by asking them to take care of the payment processing fees? That’s where the Fee Recovery add-on comes into play.', 'give' ),
163 'action' => $this->render_template(
164 'action-link',
165 [
166 'target' => '_blank',
167 'href' => 'http://docs.givewp.com/setup-fee-recovery', // UTM included.
168 'screenReaderText' => __( 'Learn more about Fee Recovery', 'give' ),
169 ]
170 ),
171 ]
172 ) : '',
173 in_array( 'pdf-receipts', $settings['addons'] ) ? $this->render_template(
174 'row-item',
175 [
176 'class' => 'setup-item-pdf-receipts',
177 'icon' => $this->image( 'pdf-receipts@2x.min.png' ),
178 'icon_alt' => __( 'PDF Receipts', 'give' ),
179 'title' => __( 'PDF Receipts', 'give' ),
180 'description' => __( 'PDF Receipts makes it easy for your donors to print their tax deductible receipts by making PDF downloadable copies of them easily available. Donors can get a link to their receipt provided to them in the confirmation email, there is also a link in the donation confirmation screen, and a link in their Donation History page.', 'give' ),
181 'action' => $this->render_template(
182 'action-link',
183 [
184 'target' => '_blank',
185 'href' => 'http://docs.givewp.com/setup-pdf-receipts', // UTM included.
186 'screenReaderText' => __( 'Learn more about PDF Receipts', 'give' ),
187 ]
188 ),
189 ]
190 ) : '',
191 in_array( 'custom-form-fields', $settings['addons'] ) ? $this->render_template(
192 'row-item',
193 [
194 'class' => 'setup-item-form-fields-manager',
195 'icon' => $this->image( 'form-fields-manager@2x.min.png' ),
196 'icon_alt' => __( 'Form Field Manager', 'give' ),
197 'title' => __( 'Form Field Manager', 'give' ),
198 'description' => __( 'Form Field Manager (FFM) allows you to add and manage additional fields for your GiveWP donation forms using an intuitive drag-and-drop interface. Form fields include simple fields such as checkboxes, dropdowns, radios, and more. The more complex form fields that you can add are file upload fields, Rich text editors (TinyMCE), and the powerful Repeater field.', 'give' ),
199 'action' => $this->render_template(
200 'action-link',
201 [
202 'target' => '_blank',
203 'href' => 'http://docs.givewp.com/setup-ffm', // UTM included.
204 'screenReaderText' => __( 'Learn more about Form Field Manager', 'give' ),
205 ]
206 ),
207 ]
208 ) : '',
209 in_array( 'multiple-currencies', $settings['addons'] ) ? $this->render_template(
210 'row-item',
211 [
212 'class' => 'setup-item-currency-switcher',
213 'icon' => $this->image( 'currency-switcher@2x.min.png' ),
214 'icon_alt' => __( 'Currency Switcher', 'give' ),
215 'title' => __( 'Currency Switcher', 'give' ),
216 'description' => __( 'Allow your donors to switch to their currency of choice and increase your overall giving with the GiveWP Currency Switcher add-on. Select from an extensive list of currencies, set the currency based on your donor\'s location, pull from live exchange rates and more!', 'give' ),
217 'action' => $this->render_template(
218 'action-link',
219 [
220 'target' => '_blank',
221 'href' => 'http://docs.givewp.com/setup-currency-switcher', // UTM included.
222 'screenReaderText' => __( 'Learn more about Currency Switcher', 'give' ),
223 ]
224 ),
225 ]
226 ) : '',
227 in_array( 'dedicate-donations', $settings['addons'] ) ? $this->render_template(
228 'row-item',
229 [
230 'class' => 'setup-item-tributes',
231 'icon' => $this->image( 'tributes@2x.min.png' ),
232 'icon_alt' => __( 'Tributes', 'give' ),
233 'title' => __( 'Tributes', 'give' ),
234 'description' => __( 'Allow donors to give to your cause via customizable tributes like “In honor of,” “In memory of,” or any dedication you prefer. Send eCards and produce customizable mailable cards that your donors and their honorees will love.', 'give' ),
235 'action' => $this->render_template(
236 'action-link',
237 [
238 'target' => '_blank',
239 'href' => 'http://docs.givewp.com/setup-tributes', // UTM included.
240 'screenReaderText' => __( 'Learn more about Tributes', 'give' ),
241 ]
242 ),
243 ]
244 ) : '',
245 $this->render_template(
246 'row-item',
247 [
248 'class' => 'setup-item',
249 'icon' => $this->image( 'addons@2x.min.png' ),
250 'icon_alt' => esc_html__( 'Add-ons', 'give' ),
251 'title' => esc_html__( 'GiveWP Add-ons', 'give' ),
252 'description' => esc_html__( 'Make your fundraising even more effective with powerful add-ons like Recurring Donations, Fee Recovery, Google Analytics Donation Tracking, MailChimp, and much more. View our growing library of 35+ add-ons and extend your fundraising now.', 'give' ),
253 'action' => $this->render_template(
254 'action-link',
255 [
256 'target' => '_blank',
257 'href' => 'http://docs.givewp.com/setup-addons', // UTM included.
258 'screenReaderText' => __( 'View Add-ons for GiveWP', 'give' ),
259 ]
260 ),
261 ]
262 ),
263 ],
264 ]
265 );
266 ?>
267
268 <?php
269 echo $this->render_template(
270 'section',
271 [
272 'title' => __( 'Get the most out of GiveWP', 'give' ),
273 'contents' => [
274 $this->render_template(
275 'row-item',
276 [
277 'class' => 'setup-item',
278 'icon' => $this->image( 'givewp101@2x.min.png' ),
279 'icon_alt' => esc_html__( 'GiveWP Getting Started Guide', 'give' ),
280 'title' => esc_html__( 'GiveWP Getting Started Guide', 'give' ),
281 'description' => esc_html__( 'Start off on the right foot by learning the basics of the plugin and how to get the most out of it to further your online fundraising efforts.', 'give' ),
282 'action' => $this->render_template(
283 'action-link',
284 [
285 'target' => '_blank',
286 'href' => 'http://docs.givewp.com/getting-started', // UTM included.
287 'screenReaderText' => __( 'Learn more about GiveWP', 'give' ),
288 ]
289 ),
290 ]
291 ),
292 ],
293 ]
294 );
295 ?>
296
297 <?php
298 echo $this->render_template(
299 'dismiss',
300 [
301 'action' => admin_url( 'admin-post.php' ),
302 'nonce' => wp_nonce_field( 'dismiss_setup_page', $name = '_wpnonce', $referer = true, $echo = false ),
303 'label' => esc_html__( 'Dismiss Setup Screen', 'give' ),
304 ]
305 )
306 ?>
307
308 </div>
309