当前位置: 首页>>代码示例>>PHP>>正文


PHP tribe_events_the_notices函数代码示例

本文整理汇总了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('&laquo; 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>');
?>
开发者ID:h3rodev,项目名称:sometheme,代码行数:30,代码来源:single-event.php

示例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( __( '&laquo; 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>
开发者ID:simple-beck,项目名称:project-gc,代码行数:30,代码来源:single-event.php


注:本文中的tribe_events_the_notices函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。