Creating a custom content type listing in WordPress can be a breeze with the right tools. In this tutorial, we’ll walk you through the process using JetEngine and Elementor. We’ll cover everything from setting up your custom content type to creating a listing template.
Prerequisites
Make sure you have the following installed and activated:
Create a Custom Content Type (CCT)
Step 1: Activate Custom Content Types in JetEngine
- Navigate to JetEngine in your WordPress dashboard.
- Make sure “Custom Content Types” is enabled.
Step 2: Add a New Custom Content Type
- Click on “Add New” under Custom Content Types.
- Name it “Publications.”
- Configure the database table name (it’s usually created automatically).
Step 3: Configure Additional Settings
- Enable “Single Page” for the CCT.
- Under “Related Post Types,” choose “Post.”
Tip: This configuration optimizes web speed performance by storing meta fields in a specific database table.
Step 4: Add Meta Fields
- Add a field for “Publication Title” (Type: Text, Required: Yes).
- Add a field for “Publication Details” (Type: WYSIWYG).
- Add a field for “Publication Date” (Type: Date, Save as Timestamp: Yes).
- Add a field for “Author” (Type: Text).
- Add a field for “Language” (Type: Radio, Use Glossary: Yes).
- Add a field for “Cover Image” (Type: Media).
Populate Your Custom Content Type
Step 5: Add New Entries
- Navigate to “Publications” in the admin column.
- Click “Add New.”
- Fill in all the fields: Title, Details, Date, Author, Language, and Cover Image.
- Save and repeat for additional publications.
Create a Listing Template
Step 6: Navigate to Listings in JetEngine
- Go to JetEngine > Listings.
- Click “Add New.”
Step 7: Configure Listing Settings
- For “Listing Source,” choose “Custom Content Type.”
- Select “Publications” as the content type.
- Name the listing item “Publication CCT Template.”
- Choose Elementor as the page builder.
Step 8: Design the Listing Template in Elementor
- Add a dynamic image for the cover.
- Add dynamic fields for the title, author, date, and language.
- Customize the layout and styles as needed.
- Save the template.
Display the Listing on a Page
Step 9: Create a New Page
- Go to Pages > Add New.
- Name the page “Publications.”
- Use Elementor to design the page.
Step 10: Add the Listing Grid
- Drag and drop the “Listing Grid” widget onto the page.
- Select your previously created listing template.
- Publish the page.
Conclusion
You’ve successfully created a custom content type listing template using JetEngine and Elementor. This setup not only makes your website more organized but also optimizes it for better performance.