array( 'name' => __( '内容', 'Bing' ), 'current' => true ),
'comments' => array( 'name' => __( '评论', 'Bing' ), 'disable' => post_password_required() || ( !comments_open() && get_comments_number() <= 0 ) ),
'related' => array( 'name' => __( '相关', 'Bing' ), 'disable' => !Bing_mpanel( 'related_posts' ) || get_post_type() != 'post' )
);
?>
display_name;
if( is_date() ){
if( is_day() )
$format = __( 'Y年m月d日', 'Bing' );
elseif( is_month() )
$format = __( 'Y年m月', 'Bing' );
else
$format = __( 'Y年', 'Bing' );
return get_the_date( $format );
}
if( is_404() )
return '404';
if( is_page() )
return get_the_title();
if( Bing_is_mobile_page_category() )
return __( '分类', 'Bing' );
if( Bing_is_mobile_page_about() )
return __( '关于', 'Bing' );
return get_bloginfo( 'name', 'display' );
}
if ( !function_exists( 'Bing_mobile_page_navi' ) ) :
/**
* 移动版分页导航
*/
function Bing_mobile_page_navi(){
if( !Bing_mpanel( 'ajax_load_page' ) )
return Bing_mobile_page_navi_button();
?>
0,
'title_li' => '',
'orderby' => 'count',
'order' => 'DESC'
) );
?>
Bing_mobile_menu_current(),
'mobile_title' => Bing_mobile_title(),
'mobile_return_show' => is_singular() && get_post_type() != 'page'
) );
}
add_filter( 'ajax_load_page_data', 'Bing_ajax_load_page_data_mobile' );
//End of page.