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 自动在正文内容后添加内容》的一些看法。更多内容请查看本栏目更多内容!
明天在装置wordpress3.0.1的时分,写入数据库阶段时呈现了一大片谬误提醒信息: 复制代码代码如下:WordPres...
复制代码代码如下:add_filter( 'wp_handle_upload_prefilter', 'custom_upload_name' ); function custom...
不少冤家心愿在文章内容的两头拔出广告(集体以为这个对用户体验有点不太好),上面就来看看如何完成吧。 应...
阻拦英文渣滓评论 因为绝大少数的渣滓评论都是英文的,所以国际不少冤家在应用 Some Chinese Please 插件,...
复制代码代码如下: /* Theme Name: 这里填主题称号 Theme URI: 这里填主题引见的网址,没有就填你的博客网址...
WordPress在后盾编辑日志时编辑框左下角有一个字数统计,不过只显示在后盾,能不能在前台也加上文章字数统计...