By default, a Custom Content Type (CCT) does not include a single page. However, you can assign a single page to a CCT by connecting it with a new or existing Custom Post Type (CPT). Here’s how to set it up:
Enable Single Page for CCT:
Go to CCT General Settings and find the following options:
Has Single Page: Toggle this on to link the CCT to a CPT for single-page functionality. Additional settings will appear once this is enabled.
Related Post Type: Select a Custom Post Type from the dropdown to use as the single page for your CCT.
Title Field: Choose a field from your CCT’s meta fields (text or number only) that will populate the post’s title.
Content Field: Choose a field (text or number only) that will populate the post’s content area. Note that changes to the post content won’t affect the original CCT item field.
Note: This setup only applies to new CCT items, meaning a new post from the selected CPT will be created for each new CCT entry.
Alternative Approach with a Static Page:
If you prefer a custom solution, you can use the following steps to create a static page that will act as a single page for your CCT:
Step 1: Create a Static Page with a CCT Listing
Design a static page that will function as the single page for your CCT.
Add a CCT listing to the page, which will serve as the template for displaying individual items.
Step 2: Create a CCT Query
Set up a query for the CCT based on a Query Variable. This will allow you to dynamically display specific CCT items.
Step 3: Set Up a Dynamic Link for Redirection
In a separate CCT listing that will link to the single page, add a Dynamic Link widget.
In the widget’s settings:
Step 4: Enable Query Argument
Following this guide allows you to create a single page for CCT items, using either the built-in options or a custom setup.