简体   繁体   English

如何在所有文章中添加内容标签(Joomla)

[英]How to add content tags in all articles (Joomla)

I have found a great plugin that sets Facebook comments on an article where you write down {fcomment}. 我发现了一个很棒的插件,可以在您写下{fcomment}的文章上设置Facebook评论。

The problem with this is that you have to manually put this in each article, what is time consuming work. 这样做的问题是,您必须手动将其放在每篇文章中,这是耗时的工作。

Is there a method to put specific content in header / footer (in this case {fcomment) that display Facebook comments) of each article? 是否有一种方法可以将特定内容放置在每篇文章的页眉/页脚(在本例中为显示Facebook评论的{fcomment)中?

Thanks 谢谢

Use ReReplacer and then match some part of the article html and add your custom tag, like: 使用ReReplacer ,然后匹配文章html的某些部分并添加您的自定义标签,例如:

Match: <span class="article_separator">&nbsp;</span>

Change to: {fcomment}<span class="article_separator">&nbsp;</span>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM