PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 3.16.3
GiveWP – Donation Plugin and Fundraising Platform v3.16.3
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 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 All 253 releases
give / templates / single-give-form.php
single-give-form.php
52 lines 976 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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