Your IP : 216.73.217.152


Current Path : /home/icmq6107/clients/BUCODAC/wp-content/themes/alone/give/single-give-form/
Upload File :
Current File : /home/icmq6107/clients/BUCODAC/wp-content/themes/alone/give/single-give-form/content-style-1.php

<?php

$form_id = get_the_ID();

$featured_img_url = get_the_post_thumbnail_url(get_the_ID(),'full');

$bg_media = '';
if ( ! empty( $featured_img_url ) ) {
    $bg_media = 'background-image: url(' . esc_url( $featured_img_url ) . ')';
}

?>

<article id="post-<?php the_ID(); ?>" <?php post_class( 'give-form-wrap' ); ?>>

  <div class="give-header-ss" style="<?php echo esc_attr($bg_media); ?>">
    <div class="give-overlay"></div>

    <div class="container responsive">
      <div class="give-media-inner">
        <ul class="give-meta">
          <li class="give-published">
            <?php if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { ?>
              <?php echo alone_get_icon_svg( 'give-calendar', 16 ); ?>
              <time class="updated" datetime="<?php echo esc_attr( get_the_modified_date( DATE_W3C ) ); ?>"><?php echo get_the_modified_date(); ?></time>
            <?php } else { ?>
              <?php echo alone_get_icon_svg( 'give-calendar', 16 ); ?>
              <time class="give-date published" datetime="<?php echo esc_attr( get_the_date( DATE_W3C ) ); ?>"><?php echo get_the_date(); ?></time>
            <?php } ?>
          </li>
          <?php the_terms( $form_id, 'give_forms_category', '<li class="give-category">' . esc_html__('Project In: ', 'alone'), ',', '</li>' ); ?>
        </ul>

        <?php the_title( '<h1 class="give-title">', '</h1>' ); ?>

        <?php
    			if ( give_is_setting_enabled( get_post_meta( $form_id, '_give_goal_option', true ) ) ) {
              $args = array(
                'show_bar' => false
              );

    					give_show_goal_progress( $form_id, $args );
    			}
        ?>
      </div>
    </div>

  </div>

	<div class="give-content-ss">
    <div class="container responsive">
      <div class="give-content-wrap">
        <div class="give-content-col">
          <?php give_form_display_content( $form_id, $args = array() ); ?>

          <div class="give-form-content-footer">
            <?php the_terms( $form_id, 'give_forms_tag', '<div class="give-tag-links"><span>'. esc_html__('Tags: ', 'alone') .'</span>', '', '</div>' ); ?>

            <?php
    					/**
    					 * Hook: alone_entry_share_socials
    					 *
    					 * @hooked alone_share_socials_wrapper_start - 10
    					 * @hooked alone_share_socials_content - 20
    					 * @hooked alone_share_socials_wrapper_end - 40
    					 */
    					do_action( 'alone_entry_share_socials' );
    				?>
          </div>

        </div>

        <div class="give-form-col">
          <div class="give-form-box-wrap">
            <?php echo '<h2 class="give-form_title">' . esc_html__('Join Us', 'alone') . ' <span>' . esc_html__('We Need Your Help', 'alone') . '</span></h2>' ?>
            <?php alone_give_get_donation_form( $args = array() ); ?>
          </div>
        </div>
      </div>
    </div>
	</div>

</article>