Discourse Meta
在不同类别中展示不同的广告
开发
advertising
Windsooon
(Windson yang)
2020 年4 月 24 日 12:59
3
谢谢
@pfaffman
。我不太理解您的解决方案。您指的是:
创建三个具有不同类名(.first-ad、.second-ad、.third-ad)的广告,并将它们在所有三个分类中设置为可见。
自定义分类的 CSS 样式(我不确定具体如何操作),以便根据类名隐藏某些广告(如果我不想在分类 A 中显示第二个广告,我会在 CSS 样式中添加 .second-ad {disable: none})。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Per-category ads with official ad plugin
Feature
12
1071
2021 年4 月 19 日
Can ads be configured to not be shown on the categories page?
Support
advertising
1
124
2024 年11 月 26 日
Running your own advertisements in discourse
Support
3
303
2025 年4 月 14 日
House Ad Templates
Site Management
advertising
,
how-to
31
11260
2026 年1 月 8 日
House Ads in the official Ad Plugin
Announcements
advertising
152
21971
2024 年7 月 17 日