在主题文件 functions.php 中添加如下的代码: 效果如下:
[Read More...]-
WordPress添加BY-NC-SA授权协议
-
显示 WordPress 后台添加的ICP备案号
footer.php中添加一行代码 <a href=”http://www.miitbeian.gov.cn/” rel=”external nofollow
[Read More...] -
wordpress改变段间距
当前系统:CentOS6.5 64 当前网站:wordpress 当前主题:zalive 写完博客之后一看,这行间距大的吓人。找了很久都没发现可以更改的地方,所以只好自己动手改了。 //
[Read More...] -
WordPress的Twenty Seventeen主题在首页只显示文章摘要
找到\wp-content\themes\twentyseventeen\template-parts\post下的content.php文件第55行,代码如下: the_content( sprin
[Read More...]
热评文章