Current Path : /var/www/ooareogundevinitiative/wp-content/themes/pain/give/ |
Current File : /var/www/ooareogundevinitiative/wp-content/themes/pain/give/single-give-form.php |
<?php /** * The Template for displaying all single Give Forms. * * Override this template by copying it to yourtheme/give/single-give-forms.php * * @package Give/Templates * @version 1.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } get_header(); $jwstheme_options = $GLOBALS['jwstheme_options']; $tb_show_page_title = isset($jwstheme_options['tb_post_show_page_title']) ? $jwstheme_options['tb_post_show_page_title'] : 1; $tb_show_page_breadcrumb = isset($jwstheme_options['tb_post_show_page_breadcrumb']) ? $jwstheme_options['tb_post_show_page_breadcrumb'] : 1; $tb_post_show_post_nav = (int) isset($jwstheme_options['tb_post_show_post_nav']) ? $jwstheme_options['tb_post_show_post_nav']: 1; jwstheme_title_bar($tb_show_page_title, $tb_show_page_breadcrumb, $tb_post_show_post_nav); /** * Fires in single form template, before the main content. * * Allows you to add elements before the main content. * * @since 1.0 */ ?> <div class="main-content jw-donation-article"> <div class="row"> <div class="container"> <!-- Start Content --> <div class="col-md-9 content jw-donation"> <?php while ( have_posts() ) : the_post(); give_get_template_part( 'single-give-form/content', 'single-give-form' ); endwhile; // end of the loop. /** * Fires in single form template, after the main content. * * Allows you to add elements after the main content. * * @since 1.0 */ ?> </div> <!-- End Content --> <!-- Start Right Sidebar --> <div class="col-md-3 sidebar-right"> <?php if (is_active_sidebar('jwstheme-main-sidebar')) { dynamic_sidebar('jwstheme-main-sidebar'); } ?> </div> <!-- End Right Sidebar --> </div> </div> </div> <?php /** * Fires in single form template, on the sidebar. * * Allows you to add elements to the sidebar. * * @since 1.0 */ do_action( 'give_sidebar' ); get_footer();