Widgets in Osclass provide a way to add dynamic content, localized text, or custom HTML to specific sections of a theme without modifying the core template files. Administrators can use widgets to insert additional content into predefined locations on their website.
Widgets are managed under Appearance > Widgets. Each theme defines its own widget locations, which are specified in the theme's index.php
file.
Available widget actions include:
Each Osclass theme includes predefined locations where widgets can be placed.
These locations vary depending on the theme but may include:
Administrators can customize widget content to match the site's branding and requirements. Customization options include:
Not all themes support widgets. If a theme does not include predefined widget locations, administrators will not be able to add or manage widgets for that theme. It is recommended to check the theme documentation before attempting to use widgets.
Widgets provide an easy way to enhance an Osclass website without modifying theme files. By using widgets effectively, administrators can customize page layouts, insert additional content, and improve user experience without requiring direct code changes.