';
while ( have_posts() ) :
the_post();
Bing_posts_list_loop();
endwhile;
echo '';
Bing_page_navi( array(
'before' => '
'
) );
Bing_mobile_page_navi();
else:
?>
';
if ( is_home() ) {
_e( '这里什么都没有', 'Bing' );
echo '';
} elseif( is_search() ) {
_e( '没有搜索到任何结果', 'Bing' );
echo '';
} else {
_e( '这里什么都没有,你也许可以使用搜索功能找到你需要的内容:', 'Bing' );
echo '';
get_search_form();
}
?>
>
have_posts() ):
echo '';
else:
?>
>
',
esc_url( $url ),
esc_attr( $width ),
esc_attr( $height ),
$title_attribute,
$title_attribute
);
if ( $link )
$code = sprintf(
'%s',
esc_url( get_permalink() ),
$title_attribute,
$code
);
return $code;
}
endif;
if ( !function_exists( 'Bing_post_meta' ) ) :
/**
* 文章信息
*/
function Bing_post_meta( $items = array( 'author', 'date', 'views' ) ){
$items = (array) $items;
if ( empty( $items ) )
return;
echo '';
foreach ( $items as $item ) :
switch ( $item ) {
case 'author' :
?>
-
-
-
-
', ' ', '' );
break;
}
endforeach;
echo '
';
}
endif;
//End of page.