示例#1
0
pp_page_header();
?>



<section class="section clear columns-3 columns">

	<?php 
/**
 * Product information
 */
?>
	<div class="col left">
		<?php 
if (function_exists('pp_product_info')) {
    echo pp_product_info();
}
?>
	</div>
	
	<div class="primary col">
			<?php 
while (have_posts()) {
    the_post();
    ?>

				<article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class(array('box', 'product'));
示例#2
0
			<?php 
    echo $terms->post_title;
    ?>
		</h1>

		<?php 
    echo stripslashes(wpautop($terms->post_content, true));
    ?>
	</div>
	<?php 
}
?>

	<?php 
if (function_exists('pp_product_info')) {
    echo pp_product_info('right');
}
?>

	<?php 
/**
 * Show the shopping cart
 */
$cart_items = edd_get_cart_contents();
$cart_quantity = edd_get_cart_quantity();
$display = $cart_quantity > 0 ? '' : 'style="display:none;"';
if ($cart_items) {
    ?>
		<aside>
		<h2>Ready to purchase?</h2>
		<ul class="edd-cart">