本文整理匯總了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">