这个区域的名称是什么,如何在此添加内容?

I don’t know what is name of this area and how can I add something as Sidebar Category or Google Adsense in this area?

Can you help me?

1 个赞

It’s called a ‘Sidebar’, that’s if it actually has an element there, which I don’t think Discourse does by default…

Have you seen the Discourse Sidebar Blocks Plugin?
It allows you to add a custom block of HTML to the sidebar.
Just install the plugin and create a block containing your AdSense code :slight_smile:

Thank you so much.

But “This plugin shows a list of blocks as a sidebar on all discovery list pages (latest, new, unread, categories but not on the single topic page”.

1 个赞

要让它在所有页面上生效,您很可能需要修改该插件。
不过,我想这可能是故意省略的。
或者,您可以尝试使用 Discourse Adsense 插件,并调整您的主题 CSS,使广告正确浮动。

1 个赞

it does, that’s where the post timeline appears. It isn’t visible in the screenshot because the topic linked is only one post long. This is how it looks the rest of the time:

Yes, that’s because the space is already used by Discourse for a fundamental navigation element. I would hope that your users being able to navigate a topic is more important than advertising real-estate.

4 个赞