我是个十足的wordpress noob,遇到了我的第一个问题。我下载了this 主题
我的问题是如何改变p#logo.h1
显示。我想放一个<br />
在我的标题中间,还有一半在自定义中。
因此,标题的html应该类似于:
<p id="logo><h1>This is a<br /><span id="customtitle">Big title</span></h1></p>
我怎样才能改变这一点?我是个十足的wordpress noob,遇到了我的第一个问题。我下载了this 主题
我的问题是如何改变p#logo.h1
显示。我想放一个<br />
在我的标题中间,还有一半在自定义中。
因此,标题的html应该类似于:
<p id="logo><h1>This is a<br /><span id="customtitle">Big title</span></h1></p>
我怎样才能改变这一点?在标题中。php文件,替换此行:
<p id="logo" class="h1"><a href="<?php echo home_url(); ?>" rel="nofollow"><?php bloginfo(\'name\'); ?></a></p>
使用自定义行:<p id="logo><h1>This is a<br /><span id="customtitle">Big title</span></h1></p>
我在博客索引页面和分类页面的顶部显示一篇“特色”文章。我使用此条件来显示类别页面的类别名称(如果是类别页面),或者显示特色文章的一个类别标题(如果是在博客索引页面上):if( is_category() ): $category = strip_tags( single_cat_title() ); echo \'<div class=\"title main fs-45\">\' . $category .\'<span></span>&l