Created
February 18, 2014 18:31
-
-
Save tripflex/9076852 to your computer and use it in GitHub Desktop.
RCP Price Table Template for Jobify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2 style="margin-bottom: 0px;"> | |
<span class="rcp_price" rel="<?php echo esc_attr( $level->price ); ?>"> | |
<?php | |
if ($level->fee) { | |
$adjusted_price = (($level->price)+($level->fee)); | |
echo $adjusted_price > 0 ? rcp_currency_filter( $adjusted_price ) : __( 'free', 'jobify' ); | |
?> | |
</h2> | |
<small>*<?php echo rcp_currency_filter( $level->price ); ?> after first <?php echo $level->duration; ?> days.</small> | |
<?php | |
} else { | |
$adjusted_price = $level->price; | |
echo $adjusted_price > 0 ? rcp_currency_filter( $adjusted_price ) : __( 'free', 'jobify' ); | |
?> | |
</h2> | |
<?php | |
} | |
?> | |
</span> | |
</h2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment