Sammy30
10/6/2019 - 7:57 PM

funding_goal.php

<!--
ethis.co.id / httpdocs / wp-content / plugins / wp-crowdfunding / wpneotemplate / woocommerce / ethis / include / loop / funding_goal.php
-->

<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit; // Exit if accessed directly
}
global $post;
$funding_goal = get_post_meta($post->ID, '_nf_funding_goal', true);
?>
<div class="wpneo-funding-data">
	<div class="wpneo-funding-goal">
	    <div class="wpneo-meta-name"><?php _e('Gross Projected Returns', 'wp-crowdfunding') ?>
			<!-- based on <?php the_field('shariah_contract'); ?>--></div>
   		<div class="wpneo-meta-desc"><?php the_field('returns_pa'); ?>%</div>
	</div>	
	<div class="wpneo-funding-goal">
	    <div class="wpneo-meta-name"><?php _e('Duration', 'wp-crowdfunding') ?></div>
   		<div class="wpneo-meta-desc"><?php the_field('duration_e'); ?></div>
	</div>
	<div class="wpneo-funding-goal">
	    <div class="wpneo-meta-name"><?php _e('Goal', 'wp-crowdfunding'); ?></div>
   		<div class="wpneo-meta-desc"><?php echo wc_price( $funding_goal ); ?></div>
	</div>