| 1 |
<?php |
| 2 |
|
| 3 |
// Exit if accessed directly. |
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; |
| 6 |
} |
| 7 |
|
| 8 |
/** |
| 9 |
* Challenge HTML template specific to Campaign Builder. |
| 10 |
* |
| 11 |
* @since 1.8.1.12 |
| 12 |
* @package Charitable |
| 13 |
*/ |
| 14 |
|
| 15 |
if ( ! \defined( 'ABSPATH' ) ) { |
| 16 |
exit; |
| 17 |
} |
| 18 |
|
| 19 |
?> |
| 20 |
<div class="charitable-onboarding-tooltips"> |
| 21 |
<div id="tooltip-content1"> |
| 22 |
<h3><?php esc_html_e( 'Name Your Campaign', 'charitable' ); ?></h3> |
| 23 |
<p><?php esc_html_e( 'Give your campaign a name so you can easily identify it.', 'charitable' ); ?></p> |
| 24 |
<button type="button" class="charitable-onboarding-step1-done charitable-onboarding-done-btn"><?php esc_html_e( 'Done', 'charitable' ); ?></button> |
| 25 |
</div> |
| 26 |
|
| 27 |
<div id="tooltip-content2"> |
| 28 |
<h3><?php esc_html_e( 'Select a Template', 'charitable' ); ?></h3> |
| 29 |
<p><?php esc_html_e( 'Build your campaign from scratch or use one of our pre-made templates.', 'charitable' ); ?></p> |
| 30 |
</div> |
| 31 |
|
| 32 |
<div id="tooltip-content3"> |
| 33 |
<p><?php esc_html_e( 'You can drag additional fields to add to your page. ', 'charitable' ); ?></p> |
| 34 |
<p><strong><?php esc_html_e( 'Recommended:', 'charitable' ); ?></strong> <?php esc_html_e( 'Usually found on all campaign pages.', 'charitable' ); ?></p> |
| 35 |
<p><strong><?php esc_html_e( 'Standard:', 'charitable' ); ?></strong> <?php esc_html_e( 'Common fields you can use if you need them.', 'charitable' ); ?></p> |
| 36 |
<p><strong><?php esc_html_e( 'Pro:', 'charitable' ); ?></strong> <?php esc_html_e( 'Advanced fields or fields offered by extensions.', 'charitable' ); ?></p> |
| 37 |
<button type="button" class="charitable-onboarding-step3-done charitable-onboarding-done-btn"><?php esc_html_e( 'Next', 'charitable' ); ?></button> |
| 38 |
</div> |
| 39 |
|
| 40 |
<div id="tooltip-content4"> |
| 41 |
<h3><?php esc_html_e( 'Save Your Campaign', 'charitable' ); ?></h3> |
| 42 |
<p><?php esc_html_e( 'Save your campaign progress at any time.', 'charitable' ); ?></p> |
| 43 |
<button type="button" class="charitable-onboarding-step4-done charitable-onboarding-done-btn"><?php esc_html_e( 'Next', 'charitable' ); ?></button> |
| 44 |
</div> |
| 45 |
|
| 46 |
<div id="tooltip-content5"> |
| 47 |
<h3><?php esc_html_e( 'Publish Your Campaign', 'charitable' ); ?></h3> |
| 48 |
<p><?php esc_html_e( 'When you\'re ready, launch your campaign and start raising funds.', 'charitable' ); ?></p> |
| 49 |
<button type="button" class="charitable-onboarding-step5-done charitable-onboarding-done-btn"><?php esc_html_e( 'Next', 'charitable' ); ?></button> |
| 50 |
</div> |
| 51 |
|
| 52 |
<div id="tooltip-content6"> |
| 53 |
<h3><?php esc_html_e( 'Preview and View', 'charitable' ); ?></h3> |
| 54 |
<p><?php esc_html_e( 'See how your campaign will look before saving. You can also check out your campaign once it\'s live.', 'charitable' ); ?></p> |
| 55 |
<button type="button" class="charitable-onboarding-step6-done charitable-onboarding-done-btn"><?php esc_html_e( 'Next', 'charitable' ); ?></button> |
| 56 |
</div> |
| 57 |
|
| 58 |
<div id="tooltip-content7"> |
| 59 |
<h3><?php esc_html_e( 'Embed', 'charitable' ); ?></h3> |
| 60 |
<p><?php esc_html_e( 'Add a campaign to a new or existing page with our embed wizard, or use the shortcode provided.', 'charitable' ); ?></p> |
| 61 |
<button type="button" class="charitable-onboarding-step7-done charitable-onboarding-done-btn"><?php esc_html_e( 'Next', 'charitable' ); ?></button> |
| 62 |
</div> |
| 63 |
|
| 64 |
<div id="tooltip-content8"> |
| 65 |
<h3><?php esc_html_e( 'Settings', 'charitable' ); ?></h3> |
| 66 |
<p><?php esc_html_e( 'Customize campaign details and preferences. Add donation goals, end dates, suggested amounts, and more.', 'charitable' ); ?></p> |
| 67 |
<button type="button" class="charitable-onboarding-step8-done charitable-onboarding-done-btn"><?php esc_html_e( 'Next', 'charitable' ); ?></button> |
| 68 |
</div> |
| 69 |
|
| 70 |
</div> |
| 71 |
|
| 72 |
|
| 73 |
<div class="charitable-onboarding-popup-container"> |
| 74 |
<div id="charitable-onboarding-welcome-builder-popup" class="charitable-onboarding-popup charitable-onboarding-popup-plain"> |
| 75 |
<div class="charitable-onboarding-popup-content"> |
| 76 |
<h3><?php esc_html_e( 'Welcome to the Campaign Builder!', 'charitable' ); ?></h3> |
| 77 |
<p><?php esc_html_e( 'This is where you build, manage, and add features to your campaigns. The following steps will walk you through essential areas.', 'charitable' ); ?></p> |
| 78 |
<button type="button" class="charitable-onboarding-popup-btn"><?php esc_html_e( 'Let’s Go!', 'charitable' ); ?></button> |
| 79 |
</div> |
| 80 |
</div> |
| 81 |
<div id="charitable-onboarding-goodbye-builder-popup" class="charitable-onboarding-popup charitable-onboarding-popup-plain"> |
| 82 |
<div class="charitable-onboarding-popup-content"> |
| 83 |
<h3><?php esc_html_e( 'We hope you enjoyed the tour!', 'charitable' ); ?></h3> |
| 84 |
<p> |
| 85 |
<?php |
| 86 |
// translators: %1$s is the link to the getting started guide, %2$s is the link to the documentation, %3$s is the link to the support page. |
| 87 |
printf( |
| 88 |
wp_kses( |
| 89 |
// translators: %1$s is the link to the getting started guide, %2$s is the link to the documentation, %3$s is the link to the support page. |
| 90 |
__( 'Remember that you can view our <a href="%1$s" target="_blank">getting started guide</a>, read our <a href="%2$s" target="_blank">documentation</a>, or <a href="%3$s" target="_blank">reach out to us</a> for support if you have any questions.', 'charitable' ), |
| 91 |
array( |
| 92 |
'a' => array( |
| 93 |
'href' => array(), |
| 94 |
'target' => array(), |
| 95 |
), |
| 96 |
) |
| 97 |
), |
| 98 |
esc_url( 'https://wpcharitable.com/getting-started' ), |
| 99 |
esc_url( 'https://wpcharitable.com/documentation' ), |
| 100 |
esc_url( 'https://wpcharitable.com/support' ) |
| 101 |
); |
| 102 |
?> |
| 103 |
</p> |
| 104 |
<button type="button" class="charitable-onboarding-popup-btn"><?php esc_html_e( 'Get Started!', 'charitable' ); ?></button> |
| 105 |
</div> |
| 106 |
</div> |
| 107 |
</div> |
| 108 |
|