我想了解《二十一世纪》的标题页是如何工作的。。sprintf(\\uuu(\'Page%s\',\'twententen\'),最大($paged,$Page));
我不理解上面的部分,因为在函数中,参数是$text和$domain什么是$domain以及%s print的编号如何。下面是完整的标题代码谢谢
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( \'|\', true, \'right\' );
// Add the blog name.
bloginfo( \'name\' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( \'description\', \'display\' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo \' | \' . sprintf( __( \'Page %s\', \'twentyten\' ), max( $paged, $page ) );
?></title>