Exemple #1
0
/**
 * The Template for displaying all single series
 */
get_header();
?>
	
<?php 
pp_page_header();
?>

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

	<div class="col left">
		<?php 
echo pp_single_post_type_info();
?>
	</div>
	
	<div class="primary col content-area">
			<?php 
while (have_posts()) {
    the_post();
    ?>
				<article id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class(array('box', 'post'));
    ?>
>
Exemple #2
0
/**
 * The Sidebar containing the main widget area
 *
 * @since 1.0
 */
$affiliate_area_id = function_exists('affiliate_wp') ? affiliate_wp()->settings->get('affiliates_page') : '';
?>

<div class="primary-sidebar widget-area col right" role="complementary">
	
	<?php 
/**
 * Post information
 */
echo pp_single_post_type_info('right');
?>

	<?php 
/**
 * Show the shopping cart
 */
$cart_items = function_exists('edd_get_cart_contents') ? edd_get_cart_contents() : '';
$cart_quantity = function_exists('edd_get_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">
			<?php