示例#1
0
echo esc_attr(get_audiotheme_gig_time('c'));
?>
" itemprop="startDate">
	<time class="dtstart" datetime="<?php 
echo esc_attr(get_audiotheme_gig_time('c'));
?>
">
		<?php 
echo esc_html(get_audiotheme_gig_time(get_option('date_format', 'M d, Y')));
?>
	</time>
</dd>


<?php 
if (audiotheme_gig_has_venue()) {
    ?>

	<dd class="gig-location location vcard" itemprop="location" itemscope itemtype="http://schema.org/EventVenue">
		<?php 
    the_audiotheme_venue_vcard(array('container' => '', 'show_name_link' => false, 'show_phone' => false, 'separator_country' => '/'));
    ?>
	</dd>

<?php 
}
?>

<?php 
the_audiotheme_gig_description('<dd class="gig-description" itemprop="description">', '</dd>');
示例#2
0
						<span class="audiotheme-gig-location"><?php 
        echo get_audiotheme_venue_location($gig->venue->ID);
        ?>
</span>

						<?php 
        the_audiotheme_gig_venue_link(array('before' => '<span class="audiotheme-gig-venue">', 'after' => '</span>', 'before_link' => '<span itemprop="name">', 'after_link' => '</span>'));
        ?>
					</p>

				<?php 
    }
    ?>

				<?php 
    the_audiotheme_gig_description('<div class="audiotheme-gig-note" itemprop="description">', '</div>');
    ?>

			</div><!-- /.gig-details -->

			<?php 
    if (audiotheme_gig_has_ticket_meta()) {
        ?>

				<div class="audiotheme-gig-meta-tickets" itemprop="offers" itemscope itemtype="http://schema.org/Offer">

					<?php 
        if ($gig_tickets_price = get_audiotheme_gig_tickets_price()) {
            ?>
						<span class="audiotheme-gig-tickets-price" itemprop="price"><?php 
            echo esc_html($gig_tickets_price);