---
title: Create a subtitle widget
slug: configured-commerce/docs/creating-a-sub-title-widget-in-classic
docTags: 
createdAt: 2026-08-13T10:46:32.000Z
---

:::hint{type="warning"}
**Important**

Classic CMS reached end-of-life in January 2025 and is no longer receiving feature updates or bug fixes. You should \[migrate to Spire CMS]\(../../End user docs/spire-cms/get-started-with-spire-cms/migrate-from-classic-cms-to-spire-cms.mdx).
:::

1. Create a new class and derive from **AbstractWidget**.
2. Add members to the class applicable for the custom widget. In this case, a string **Title** property.
3. Decorate the members with the corresponding attribute types. The **Title** property in this example is a textbox.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/wACx2p7KuNeCxv8L11CGA-20260805-191958.png)

4. Create a new folder with the same name as the widget in the **\[theme]/Content** folder.

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/JvP_zA7JylkNEZ8GOstj0-20260805-191958.png" size="30" width="240" height="635" isUploading="false" darkWidth="240" darkHeight="635" showCaption="false"}

5. Edit the markup in the view to display the widget.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/dS5dpkcypVNA0jI6rS6dj-20260722-174957.png "Content_Management_with_Widgets_31.png")
