本文整理汇总了PHP中tribe_events_the_header_attributes函数的典型用法代码示例。如果您正苦于以下问题:PHP tribe_events_the_header_attributes函数的具体用法?PHP tribe_events_the_header_attributes怎么用?PHP tribe_events_the_header_attributes使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tribe_events_the_header_attributes函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: do_action
</h2>
<?php
do_action('tribe_events_after_the_title');
?>
<!-- Notices -->
<?php
tribe_the_notices();
?>
<!-- List Header -->
<?php
do_action('tribe_events_before_header');
?>
<div id="tribe-events-header" <?php
tribe_events_the_header_attributes();
?>
>
<!-- Header Navigation -->
<?php
do_action('tribe_events_before_header_nav');
?>
<?php
tribe_get_template_part('list/nav', 'header');
?>
<?php
do_action('tribe_events_after_header_nav');
?>
</div>
开发者ID:duongnguyen92,项目名称:tvd12v2,代码行数:31,代码来源:content.php
示例2: tribe_events_the_notices
<!-- 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>
<ul class="tribe-events-sub-nav">
<li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>«</span> %title%' ) ?></li>
<li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?></li>
</ul>
<!-- .tribe-events-sub-nav -->
</div>
<!-- #tribe-events-header -->
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- Event featured image, but exclude link -->
<?php echo tribe_event_featured_image( $event_id, 'full', false ); ?>
开发者ID:simple-beck,项目名称:project-gc,代码行数:29,代码来源:single-event.php
示例3: tribe_events_week_get_event_id
<div class="tribe-event-placeholder hentry vevent " data-event-id="<?php
tribe_events_week_get_event_id();
?>
"> </div>
<?php
} else {
$event = tribe_events_week_get_event();
?>
<div id="tribe-events-event-<?php
echo $event->ID;
?>
" class="<?php
echo tribe_events_event_classes();
?>
" <?php
tribe_events_the_header_attributes('week-all-day');
?>
>
<div>
<h3 class="entry-title summary"><a href="<?php
tribe_event_link($event);
?>
" class="url" rel="bookmark"><?php
echo $event->post_title;
?>
</a></h3>
<?php
tribe_get_template_part('pro/week/single-event', 'tooltip');
?>
</div>
</div>
开发者ID:Vinnica,项目名称:theboxerboston.com,代码行数:31,代码来源:single-event-allday.php
示例4: die
* @author Modern Tribe Inc.
*
*/
if (!defined('ABSPATH')) {
die('-1');
}
?>
<?php
$event = tribe_events_week_get_event();
?>
<div id="tribe-events-event-<?php
echo $event->ID;
?>
" <?php
tribe_events_the_header_attributes('week-hourly');
?>
class="<?php
tribe_events_event_classes();
?>
">
<div class="hentry vevent">
<h3 class="entry-title summary"><a href="<?php
tribe_event_link($event);
?>
" class="url" rel="bookmark"><?php
echo $event->post_title;
?>
</a></h3>
</div>
<?php
开发者ID:Vinnica,项目名称:theboxerboston.com,代码行数:31,代码来源:single-event-hourly.php
示例5: do_action
</h2>
<?php
do_action('tribe_events_after_the_title');
?>
<!-- Notices -->
<?php
tribe_events_the_notices();
?>
<!-- Calendar Header -->
<?php
do_action('tribe_events_before_header');
?>
<div id="tribe-events-header" <?php
tribe_events_the_header_attributes('week-header');
?>
>
<!-- Header Navigation -->
<?php
tribe_get_template_part('pro/week/nav', 'header');
?>
</div><!-- #tribe-events-header -->
<?php
do_action('tribe_events_after_header');
?>
<!-- Calendar Grid -->
<?php
开发者ID:Vinnica,项目名称:theboxerboston.com,代码行数:31,代码来源:content.php
注:本文中的tribe_events_the_header_attributes函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论