PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 2.3.2
GiveWP – Donation Plugin and Fundraising Platform v2.3.2
4.17.0 4.16.9 4.16.8.1 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 All 256 releases
give / templates / single-give-form / content-single-give-form.php

content-single-give-form.php in GiveWP – Donation Plugin and Fundraising Platform 2.3.2, at templates/single-give-form/content-single-give-form.php

82 lines 1.6 KB
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 form content in the single-give-form.php template
4 *
5 * Override this template by copying it to yourtheme/give/single-give-form/content-single-give-form.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 /**
16 * Fires in single form template, before the form.
17 *
18 * Allows you to add elements before the form.
19 *
20 * @since 1.0
21 */
22 do_action( 'give_before_single_form' );
23
24 if ( post_password_required() ) {
25 echo get_the_password_form();
26 return;
27 }
28 ?>
29
30 <div id="give-form-<?php the_ID(); ?>-content" <?php post_class(); ?>>
31
32 <?php
33 /**
34 * Fires in single form template, before the form summary.
35 *
36 * Allows you to add elements before the form summary.
37 *
38 * @since 1.0
39 */
40 do_action( 'give_before_single_form_summary' );
41 ?>
42
43 <div class="<?php echo apply_filters( 'give_forms_single_summary_classes', 'summary entry-summary' ); ?>">
44
45 <?php
46 /**
47 * Fires in single form template, to the form summary.
48 *
49 * Allows you to add elements to the form summary.
50 *
51 * @since 1.0
52 */
53 do_action( 'give_single_form_summary' );
54 ?>
55
56 </div>
57 <!-- .summary -->
58
59 <?php
60 /**
61 * Fires in single form template, after the form summary.
62 *
63 * Allows you to add elements after the form summary.
64 *
65 * @since 1.0
66 */
67 do_action( 'give_after_single_form_summary' );
68 ?>
69
70 </div><!-- #give-form-<?php the_ID(); ?> -->
71
72 <?php
73 /**
74 * Fires in single form template, after the form.
75 *
76 * Allows you to add elements after the form.
77 *
78 * @since 1.0
79 */
80 do_action( 'give_after_single_form' );
81 ?>
82