获取网站标题

<?php echo get_bloginfo( 'name' ); ?>

要么

<?php echo get_bloginfo(); ?>

输出

Matt Mullenweg

基于这些样本设置

StackOverflow 文档