function insertFootNote($content) {
if(!is_feed() && !is_home()) {
$content.= "<p class='subscribe'>";
$content.= "<h4>Enjoyed this article?</h4>";
$content.= "<p>Subscribe to our <a href='http://feed.imbolo.com/'>RSS feed</a> and never miss a recipe!</p>";
$content.= "</p>";
}
return $content;
}
add_filter ('the_content', 'insertFootNote');
以上就是安达网络工作室关于《wordpress 自动在正文内容后添加内容》的一些看法。更多内容请查看本栏目更多内容!
在 WordPress 后盾,用户是依照用户名排序的,并且没有显示注册工夫,假如咱们心愿可以在后盾看到用户的注册...
很多冤家刚建设博客的时分都是采纳国际优秀的博客零碎:Z-BLOG,用一段工夫当时很多人都想转移到wordpress,...
comments_template()(获取评论模板) comments_template() 函数用来获取评论模板,普通只能用在文章或许页...
找到wp-includes/formatting.php文件中复制代码代码如下:// This is not a tag, nor is the texturization ...
七牛云存储是由七牛提供的在线存储效劳,经过云端接口向企业客户提供网上有限存储空间,和传统的云存储效劳...
民间引见: 1,经过插件能够创立adsense广告位。 2,能够间接经过工具在网管中心验证网站。 之前站长David...