emails
2 years ago
global
6 years ago
receipt
7 years ago
single-give-form
6 years ago
email-login-form.php
6 years ago
history-donations.php
4 years ago
payment-processing.php
6 years ago
shortcode-donor-wall.php
7 months ago
shortcode-form-grid.php
4 months ago
shortcode-goal.php
10 months ago
shortcode-login.php
6 years ago
shortcode-profile-editor.php
6 years ago
shortcode-receipt.php
2 years ago
shortcode-register.php
8 years ago
shortcode-totals-progress.php
6 years ago
single-give-form.php
6 years ago
single-give-form.php
52 lines
| 1 | <?php |
| 2 | /** |
| 3 | * The Template for displaying all single Give Forms. |
| 4 | * |
| 5 | * Override this template by copying it to yourtheme/give/single-give-forms.php |
| 6 | * |
| 7 | * @package Give/Templates |
| 8 | * @version 1.0 |
| 9 | */ |
| 10 | |
| 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 12 | exit; // Exit if accessed directly. |
| 13 | } |
| 14 | |
| 15 | get_header(); |
| 16 | |
| 17 | /** |
| 18 | * Fires in single form template, before the main content. |
| 19 | * |
| 20 | * Allows you to add elements before the main content. |
| 21 | * |
| 22 | * @since 1.0 |
| 23 | */ |
| 24 | do_action( 'give_before_main_content' ); |
| 25 | |
| 26 | while ( have_posts() ) : |
| 27 | the_post(); |
| 28 | |
| 29 | give_get_template_part( 'single-give-form/content', 'single-give-form' ); |
| 30 | |
| 31 | endwhile; // end of the loop. |
| 32 | |
| 33 | /** |
| 34 | * Fires in single form template, after the main content. |
| 35 | * |
| 36 | * Allows you to add elements after the main content. |
| 37 | * |
| 38 | * @since 1.0 |
| 39 | */ |
| 40 | do_action( 'give_after_main_content' ); |
| 41 | |
| 42 | /** |
| 43 | * Fires in single form template, on the sidebar. |
| 44 | * |
| 45 | * Allows you to add elements to the sidebar. |
| 46 | * |
| 47 | * @since 1.0 |
| 48 | */ |
| 49 | do_action( 'give_sidebar' ); |
| 50 | |
| 51 | get_footer(); |
| 52 |