* @ version		EE4+
 */
get_header();
?>

	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
		
			<div id="espresso-event-details-wrap-dv" class="">
				<div id="espresso-event-details-dv" class="" >				
			<?php 
// Start the Loop.
while (have_posts()) {
    the_post();
    //  Include the post TYPE-specific template for the content.
    espresso_get_template_part('content', 'espresso_events');
    // If comments are open or we have at least one comment, load up the comment template.
    if (comments_open() || get_comments_number()) {
        comments_template();
    }
}
?>
				</div>
			</div>

		</div><!-- #content -->
	</div><!-- #primary -->

<?php 
get_sidebar('content');
get_sidebar();
Ejemplo n.º 2
0
    if (is_day()) {
        printf(__('Today\'s Events: %s', 'event_espresso'), get_the_date());
    } elseif (is_month()) {
        printf(__('Events This Month: %s', 'event_espresso'), get_the_date(_x('F Y', 'monthly archives date format', 'event_espresso')));
    } elseif (is_year()) {
        printf(__('Events This Year: %s', 'event_espresso'), get_the_date(_x('Y', 'yearly archives date format', 'event_espresso')));
    } else {
        echo apply_filters('FHEE__archive_espresso_events_template__upcoming_events_h1', __('Upcoming Events', 'event_espresso'));
        echo is_tax('espresso_event_categories') ? single_term_title(' ' . __('in', 'event_espresso') . ' ', false) : '';
    }
    ?>
		</h1>
	</header><!-- .page-header -->
	
	<?php 
    // allow other stuff
    do_action('AHEE__archive_espresso_events_template__before_loop');
    // Start the Loop.
    while (have_posts()) {
        the_post();
        // Include the post TYPE-specific template for the content.
        espresso_get_template_part('content/espresso/content', 'espresso_events');
    }
    // Previous/next page navigation.
    espresso_pagination();
    // allow moar other stuff
    do_action('AHEE__archive_espresso_events_template__after_loop');
} else {
    // If no content, include the "No posts found" template.
    espresso_get_template_part('content', 'none');
}
Ejemplo n.º 3
0
 * @ version		EE4+
 */
get_header();
genesis_do_breadcrumbs();
?>

	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
		
			<div id="espresso-venue-details-wrap-dv" class="">
				<div id="espresso-venue-details-dv" class="" >				
			<?php 
// Start the Loop.
while (have_posts()) {
    the_post();
    //  Include the post TYPE-specific template for the content.
    espresso_get_template_part('content', 'espresso_venues');
    // If comments are open or we have at least one comment, load up the comment template.
    if (comments_open() || get_comments_number()) {
        comments_template();
    }
}
?>
				</div>
			</div>

		</div><!-- #content -->
	</div><!-- #primary -->

<?php 
get_footer();
<?php

/**
 * Template Name: Event List
 *
 * This template will display a list of your events 
 *
 * @ package		Event Espresso
 * @ author		Seth Shoultes
 * @ copyright	(c) 2008-2014 Event Espresso  All Rights Reserved.
 * @ license		http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
 * @ link			http://www.eventespresso.com
 * @ version		EE4+
 */
get_header();
?>

	<section id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
			<?php 
espresso_get_template_part('loop', 'espresso_events');
?>
			
		</div><!-- #content -->
	</section><!-- #primary -->

<?php 
get_sidebar('content');
get_sidebar();
get_footer();
/**
 * Template Name: Venue List
 *
 * This is template will display a list of your event venues 
 *
 * Event Registration and Management Plugin for WordPress
 *
 * @ package		Event Espresso
 * @ author		Seth Shoultes
 * @ copyright	(c) 2008-2014 Event Espresso  All Rights Reserved.
 * @ license		http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
 * @ link			http://www.eventespresso.com
 * @ version		EE4+
 */
get_header();
?>

	<section id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
			<?php 
espresso_get_template_part('loop', 'espresso_venues');
?>
			
		</div><!-- #content -->
	</section><!-- #primary -->

<?php 
get_sidebar('content');
get_sidebar();
get_footer();
			</h1>
			<?php 
if (has_excerpt($post->ID)) {
    the_excerpt();
}
?>
		</header>
	</div>
	
	<div class="espresso-venue-wrapper-dv">
	
		<?php 
espresso_get_template_part('content', 'espresso_venues-details');
?>
		<?php 
espresso_get_template_part('content', 'espresso_venues-location');
?>

		<footer class="venue-meta">
			<?php 
do_action('AHEE__content_espresso_venues_template__footer_top', $post);
?>
			<?php 
do_action('AHEE__content_espresso_venues_template__footer_bottom', $post);
?>
		</footer>
		
	</div>
	
</article>
<!-- #post -->
	
<?php 
} elseif (is_archive()) {
    ?>

	<div id="espresso-venue-header-dv-<?php 
    echo $post->ID;
    ?>
" class="espresso-venue-header-dv">
		<?php 
    espresso_get_template_part('content/espresso/content', 'espresso_venues-thumbnail');
    ?>
		<?php 
    espresso_get_template_part('content/espresso/content', 'espresso_venues-header');
    ?>
	</div>
	
	<div class="espresso-venue-wrapper-dv">
		<?php 
    espresso_get_template_part('content/espresso/content', 'espresso_venues-details');
    ?>
	</div>

<?php 
}
?>
	
</article>
<!-- #post -->
<?php 
do_action('AHEE__content_espresso_venues_template__after_post', $post);