• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP tribe_the_next_event_link函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中tribe_the_next_event_link函数的典型用法代码示例。如果您正苦于以下问题:PHP tribe_the_next_event_link函数的具体用法?PHP tribe_the_next_event_link怎么用?PHP tribe_the_next_event_link使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了tribe_the_next_event_link函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: grve_print_header_item_event_navigation

/**
 * Prints Header navigation for single events
 */
function grve_print_header_item_event_navigation($element_class = "grve-nav-wrapper")
{
    echo '<div class="' . $element_class . '">';
    echo '  <ul class="grve-post-nav">';
    ?>
			<li class="grve-nav-right"><?php 
    echo tribe_the_next_event_link('<span class="grve-icon-nav-right"></span>');
    ?>
</li>
			<li><a href="<?php 
    echo tribe_get_events_link();
    ?>
" class="grve-icon-th-large grve-backlink"></a></li>
			<li class="grve-nav-left"><?php 
    echo tribe_the_prev_event_link('<span class="grve-icon-nav-left"></span>');
    ?>
</li>

		<?php 
    echo '  </ul>';
    echo '</div>';
}
开发者ID:poweronio,项目名称:mbsite,代码行数:25,代码来源:grve-events-calendar-functions.php


示例2: comments_template

    if (get_post_type() == TribeEvents::POSTTYPE && tribe_get_option('showComments', false)) {
        comments_template();
    }
    ?>
	<?php 
}
?>

	<!-- Event footer -->
	<div id="tribe-events-footer">
		<!-- Navigation -->
		<!-- Navigation -->
		<h3 class="tribe-events-visuallyhidden"><?php 
_e('Event Navigation', 'tribe-events-calendar');
?>
</h3>
		<ul class="tribe-events-sub-nav">
			<li class="tribe-events-nav-previous"><?php 
tribe_the_prev_event_link('<span>&laquo;</span> %title%');
?>
</li>
			<li class="tribe-events-nav-next"><?php 
tribe_the_next_event_link('%title% <span>&raquo;</span>');
?>
</li>
		</ul>
		<!-- .tribe-events-sub-nav -->
	</div>
	<!-- #tribe-events-footer -->

</div><!-- #tribe-events-content -->
开发者ID:h3rodev,项目名称:sometheme,代码行数:31,代码来源:single-event.php


示例3: tribe_events_single_event_meta

			/**
			 * The tribe_events_single_event_meta() function has been deprecated and has been
			 * left in place only to help customers with existing meta factory customizations
			 * to transition: if you are one of those users, please review the new meta templates
			 * and make the switch!
			 */
			if ( ! apply_filters( 'tribe_events_single_event_meta_legacy_mode', false ) ) {
				tribe_get_template_part( 'modules/meta' );
			} else {
				echo tribe_events_single_event_meta();
			}
			?>
			<?php do_action( 'tribe_events_single_event_after_the_meta' ) ?>
		</div> <!-- #post-x -->
		<?php if ( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( 'showComments', false ) ) comments_template() ?>
	<?php endwhile; ?>

	<!-- Event footer -->
	<div id="tribe-events-footer">
		<!-- 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>&laquo;</span> %title%' ) ?></li>
			<li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>&raquo;</span>' ) ?></li>
		</ul>
		<!-- .tribe-events-sub-nav -->
	</div>
	<!-- #tribe-events-footer -->

</div><!-- #tribe-events-content -->
开发者ID:simple-beck,项目名称:project-gc,代码行数:30,代码来源:single-event.php


示例4: comments_template

		<?php 
    if (get_post_type() == TribeEvents::POSTTYPE && tribe_get_option('showComments', false)) {
        comments_template();
    }
    ?>
	<?php 
}
?>

	<!-- Event footer -->
    <div id="tribe-events-footer">
		<!-- Navigation -->
		<!-- Navigation -->
		<h3 class="tribe-events-visuallyhidden"><?php 
_e('Event Navigation', 'tribe-events-calendar');
?>
</h3>
		<ul class="tribe-events-sub-nav">
			<li class="tribe-events-nav-previous"><?php 
tribe_the_prev_event_link('&laquo; %title%');
?>
</li>
			<li class="tribe-events-nav-next"><?php 
tribe_the_next_event_link('%title% &raquo;');
?>
</li>
		</ul><!-- .tribe-events-sub-nav -->
	</div><!-- #tribe-events-footer -->

</div><!-- #tribe-events-content -->
开发者ID:angelayunwu,项目名称:english-channel-wordpress-theme,代码行数:30,代码来源:single-event.php


示例5: comments_template

        }
        comments_template();
    }
    ?>
	<?php 
}
?>

	<!-- Event footer -->
	<div id="tribe-events-footer">
		<!-- 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('%title%');
?>
</li>
			<li class="tribe-events-nav-next"><?php 
tribe_the_next_event_link('%title%');
?>
</li>
		</ul>
		<!-- .tribe-events-sub-nav -->
	</div>
	<!-- #tribe-events-footer -->

</div><!-- #tribe-events-content -->
开发者ID:universal-youth,项目名称:www.universal-youth.com,代码行数:30,代码来源:single-event.php


示例6: tribe_the_prev_event_link

<span class="post-siblings">
	<?php 
if (is_singular('tribe_events') && function_exists('tribe_the_prev_event_link')) {
    tribe_the_prev_event_link($prev_anchor);
} else {
    previous_post_link('%link', $prev_anchor, $same_cat);
}
?>

	<?php 
if (!empty($view_all)) {
    ?>
		<a href="<?php 
    echo $view_all;
    ?>
" class="all-items"><?php 
    echo do_shortcode('[icon name="theme-grid"]');
    ?>
</a>
	<?php 
}
?>

	<?php 
if (is_singular('tribe_events') && function_exists('tribe_the_next_event_link')) {
    tribe_the_next_event_link($next_anchor);
} else {
    next_post_link('%link', $next_anchor, $same_cat);
}
?>
</span>
开发者ID:petrfaitl,项目名称:wordpress-event-theme,代码行数:31,代码来源:post-siblings-links.php


示例7: esc_url

		<!-- Navigation -->
	    <div class="tribe-events-back">
		      <a href="<?php 
echo esc_url(tribe_get_events_link());
?>
"> <?php 
printf('&laquo; ' . esc_html__('All %s', 'the-events-calendar'), $events_label_plural);
?>
</a>
		      <ul class="tribe-events-sub-nav">
			        <!--li class="tribe-events-nav-previous"><?php 
tribe_the_prev_event_link('<span>&laquo;</span> Date précédente');
?>
</li-->
			        <li class="tribe-events-nav-next"><?php 
tribe_the_next_event_link('Date suivante <span>&raquo;</span>');
?>
</li>
		      </ul>
	    </div>

		  <h3 class="tribe-events-visuallyhidden"><?php 
printf(esc_html__('%s Navigation', 'the-events-calendar'), $events_label_singular);
?>
</h3>
		<!-- .tribe-events-sub-nav -->
	</div>
	<!-- #tribe-events-footer -->

</div><!-- #tribe-events-content -->
开发者ID:gabriel-dehan,项目名称:erdf-sessions,代码行数:30,代码来源:single-event.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP tribe_the_prev_event_link函数代码示例发布时间:2022-05-23
下一篇:
PHP tribe_show_google_map_link函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap