當前位置: 首頁>>代碼示例>>PHP>>正文


PHP tribe_the_next_event_link函數代碼示例

本文整理匯總了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;未經允許,請勿轉載。