Custom Post Types: CPT Manager

As of Ocean Pro Demos version 1.5.0, all OceanWP Pro Bundle license owners will be able to enjoy the OceanWP Custom Post Types (CPT) feature.

In order to be able to utilize the Custom Post Types feature on your website, you need to have the Ocean Pro Demos 1.5.0+ installed on your website and an active OceanWP Pro Bundle license.

Enabling Custom Post Types: CPT Manager

To enable the Custom Post Types on your website, you need to enable the CPT Manager:

  1. Navigate to your OceanWP Panel: OceanWP > OceanWP Panel > Misc Pro Features.
  2. Toggle the CPT Manager button to enable the feature.
  3. Refresh the page in the browser in order to see the new WP dashboard menu item.
  4. Navigate to the Ocean CPT WP dashboard menu item for more options.

Enable Custom Post Types by enabling the CPT Manager option in OceanWP Panel

Custom Post Types: CPT Create

Custom Post Types: Basic Settings

The CPT Create feature is used to create a new custom post type item. During this operation, you'll need to add necessary information:

  1. Post Type Slug (required): add a slug (to be used in permalinks) for your custom post type. Example: gallery.
  2. Plural Label (required): how do you want to call your CPT in a group? Example: galleries.
  3. Singular Label (required): how do you want to call the single item of your CPT? Example: gallery.
  4. Update Additional Labels from Singular Label button: this action will perform an auto-fill for the next chapter of necessary CPT settings. See the next chapter for more info.

Custom Post Types: Personalized Settings

The second batch of CPT settings serves to fully personalize your CPT, manage and customize all text labels associated with it:

  1. Description: describe the purpose of the CPT. Example: flower images.
  2. Menu Name: the name you want to be displayed in the WP dashboard for this particular CPT.
  3. All Items: label to be used for all your CPTs on the list.
  4. Edit Item: label to be displayed when editing a single entry item of the CPT in question.
  5. View Item: displayed on the frontend. Label used when someone is viewing single entry item of the CPT in question.
  6. Search Items: label to be displayed in the search bar for all CPT entries in question.
  7. Not Found: message to be displayed when none of the CPT entries match the search criteria.
  8. Not Found In Trash: message to be displayed when none of the CPT entries are found in the trash (deleted items).
  9. Parent Item Colon: text (symbol) displayed after the parent item name, using hierarchical CPTs. Example: Gallery: My Gallery. In this case ":" is the chosen parent item colon.
  10. Featured Image: label used for the featured image functionality, associated with your CPT.
  11. Set Featured Image: label for the button used to set the featured image for the CPT entry.
  12. Remove Featured Image: label for the button used to remove the featured image for the CPT entry.
  13. Use Featured Image: label that describes whether the featured image should be used along with your CPTs.
  14. Archives: label used for archive page(s) for your CPT entries.
  15. Add New: label for the button used to create a new CPT.
  16. Add New Item: alternative for the Add New label, with a slight emphasis on the Item aspect. Aka text that clearly describes to the person adding CPT they're adding a single entry of the CPT in question.
  17. View Items: label for the button used to preview all entries for your CPT.
  18. Filter Items List: label used for filter options available for your CPT.
  19. Items List Navigation: label displayed for navigation controls (pagination) for your CPT entries.
  20. Items List: label displayed for the overall list of your CPT entries.
  21. Attributes: label for any custom attributes associated with your CPT.
  22. Name Admin Bar: label which will display in the WP Admin Bar area for your CPT.
  23. Insert Into Item: label used for the interface element which serves to insert something into your CPT entry. Example, to insert media.
  24. Uploaded to This Item: label used for content which explicitly uploaded / added to the a specific CPT entry.
  25. Item Published: notification displayed when a CPT entry is published.
  26. Item Published Privately: notification displayed when a CPT entry is published but privately.
  27. Item Reverted to Draft: notification displayed when the status for a CPT entry changes from published to draft.
  28. Item Trashed: notification displayed when a CPT entry is moved to trash.
  29. Item Scheduled: notification displayed when a CPT entry is scheduled for future publication aka scheduled to be published at a specific moment.
  30. Item Updated: notification displayed when a CPT entry is updated.

Next in line of setting up CPTs is the Arguments.

Custom Post Types: Arguments

This section outlines configuration options that control the behavior of your CPT in WordPress:

  1. Public: determines whether your CPT is publicly available.
  2. Publicly Queryable: determines whether your CPT can be used / found / retrieved using WordPress queries.
  3. Show UI: determines whether to display admin interface controls to manage your CPT entries.
  4. Show in REST: enable or restrict access to your CPT entries through the WordPress REST API.
  5. REST Base: define the URL slug used to access your CPT entries through the REST API.
  6. REST Controller Class: advanced setting. Specify a custom class that handles REST API requests for your CPT.
  7. REST Namespace: advanced setting. Defines the namespace used for your CPT in the REST API.
  8. Has Archive: specify whether your CPT will have archive page(s).
  9. Show in Menu: determine whether your CPT will display in the WP admin menu.
  10. Show in Nav Menus: determine whether your CPT should be available for display / addition in WordPress navigation menus (Appearance > Menus).
  11. Delete with User: if selected, when you delete a specific user profile on your website, all CPT content the user has created (if any) will be deleted along with the user profile.
  12. Exclude from Search: excludes CPT content from search results.
  13. Capability Type: define capabilities for CPT actions (create, edit, ...).
  14. Map Meta Capabilities: advanced setting. Option that automatically maps meta capabilities to standard capabilities.
  15. Hierarchical: enable or disable hierarchical organization of your CPT entries (parent > child entry), similar to the organization for standard WordPress pages.
  16. Can Export: whether your CPT can be exported with the standard WP Export file (Tools > Export).
  17. Rewrite Slug: define the slug used for CPT entries.
  18. Rewrite with Front: advanced setting. Define whether Rewrite Slug should be prefixed with a specific string. Example: news/
  19. Query Var: advances setting. Define the query variable that's going to be used to access all your CPT.
  20. Menu Position: sets the CPT order in the WP admin menu.
  21. Menu Icon: sets the CPT icon in the WP admin menu.
  22. Custom Rewrite Slug: advanced setting. Define a custom URL structure for CPT entries.
  23. Custom Supports: specify additional functionalities for CPT. For example, comments.
  24. Taxonomies: assign existing WP taxonomies to categorize your CPT entries.
  25. Supports: define core WordPress functionalities support by your CPT entries. For example, title, featured image, etc.

Save Settings to create your CPT and store all previously applied settings.

Refresh the page after saving settings.

Custom Post Types: CPT Manage

If you want to edit (access all the settings explained in the Custom Post Types: CPT Create) or delete your CPT, access the CPT Manage option and select the desired custom post type.

Important: Deleting a CPT will also remove all content associated with that CPT.

Custom Post Types: Taxonomy Create

Your OceanWP Custom Post Types feature enables you to create custom taxonomies. There are 4 types of settings related to CPT taxonomies.

CPT Taxonomy Create: Basic Settings

Now, let's go over the very basic settings related to your CPT Taxonomy:

  1. Taxonomy Slug: the URL-friendly name for this taxonomy, like /categories/ or /galleries/.
  2. Plural Label: text used to display multiple terms within this taxonomy. For example: Categories, Topics, etc.
  3. Singular Label: text used to display the single term within this taxonomy. For example, Category, Topic, etc.
  4. Attach to Post Type: select post types where this taxonomy should be used to categorize items.
  5. Update Additional Labels from Singular Label: automatically generate other labels based on your Singular Label.

CPT Taxonomy Create: Additional Labels

Additional labels help you personalize and completely customize your CPT taxonomy:

  1. Description: optional text which describes the taxonomy or its purpose in the admin area.
  2. Menu Name: text displayed in the WP Admin Menu.
  3. All Items: text displayed on the main admin taxonomy page.
  4. Edit Item: text displayed on the edit screen for the single term.
  5. View Item: text displayed on the publicly available view page for a single term.
  6. Update Item Name: text displayed on the edit screen and in association with updating a single term.
  7. Filter by Item: text displayed above the filter dropdown menu on the taxonomy list page.
  8. Update Item: text displayed on the bulk action and in association with updating terms.
  9. Add New Item: button text displayed when creating a new entry.
  10. New Item Name: default name for the term name field when creating a new term.
  11. Parent Item Colon: text (symbol) which is used to separate the parent and child items.
  12. Parent Item: text displayed next to the select field for parent terms.
  13. Search Items: text displayed in the search option for terms.
  14. Popular Items: text displayed above the most frequently used terms.
  15. Item Link: text displayed next to the term's archive page link. For example, View.
  16. Separate Items with Commas: enable this option if you want to be able to separate multiple options in the edit screen with commas.
  17. Add or Remove Items: text displayed for the bulk action options for the term.
  18. Choose from Most Used: this option populates the edit screen with most frequently used terms.
  19. Not Found: text displayed when no results were found based on the search or filter use.
  20. No Terms: text displayed when there are no terms in a taxonomy yet.
  21. Name Field Description: optional text which is displayed below the term name field in order to provide instructions or guidance.
  22. Items List Navigation: text displayed for navigation elements on the term list page.
  23. Items List: text displayed above the list of terms on the admin page.
  24. Back to Items: button text which is used to get back to the main taxonomy list page.
  25. Term Name Field Description: optional text displayed below the term name field when editing a term.
  26. Term Parent Field Description: optional text displayed below the parent term field, used to provide guidance.
  27. Term Slug Field Description: optional text displayed below the term slug field, used to provide guidance or define its purpose.
  28. Term Description Field Description: optional text displayed below the term description field, used to provide instructions or guidance.

CPT Taxonomy Create: Arguments

The Arguments settings control how the terms within a taxonomy are accessed or controlled:

  1. Public: make terms visible on website's front end.
  2. Publicly Queryable: allow terms to be used in URLs for filtering content.
  3. Hierarchical: allow creation of subcategories within a taxonomy.
  4. Show UI: display a dedicated page for managing terms in the admin area.
  5. Show in Menu: include taxonomy in the WP admin menu for easy access.
  6. Show in Nav Menus: allow the term to be used in your navigation menus (Appearance > Menus).
  7. Query Var: name used in URLs to filter terms. For example, ?category=news.
  8. Rewrite: enable defining custom URL structure for term archives.
  9. Custom Rewrite Slug: specify a custom part of the URL (slug) which is going to be used for terms. For example, /news/ instead of /categories/
  10. Rewrite with Front: add a prefix before the term slug in the URL.
  11. Rewrite Hierarchical: enable URLs to reflect parent-child relationships.
  12. Show Admin Column: display the admin column for this taxonomy in the edit screen.
  13. Show in REST API: allow access to terms through the WordPress REST API. Advanced setting.
  14. REST API Base Slug: base path for terms in REST API. Advanced setting.
  15. REST API Controller Class: custom controller for handling terms in REST API. Advanced setting.
  16. REST API Namespace: namespace used for terms in REST API. Advanced setting.
  17. Sort: define how terms are sorted on the front and admin pages.
  18. Show in Quick Edit: enable term inline editing on the main edit screen (options that display when hovering over an item on the list).
  19. Show in Tag Cloud: include terms in WordPress tag cloud widget (Appearance > Widgets).
  20. Metabox Callback: specify a custom function to control how terms are displayed in the post edit screen.
  21. Default Term: specify a default term which will be assigned to new posts automatically.

Custom Post Types: Taxonomy Manage

If you want to edit (access all the settings explained in the Custom Post Types: Taxonomy Create) or delete your taxonomy, access the Taxonomy Manage option and select the desired taxonomy.

Important: Deleting a taxonomy will also remove all content associated with that taxonomy.

That's it!

Happy website building!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.