This guide explains how to set fixed positions for categories in Discourse, allowing you to manually order categories on your site.
Required user level: Administrator
Discourse typically orders categories based on activity, with the most recently active categories appearing at the top of your categories page and in the main navigation category dropdown. However, you can set fixed positions for your categories if you prefer a custom, static order. This guide will walk you through the process of enabling fixed category positions and reordering your categories.
Enabling fixed category positions
To set fixed positions for your categories, you need to adjust two site settings:
-
fixed category positions: This setting allows you to set a custom order for categories on the Categories page and in the main navigation dropdown. -
fixed category positions on create: This setting applies your custom category order to the category selector in the composer.
To enable these settings:
- Go to your siteâs Admin area.
- Navigate to Site Settings.
- In the search box, type âfixed category positionsâ to find the relevant settings.
- Enable the
fixed category positionssetting. - If desired, also enable the
fixed category positions on createsetting.
Reordering categories
Once youâve enabled the necessary settings, follow these steps to reorder your categories:
-
Ensure youâre logged in as an admin.
-
Go to your siteâs Categories page.
-
Click on the Categories admin dropdown menu.
-
Select the âReorder Categoriesâ option.
-
Use the Up and Down arrows to reorder your categories as desired.
-
Click the Save button to apply your changes.
You may need to perform a hard refresh of your browser window to see the updated order.
Results of reordering
After reordering, youâll see the new category order in several places:
-
On the Categories page
-
In the main navigation category dropdown
-
In the composerâs category selector (if you enabled
fixed category positions on create)
FAQs
Q: I donât see the âReorder Categoriesâ option in the dropdown menu. Why?
A: Make sure youâve enabled the fixed category positions setting in your site settings. This option will only appear once this setting is enabled.
Q: Do I need to enable both settings?
A: It depends on your needs. Enable fixed category positions if you want to set a custom order for the Categories page and main navigation dropdown. Additionally enable fixed category positions on create if you want this order to apply to the category selector in the composer as well.
Q: Why canât I see my changes after reordering?
A: Try clearing your browserâs cache. While it isnât usually necessary, it should resolve any issues with seeing the updated order.
Last edited by @hugh 2024-08-02T05:20:21Z
Last checked by @hugh 2024-08-02T05:20:27Z
Check document
Perform check on document:





