- Section
- Troubleshooting: Missing Icons
- Spectra Patterns
- Contact Form 7: Multiple Column Fields
- Contact Form 7: Checkbox / Radio / Acceptance Control
- Unable To Style Contact Form 7
- Tab Index For Multiple Gravity Forms
- Getting Started With Spectra
- Exclude Heading From TOC
- Block Display Conditions
- Transparent / Sticky Header
- Change Site Logo
- Change Global Styles
- Disable Title on Posts & Pages
- Transparent / Sticky Header For Single Page / Post
- Change Header & Footer Patterns
- Custom / Google Fonts
- Reset Global Default Styling
- Manually Install Spectra One Via FTP
- Enable / Disable Header & Footer On Specific Pages / Posts
- Change Sidebar Contents
- FSE Templates & Template Parts
- Create Custom Front Page
- FAQ's
- Hide / Show Block Elements
- Group Blocks / Containers
- Clear Customizations
- Actual Predefined Font Sizes
- Make Changes To Single Pages
- Change Hero Section
- Install Spectra One
- Globally Change Width
- Sidebar: Page & Post
- FSE Stylebook
- Change Global Color Palette
- Customizing Block Styles
- Modify Patterns
- Change Sidebar Position For Pages & Posts
- Adding Dynamic SVG Color
- FSE Guide
- Editing Templates
- Change Favicon
- WooCommerce: Sticky Headers
- Google Analytics
- Create A Child Theme
- Translate Using WPML
- FSE Additional CSS
- Templates For Custom Post Types
- Custom Post Type Archive Template Using ACF
- Navigation Block
Creating and Managing Templates for Custom Post Types in Spectra One
With Spectra One’s Full Site Editing (FSE) capabilities, you can create and customize templates for your custom post types directly from the WordPress Site Editor.
This guide outlines the steps to create templates for custom post types and custom taxonomies.
How to Create and Manage Templates
You can follow below steps to create and customize templates for your custom post types directly from the WordPress Site Editor.
1. Open the Site Editor
In your WordPress admin area, navigate to Appearance > Editor. This will open the Full Site Editing (FSE) interface.
2. Create a New Template
In the Navigation Sidebar (the dark grey menu), select Templates.
Click on the plus icon (+) to add a new template. This action opens a scrollable modal window with a list of template options you can create.
Note: If a template for your custom post type or taxonomy already exists, it will not appear in this list. You would need to edit or delete the existing template.
3. Choose Template Type
Under this step, select Template Type. You can create the following types of templates:
- Single Item Template: A template for displaying individual items of the custom post type.
- Custom Post Type Archive: A template for listing all items of the custom post type.
- Custom Taxonomy Archive: A template for displaying items associated with a specific custom taxonomy.
Example – Single Item Template:
- Click on the “Single item: Book” option to create a template for individual book items.
- You will be prompted to choose between:
- For All Items: A template that applies to all items of the custom post type.
- For a Specific Item: A template for a particular item.
- If you select For a Specific Item, you will be presented with a list of saved items from your custom post type. Choose one to create a template specifically for that item.
For a better understanding, you can watch this video.
4. Design and Customize the Template
- After selecting the template type, you can use the block editor to design your template.
- Add and configure blocks to display content from your custom post type or taxonomy, such as Post Title, Post Content, and any custom fields using ACF blocks if available.
- In addition, you can customize the appearance of your template using the styling options available in the Site Editor.
5. Publish
Once you are satisfied with the design, publish the template. It will be applied to the specified custom post type or taxonomy items.
Using the Full Site Editing features of Spectra One, you can create and manage templates for your custom post types and taxonomies efficiently. This approach offers flexibility and control over how your content is presented.
We hope this document has been helpful. If you have any questions, please feel free to leave a comment below.
We don't respond to the article feedback, we use it to improve our support content.