Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
themes
/
profund
/
give
/
Editing: 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(); get_template_part('template-parts/site-header'); /** * Fires in single form template, before the main content. * * Allows you to add elements before the main content. * * @since 1.0 */ do_action( 'give_before_main_content' ); ?> <div class="row"> <div class="col-xs-12 col-sm-8"> <?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> <div class="col-xs-12 col-sm-4"> <aside class="sidebar main-sidebar give-sidebar"> <?php /** * Fires in single form template, on the sidebar. * * Allows you to add elements to the sidebar. * * @since 1.0 */ add_action( 'give_sidebar', function(){ give_get_template_part( 'single-give-form/sidebar' ); } ); do_action( 'give_sidebar' ); ?> </aside> </div> </div> <?php do_action( 'give_after_main_content' ); get_footer();
Save
Cancel