support.cubewp.com support.cubewp.com
  • Helpdesk
  • Support Forum
Get CubeWP
support.cubewp.com support.cubewp.com
Get CubeWP
support.cubewp.com
  • Helpdesk
  • Support Forum

Docy

CubeWP Framework

  • getting startGetting Started
    • Introduction
    • Installation
    • Support
    • Billing
  • custom post typeCustom Post Types
  • custom taxonomiesCustom Taxonomies
  • Custom Fields
    • Custom Fields for Post Types
    • Custom Fields for Taxonomies
    • Custom Fields for User Roles
    • Custom Field for Settings
  • Custom Field Types
  • Search Forms
  • search filterSearch Filters
  • setting iconCubeWP Settings
  • exportExport
  • importImport
  • Shortcodes
    • Login Page
    • Custom Field Shortcode
    • Archive Shortcodes
  • GuideGuides
    • How to create Custom archive page?
    • Maps in CubeWP
    • Conditional Fields with Taxonomy
    • Conditional Custom Fields
    • Dropdown Field
    • Checkbox Field
    • Radio Button Field
    • How to create Repeatable Fields ?
    • Conditional Custom Fields with Multiple Taxonomies
    • How to Allow Specific File Types in Media?
    • Relationship Fields
    • Custom CSS on Custom Fields
  • Developer Guides
    • How to Get Data Using WP Rest API in CubeWP?
    • How to add any other post type into CubeWP form builder.
    • How to get value of post-type custom field
    • How to get CubeWP Setting’s field value
    • How to create group of custom fields by code
    • CubeWP Filters & Actions
  • faqFAQs
    • What is CubeWP Framework?
    • Does AppSumo deal include all future extensions?
    • Does CubeWP work with any page builder?
    • How can I display custom field data on a single-post template using any page builder?
    • Does CubeWP compatible with Elementor Dynamic Tags?
    • Is CubeWP compatible with any WordPress theme as well?
    • Does CubeWP work with native WP Gutenberg blocks and 3rd party Guten blocks?
    • Does CubeWP support Full Site Editing (FSE)?
    • Is CubeWP Frontend Pro a Page Builders?
    • Is the CubeWP Framework safe to use on WordPress?
    • Can I create custom post types and taxonomies with CubeWP?
    • Can I create custom fields with CubeWP?
    • Is CubeWP compatible with WooCommerce?
    • How can I translate my CubeWP powered site to another language?
    • Is CubeWP SEO friendly?
    • Can I use CubeWP to build a membership site?
    • Is CubeWP compatible with LearnDash or other LMS plugins?
    • Can I create a multivendor marketplace with CubeWP?
    • Can a Non Developer use CubeWP Framework?
    • How do I get support for CubeWP?
    • What are the minimum requirements?
    • Can I use CubeWP without Elementor?
    • Does CubeWP have a refund policy?
    • Is CubeWP WordPress Multisite compatible?
    • Which page builders are compatible?
    • Is the current CubeWP deal on AppSumo a Lifetime Deal?
    • Which themes are compatible?
    • Can I create custom Gutenberg blocks with CubeWP?
    • Does CubeWP work with my WordPress Theme?
    • How often is CubeWP updated?
    • Does CubeWP support Shortcodes?
    • Is CubeWP GDPR-compliant?
    • Does CubeWP work with e-commerce plugins?
    • Does CubeWP offer any built-in caching or performance optimization features?
    • How many Field Types are available in CubeWP?
    • Why my Conditional Logic is not working while creating Custom Fields?
    • Can I export or import my CubeWP settings?
    • Are there any known conflicts with other WordPress plugins?
    • Where can I see all my purchases?
    • Can I Import and Export data from CubeWP?
    • Can I use CubeWP on my clients’ websites?
    • How to activate and manage licenses?
    • Does CubeWP have a refund policy?
    • Does CubeWP support Elementor Dynamic Tag?
    • Are there any live example of customer websites built with CubeWP?
    • Is there a demo website for CubeWP?
    • Do I need Elementor Pro for Dynamic Tags?
    • What is CubeWP Frontend Pro?
    • Is CubeWP Frontend Pro a Page Builder?

Custom Post Types

Estimated reading: 2 minutes 2549 views

Part 1: How to Add Custom Post Type

  1. Go to WP Admin
  2. Navigate to CubeWP Post Types
  3. Click Add New

Part 2: Basic Settings

  1. Post Type Slug: A unique identifier for your content type in the URL (e.g., “recipes”).
  2. Plural Label: The label for multiple items (e.g., “Recipes”).
  3. Singular Label: The label for a single item (e.g., “Recipe”).
  4. Description: A brief explanation of the custom post type’s purpose.
  5. Menu Icon: An icon representing your content type in the WordPress admin menu.

Part 3: Advanced Settings

In this section, there are advanced options to configure the Post Type, and how you want it to behave, and display.

  1. Hierarchical
    This option decides whether the post type can have parent-child relationships.
  2. Public
    Whether posts of this type should be shown in the admin UI and is publicly queryable.
  3. Show UI
    Whether to generate a default UI for managing this post type.
  4. Show in Menu
    Whether to show the post type in the admin menu and where to show that menu.
  5. Menu Position
    The position in the menu order the post type should appear. show_in_menu must be true.
  6. Show in Nav Menus
    Whether this post type is available for selection in navigation menus.
  7. Show In Admin Bar
    Makes this post type available via the admin bar.
  8. Can Export
    Whether to allow this post type to be exported.
  9. Has Archive
    Whether the post type will have a post type archive URL.
  10. Exclude From Search
    Whether to exclude posts with this post type from front-end search results.
  11. Publicly Queryable
    Whether queries can be performed on the front end as part of parse_request()
  12. Query Var
    Sets the query_var key for this post type.
  13. Rewrite
    Whether WordPress should use rewrites for this post type.
  14. Rewrite With Front
    Should the permalink structure be prepended with the front base?
  15. Show in REST API
    Whether to show this post-type data in the WP REST API.

Relationship

You can link your Post Types ( CPT ) with Taxonomies and Custom Fields.

Related Links

Create Custom Fields for Post Types Click Here
Create Custom Taxonomies for Post Types Click Here

Share this Doc

Custom Post Types

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by CubeWP