调整wordpress标题顺序使文章标题在前
2012年3月20日
没有评论
重新装完后,忘了如何调整标题顺序,留个记号以便以后使用。 在header.php里找到 <title> </title>这一段 把 echo wwwinfo(‘name’); echo wp_title(‘–’); 换成 wp_title(‘ – ‘, ‘echo’, ‘right’); echo wwwinfo(‘name’); 有分页的可以换成如下这种: <title><?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; wp_title( '|', true, 'right' ); // Add the www name. wwwinfo( 'name' ); // Add the www description for the home/front page. $site_descr...