Recommended number of categories should be under 600. There is no hard limit on number of categories, but you may start having performance issues or various issues with plugins and their settings.
This section allows you to manage, reorder, and configure categories and subcategories in Osclass. Categories help users browse and publish listings in a structured way, and can include specific settings such as expiration and price fields.
Categories management
Reordering Categories
Drag & Drop: You can drag and drop categories to rearrange their order. Subcategories appear under “parent” categories.
Expanding/Collapsing: To nest a category under another, expand that category (click “+”) before dragging the new one into it. Collapsed categories cannot accept new subcategories until expanded.
Parent Categories: By default, any category with at least one child is considered a “parent.” If parent categories cannot be selected by users for posting, this is controlled in Settings > General under “Parent categories”.
Editing Categories
Edit Link: Clicking Edit opens a form to modify category attributes (name, description, icon, color, etc.).
Category ID: Used internally by Osclass. You’ll see this displayed in the edit form as Edit category ID: X.
Category Configuration
Name & Description: Each category has a translatable name and an optional description.
Expiration Days: Controls how long listings in this category remain active. A value of 0 means no expiration.
Price Field: You can enable or disable the price field for this category. If turned off, users will not see a price field when publishing in that category.
Apply Changes to Children Categories: If the category has subcategories, you can propagate the current expiration and price field settings to its children.
Icon & Color: Lets you optionally assign an icon URL and a background color for visual distinction (used by some themes or plugins).
Enabling, Disabling, & Deleting
Enable/Disable: A category can be toggled on or off. Disabled categories (and their listings) become inaccessible on the front end.
Delete: Permanently removes a category and any listings within it. This action cannot be undone and requires confirmation.
After making changes, click Save to apply them. If you delete a category, all its associated listings are deleted as well. Always review category settings when reorganizing your site’s structure.