# CMS Posttype

CMS Posttype is a powerful tool that allows you to create and manage custom Post Types within your CMS system. With this feature, you can:\
**Add new Post Types** tailored to your website's content.\
**Edit existing Post Types** to adjust them to your needs.\
**Customize data fields** (Custom Fields) for each Post Type.\
**Manage display settings** and URL structures for each Post Type.

***

## Manage Post Type

When you access the **CMS Posttype** page, a list of all existing Post Types will be displayed. Each Post Type includes the following details:

<table data-header-hidden><thead><tr><th width="193.99993896484375"></th><th></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Description</strong></td></tr><tr><td><strong>ID</strong></td><td>Unique identifier for the Post Type</td></tr><tr><td><strong>Name</strong></td><td>The name of the Post Type</td></tr><tr><td><strong>Slug (URL)</strong></td><td>The URL structure for the Post Type</td></tr><tr><td><strong>Languages</strong></td><td>The supported languages for the Post Type</td></tr><tr><td><strong>Status</strong></td><td>Indicates whether the Post Type is active or inactive</td></tr><tr><td><strong>Actions</strong></td><td>Options to edit, copy, or delete the Post Type</td></tr></tbody></table>

<figure><img src="/files/hRUsNgycQWK6VpgNQztN" alt=""><figcaption></figcaption></figure>

### **Available Actions for Each Post Type**

* **Change Status**: Toggle between **Active** and **Inactive**.
* **Edit**: Modify the existing Post Type details.
* **Copy**: Duplicate an existing Post Type to create a new one.
* **Delete**: Permanently remove the Post Type.

### **Step-by-Step Guide**

**Changing Status**

* Click on the **Status** toggle button next to the Post Type.
* The status will switch between **Active** (Show) and **Inactive** (Hidden).
* Inactive Post Types will not be available for content creation.

**Editing a Post Type**

* Click the **Edit** button next to the Post Type.
* Modify any details, including **Name, Slug, Languages, Custom Fields, or Categories**.
* Click **Save** to update the Post Type.

**Copying a Post Type**

* Click the **Copy** button next to a Post Type.
* A new Post Type will be created with the same settings.

**Deleting a Post Type**

* Click the **Delete** button next to a Post Type.
* Confirm the deletion in the pop-up warning.\
  **Note:** This action will permanently delete the Post Type and all related data.

***

## **How to Add a New Post Type**

#### **Access CMS Posttype**

* Log in to the CMS system.
* Navigate to **Posttype** in the admin menu.

#### **Click "Add New"**

* A configuration panel will appear with the following options:

<table data-header-hidden><thead><tr><th width="186.5999755859375"></th><th width="602.3997802734375"></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Description</strong></td></tr><tr><td><strong>Post Type Name</strong></td><td>Define the Post Type name</td></tr><tr><td><strong>Menu options</strong></td><td>Choose a options (e.g., Hide Menu, Root Menu, Child Menu, ...)</td></tr><tr><td><strong>Slug (URL)</strong></td><td>Define the URL path for the Post Type</td></tr><tr><td><strong>Languages</strong></td><td>Choose the available languages for this Post Type (en, vi, cn)</td></tr><tr><td><strong>Status</strong></td><td>Choose <strong>Active</strong> (Show) or <strong>Inactive</strong> (Hidden)</td></tr><tr><td><strong>Categories</strong></td><td>Allow custom terms such as: Search keywords, SEO title,...</td></tr><tr><td><strong>Custom Fields</strong></td><td>Add specific data fields for this Post Type</td></tr></tbody></table>

#### **Save and Activate**

* Click **Save** to complete the process.
* The new Post Type will now appear in the content management menu.

<figure><img src="/files/BfY0GCxuHw0mDDP2416C" alt=""><figcaption></figcaption></figure>

***

## **How to Edit a Post Type**

#### **Select the Post Type to Edit**

* Go to **CMS Posttype**.
* Choose the **Post Type** you want to edit.

#### **Modify the Details**

* You can change the **name, slug, menu options**, **languages** or **status**.
* If you need to add **Categories**, click **"Add Term"** and enter the required details.
* If you need to add **Custom Fields**, click **"Add Field"** and enter the required details.

#### **Save Changes**

* After making adjustments, click **Save** to update the Post Type.

<figure><img src="/files/zdo81pvkpluAd1giOwHl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cmsfullform.com/cms/posttype.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
