本文整理汇总了PHP中td_page_generator::wrap_no_row_with_bg_start方法的典型用法代码示例。如果您正苦于以下问题:PHP td_page_generator::wrap_no_row_with_bg_start方法的具体用法?PHP td_page_generator::wrap_no_row_with_bg_start怎么用?PHP td_page_generator::wrap_no_row_with_bg_start使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类td_page_generator
的用法示例。
在下文中一共展示了td_page_generator::wrap_no_row_with_bg_start方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: get_post_meta
---------------------------------------------------------------------------------------- */
if (!empty($post->ID)) {
//get the slide settings:
$td_homepage_loop_slide = get_post_meta($post->ID, 'td_homepage_loop_slide', true);
if (!empty($td_homepage_loop_slide['td_slide_limit'])) {
$td_slide_limit = $td_homepage_loop_slide['td_slide_limit'];
}
if (!empty($td_homepage_loop_slide['td_slide_background'])) {
$td_slide_background = $td_homepage_loop_slide['td_slide_background'];
}
if (!empty($td_homepage_loop_slide['td_slide_b_color']) and $td_homepage_loop_slide['td_slide_b_color'] != '#') {
$td_slide_b_color = $td_homepage_loop_slide['td_slide_b_color'];
}
}
if (empty($paged) or $paged < 2) {
echo td_page_generator::wrap_no_row_with_bg_start();
if (empty($paged) or $paged < 2) {
//show this only on the first page
?>
<div class="row-fluid">
<div class="span12 column_container">
<?php
echo td_global_blocks::get_instance('td_slide_big')->render(array('sort' => 'featured', 'hide_title' => 'hide_title', 'force_columns' => 3, 'limit' => $td_slide_limit));
?>
</div>
</div>
<?php
}
echo td_page_generator::wrap_no_row_with_bg_end();
/*
if (!empty($td_slide_background)) {