本文整理汇总了PHP中tribe_events_the_notices函数的典型用法代码示例。如果您正苦于以下问题:PHP tribe_events_the_notices函数的具体用法?PHP tribe_events_the_notices怎么用?PHP tribe_events_the_notices使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tribe_events_the_notices函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tribe_get_events_link
<div id="tribe-events-content" class="tribe-events-single vevent hentry">
<p class="tribe-events-back">
<a href="<?php
echo tribe_get_events_link();
?>
"> <?php
_e('« All Events', 'tribe-events-calendar');
?>
</a>
</p>
<!-- Notices -->
<?php
tribe_events_the_notices();
?>
<!-- Event featured image, but exclude link -->
<?php
echo tribe_event_featured_image($event_id, 'full', false);
?>
<?php
the_title('<h2 class="border-title"><span>', '</span></h2>');
?>
<div class="tribe-events-schedule updated published tribe-clearfix">
<?php
echo tribe_events_event_schedule_details($event_id, '<h3>', '</h3>');
?>
示例2: tribe_get_event_label_singular
$events_label_singular = tribe_get_event_label_singular();
$events_label_plural = tribe_get_event_label_plural();
$event_id = get_the_ID();
?>
<div id="tribe-events-content" class="tribe-events-single vevent hentry">
<p class="tribe-events-back">
<a href="<?php echo esc_url( tribe_get_events_link() ); ?>"> <?php printf( __( '« All %s', 'tribe-events-calendar' ), $events_label_plural ); ?></a>
</p>
<!-- Notices -->
<?php tribe_events_the_notices() ?>
<?php the_title( '<h2 class="tribe-events-single-event-title summary entry-title">', '</h2>' ); ?>
<div class="tribe-events-schedule updated published tribe-clearfix">
<?php echo tribe_events_event_schedule_details( $event_id, '<h3>', '</h3>' ); ?>
<?php if ( tribe_get_cost() ) : ?>
<span class="tribe-events-divider">|</span>
<span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span>
<?php endif; ?>
</div>
<!-- Event header -->
<div id="tribe-events-header" <?php tribe_events_the_header_attributes() ?>>
<!-- Navigation -->
<h3 class="tribe-events-visuallyhidden"><?php printf( __( '%s Navigation', 'tribe-events-calendar' ), $events_label_singular ); ?></h3>