本文整理汇总了PHP中tribe_events_title函数的典型用法代码示例。如果您正苦于以下问题:PHP tribe_events_title函数的具体用法?PHP tribe_events_title怎么用?PHP tribe_events_title使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tribe_events_title函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sp_events_title
/**
* @deprecated
*/
function sp_events_title()
{
_deprecated_function(__FUNCTION__, '2.0', 'tribe_events_title()');
return tribe_events_title();
}
示例2: tribe_events_title
if (isset($attribs["credits"]) && strlen($attribs["credits"]) > 1) {
echo '<div class="caption">' . $attribs["credits"] . '</div>';
}
?>
</div>
</div>
<?php
}
?>
<div class="skin">
<?php
if (!(isset($image_url) && strlen($image_url) > 4)) {
?>
<h1 class="post-title"><span><?php
tribe_events_title();
?>
</span></h1>
<?php
}
?>
<?php
echo tribe_get_current_template();
?>
</div>
</div>
<div class="content-aside">
<div class="skin">
示例3: do_action
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
} ?>
<div id="tribe-events-content" class="tribe-events-month">
<!-- Notices -->
<?php //tribe_events_the_notices() ?>
<!-- Month Header -->
<?php do_action( 'tribe_events_before_header' ) ?>
<div id="tribe-events-header" <?php tribe_events_the_header_attributes() ?>>
<!-- Month Title -->
<?php do_action( 'tribe_events_before_the_title' ) ?>
<h2 class="tribe-events-page-title"><?php tribe_events_title() ?></h2>
<?php do_action( 'tribe_events_after_the_title' ) ?>
<!-- Header Navigation -->
<?php tribe_get_template_part( 'month/nav' ); ?>
</div>
<!-- #tribe-events-header -->
<?php do_action( 'tribe_events_after_header' ) ?>
<!-- Month Grid -->
<?php tribe_get_template_part( 'month/loop', 'grid' ) ?>
<!-- Month Footer -->
<?php do_action( 'tribe_events_before_footer' ) ?>
<div id="tribe-events-footer">