Remove unwanted elements from my discourse

AI-generated summary

Rithik_Kukreja wants to remove certain features from his Discourse page: Related Post suggestions and Pagination in mobile view. NateDhaliwal explains that the ‘Related Post’ feature is part of the ai plugin and can be disabled by turning off the ai_embeddings_semantic_related_topics_enabled setting. merefield clarifies that the pagination issue is actually a navigation control for posts, not true pagination, and suggests removing it via CSS but warns against it due to its utility for users. Moin adds that the ‘suggested topics’ feature can be configured or turned off using the site setting Suggested topics. More details on suggested topics can be found here.

I want to remove the following from the my discourse page:

  • Related Post (post suggestions below the post)
  • Pagination (When the post is opened…it shows in mobile view)

This is part of the ai plugin, you can disable the ai_embeddings_semantic_related_topics_enabled setting.

Sorry, could you clarify this? Thanks!

Look at the pages here [1/2]

That’s not pagination, Discourse doesn’t have that. That’s just a navigation control that tells you you are at Post #1 of 2 (in your example). Clicking it brings up a slider to move to a different part of the Topic.

Inspect the page in mobile view on desktop and remove it with some CSS if you like.

But this is a useful button, especially on longer Topics, so you should probably not hide as it will make it harder for your users to navigate.

While related topics are provided by the Discourse AI plugin as NateDhaliwal explained, there are also suggested topics, which show topics below a topic. There is a site setting Suggested topics that allows you to configure the number of topics shown. You can change it to 0.
You can learn more about suggested topics at Understanding suggested topics logic