예제 #1
0
/**
 * Refund policy
 */
function affwp_refund_policy()
{
    ?>

<?php 
    affwp_page_header('30 Day Money Back Guarantee');
    ?>
	<div class="refund-policy">
		<div class="wrapper">


			<p>If you are unhappy with your purchase, or you have an issue that we are unable to resolve that makes the system unusable, we are more than happy to provide a complete refund within 30 days of your original purchase.</p>

			<p><a href="#refund-policy" class="popup-content" data-effect="mfp-move-from-bottom">View full refund policy</a></p>

			<a href="#refund-policy" class="popup-content" data-effect="mfp-move-from-bottom">
				<svg width="100px" height="91px" class="pulse animated infinite">
				   <use xlink:href="<?php 
    echo get_stylesheet_directory_uri() . '/images/svg-defs.svg#icon-heart';
    ?>
"></use>
				</svg>
			</a>



		</div>
	</div>

<?php 
}
예제 #2
0
<?php

/**
 * The Template for displaying all single posts
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */
get_header();
?>

<?php 
affwp_page_header();
?>

<section class="section columns-3 columns main">
	<div class="item left bdr">
		<?php 
echo get_avatar(get_the_author_meta('email'), '80');
?>
		<p>
		<span>Written by <?php 
the_author();
?>
</span>
		<?php 
if ('post' == get_post_type()) {
    ?>
			<?php 
    printf('<time datetime="%1$s">%2$s</time>', esc_attr(get_the_date('c')), esc_html(get_the_date()));
예제 #3
0
</section>
<?php 
}
?>

<?php 
$args = array('post_type' => 'download', 'posts_per_page' => -1, 'tax_query' => array(array('taxonomy' => 'download_category', 'field' => 'slug', 'terms' => '3rd-party')));
$wp_query = new WP_Query($args);
?>

<?php 
if ($wp_query->have_posts()) {
    ?>

<?php 
    affwp_page_header('3rd Party Add-ons', '<h2>Free or paid add-ons created by other developers</h2>');
    ?>
<section id="third-party-add-ons" class="section columns columns-3 grid product-grid">
<div class="wrapper">
	
	    <?php 
    while ($wp_query->have_posts()) {
        $wp_query->the_post();
        $coming_soon = affwp_addon_is_coming_soon(get_the_ID()) ? 'coming-soon' : '';
        ?>
  
	        <article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class(array('item', 'box', $coming_soon));
예제 #4
0
<?php

/**
 * Template Name: Pricing
 *
 */
get_header();
$professional_add_ons = affwp_get_pro_add_on_count();
$official_free_add_ons = affwp_get_add_on_count('official-free');
$third_party_add_ons = affwp_get_add_on_count('3rd-party');
?>

<?php 
affwp_page_header('30 Day Money Back Guarantee', '<h2>We stand behind our product 100% - <a href="#refund-policy" class="popup-content" data-effect="mfp-move-from-bottom">see our refund policy</a></h2>');
?>

<div class="primary content-area">
	<div class="wrapper">
		<?php 
// Start the Loop.
while (have_posts()) {
    the_post();
    // Include the page content template.
    get_template_part('content', 'page');
}
?>

		<?php 
affwp_pricing_options();
?>
예제 #5
0
파일: 404.php 프로젝트: companyjuice/theme
<?php

/**
 * 404 page
 */
get_header();
?>

<?php 
affwp_page_header('<h1>I tried my best</h1>', '<h2>Sorry, I just can\'t find that page</h2>');
?>

<img id="mascot-sad" alt="" src="<?php 
echo get_stylesheet_directory_uri() . '/images/alf-sad.png';
?>
">

<?php 
get_footer();