Skip to content

Instantly share code, notes, and snippets.

@tripflex
Created February 18, 2014 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tripflex/9076852 to your computer and use it in GitHub Desktop.
Save tripflex/9076852 to your computer and use it in GitHub Desktop.
RCP Price Table Template for Jobify
<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