Why Your Custom Post Type UI Content Isn't Showing Up: Common Issues and Solutions
Content
If you've used the Custom Post Type UI plugin to create custom content, you might sometimes find that your posts, fields, or other elements aren't appearing where you expect them to be. This is a common point of confusion that can stem from a variety of sources, from theme conflicts to plugin settings. Based on community discussions, here are the most frequent reasons and their solutions.
1. Custom Post Types Not Appearing in Archives or Search Results
The Problem: You've created a custom post type (CPT), but its posts don't show up on your category archive pages or in WordPress search results.
Why It Happens: By default, WordPress's main query does not automatically include custom post types in these contexts. This is a standard WordPress behavior, not a bug in Custom Post Type UI.
The Solution: You need to explicitly tell WordPress to include your CPTs. This requires adding a code snippet to your theme's functions.php file. The Custom Post Type UI team provides documentation with example code for including CPTs in category archives and for including CPTs in search results.
2. The Default Custom Fields Meta Box is Missing
The Problem: You've checked the "Custom Fields" support option in CPT UI, but the meta box does not appear in the post editor's Screen Options.
Why It Happens: This is most often caused by a conflict with the Advanced Custom Fields (ACF) plugin. For performance reasons, ACF has a setting to remove the native WordPress custom fields box.
The Solution: To reinstate the default WordPress meta box, add the following filter to your functions.php file:
add_filter('acf/settings/remove_wp_meta_box', '__return_false', 20);
3. Custom Fields or Shortcodes Display as Raw Text
The Problem: On the front end of your site, a custom field or shortcode (e.g., [table field-name="dates_table"]) is displayed as plain text instead of being processed into the intended content.
Why It Happens: This indicates that the functionality responsible for processing that shortcode or field is no longer active. The plugin that provides the shortcode may have been deactivated, or its code may have been removed from your theme.
The Solution: First, check that all necessary plugins are active. If the shortcode is from a plugin like ACF, ensure it is installed and activated. If the problem persists, the issue may lie with how your page builder (e.g., Elementor) is interacting with the fields, and you may need to consult that plugin's support.
4. Page Builder or Theme Elements Not Working with CPTs
The Problem: Elements from your theme or page builder (like WPBakery or Kadence Blocks) work fine on standard posts and pages but break or don't appear on your custom post types.
Why It Happens: Custom post types often use different template files than standard posts. The theme or page builder might not be fully configured to output its elements on these custom templates.
The Solution: This is typically an issue that must be resolved by your theme or page builder. Their support teams will be best equipped to help you ensure their product is fully compatible with custom post types. As a workaround, you may need to create a custom template file for your CPT in a child theme.
5. Automatic Excerpts Not Generating
The Problem: Your custom post types do not automatically generate an excerpt from the first 55 words of content when the excerpt field is left blank, whereas standard posts do.
Why It Happens: Excerpt handling is primarily determined by your theme. The Custom Post Type UI plugin only registers the post type and its supported features; it does not control how the theme displays the content.
The Solution: This will likely require a theme modification. You may need to edit your theme's template files (e.g., content.php, single-{post-type}.php) to ensure the the_excerpt() template tag is used correctly for your custom post types. Always use a child theme to make these changes.
When troubleshooting, a good process is to deactivate all other plugins to see if the issue resolves, confirming a conflict. Then, reactivate them one by one to identify the culprit. Remember, the Custom Post Type UI plugin focuses on registration; display issues are usually handled by your theme or other plugins.
Related Support Threads Support
-
CPT UI & Blocksy companionhttps://wordpress.org/support/topic/cpt-ui-blocksy-companion/
-
Surfacing CPTs in WordPress Dashboard “At A Glance” Widget?https://wordpress.org/support/topic/surfacing-cpts-in-wordpress-dashboard-at-a-glance-widget/
-
CPT-UIで作成したカスタム投稿にサイドバーが表示されないhttps://wordpress.org/support/topic/cpt-ui%e3%81%a7%e4%bd%9c%e6%88%90%e3%81%97%e3%81%9f%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%81%ab%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95-2/
-
Does the autogenerated excerpt not work with CPT UI?https://wordpress.org/support/topic/does-the-autogenerated-excerpt-not-work-with-cpt-ui/
-
Comments are displayed even with support disabled.https://wordpress.org/support/topic/comments-are-displayed-even-with-support-disabled/
-
Theme excerpt affecting CPThttps://wordpress.org/support/topic/theme-excerpt-affecting-cpt/
-
Custom Fields Supporthttps://wordpress.org/support/topic/custom-fields-support-9/
-
CPT UI 1.12.1 removes HTML from post type descriptionhttps://wordpress.org/support/topic/cpt-ui-1-12-1-removes-html-from-post-type-description/
-
Displaying category descriptions using custom taxonomy and cpthttps://wordpress.org/support/topic/displaying-category-descriptions-using-custom-taxonomy-and-cpt/
-
CPT UI search resulthttps://wordpress.org/support/topic/cpt-ui-search-result/
-
problem enabling CPT categories in kadence block ‘posts’https://wordpress.org/support/topic/problem-enabling-categories-in-kadence-block-posts/
-
Create Excerptshttps://wordpress.org/support/topic/create-excerpts/
-
Can´t search CPThttps://wordpress.org/support/topic/cant-search-cpt/
-
CPT not showing in left panelhttps://wordpress.org/support/topic/cpt-not-showing-in-left-panel/
-
How to display CPT as View Post?https://wordpress.org/support/topic/how-to-display-cpt-as-view-post/
-
CPT Post Not Showinghttps://wordpress.org/support/topic/cpt-post-not-showing/
-
Page Attributes missinghttps://wordpress.org/support/topic/page-attributes-missing-2/
-
Excerpt from created with CPT UI posts shows wrong excerpt text to FBhttps://wordpress.org/support/topic/excerpt-from-created-with-cpt-ui-posts-shows-wrong-excerpt-text-to-fb/
-
Get CPT to show in ACF location rules first fieldhttps://wordpress.org/support/topic/get-cpt-to-show-in-acf-location-rules-first-field/
-
Form creation redirects to CPT submissionhttps://wordpress.org/support/topic/form-creation-redirects-to-cpt-submission-2/
-
How to add comments to a CPT?https://wordpress.org/support/topic/how-to-add-comments-to-a-cpt/
-
Does CPT UI disable custom fields?https://wordpress.org/support/topic/does-cpt-ui-disable-custom-fields/
-
CPT in default categorieshttps://wordpress.org/support/topic/cpt-in-default-categories/
-
Setting Article Primary Categoryhttps://wordpress.org/support/topic/setting-article-primary-category/
-
How can I use page.php?https://wordpress.org/support/topic/how-can-i-use-page-php/
-
HTML in Post Type Descriptionhttps://wordpress.org/support/topic/html-in-post-type-description/
-
default enable comments on Custom Post Typehttps://wordpress.org/support/topic/default-enable-comments-on-custom-post-type/
-
Nothing displayed while adding the CPThttps://wordpress.org/support/topic/nothing-displayed-while-adding-the-cpt/
-
How to assign a CPT to a new or existing posthttps://wordpress.org/support/topic/how-to-assign-a-cpt-to-a-new-or-existing-post/
-
Display list of posts by categoryhttps://wordpress.org/support/topic/display-list-of-posts-by-category/
-
CPT UI not displaying in Post Gridhttps://wordpress.org/support/topic/cpt-ui-not-displaying-in-post-grid/
-
Help with categoryhttps://wordpress.org/support/topic/help-with-category-3/
-
Add comments in front end CPThttps://wordpress.org/support/topic/add-comments-in-front-end-cpt/
-
Posts format to Video and allow video previewhttps://wordpress.org/support/topic/posts-format-to-video-and-allow-video-preview/
-
Custom Post Type Not Displayinghttps://wordpress.org/support/topic/custom-post-type-not-displaying/
-
CPT UI custom posts not display in contenthttps://wordpress.org/support/topic/cpt-ui-custom-posts-not-display-in-content/
-
Can you add to Help in Screen Options for CPT?https://wordpress.org/support/topic/can-you-add-to-help-in-screen-options-for-cpt/
-
Page settings doesn’t appear (admin)https://wordpress.org/support/topic/page-settings-doesnt-appear-admin/
-
Page Breaks with custom post typehttps://wordpress.org/support/topic/page-breaks-with-custom-post-type/
-
Change banner in each CPThttps://wordpress.org/support/topic/change-banner-in-each-cpt/
-
CPT UI Not Displaying Category Descriptionshttps://wordpress.org/support/topic/cpt-ui-not-displaying-category-descriptions/
-
Custom Fields not displayinghttps://wordpress.org/support/topic/custom-fiels-not-displaying/
-
CPTUI with Advanced Custom Fields not showing in search resultshttps://wordpress.org/support/topic/cptui-with-advanced-custom-fields-not-showing-in-search-results/
-
Removing entry title and post meta from CPThttps://wordpress.org/support/topic/removing-entry-title-and-post-meta-from-cpt/
-
CPT UI – Can’t archive postshttps://wordpress.org/support/topic/cpt-ui-cant-archive-posts/
-
CPTs not appearing in search resultshttps://wordpress.org/support/topic/cpts-not-appearing-in-search-results/
-
Conflict between CPT UI and Uncode Wp Bakery Page builderhttps://wordpress.org/support/topic/conflict-between-cpt-ui-and-uncode-wp-bakery-page-builder/
-
Displaying meta data on front end without editing phphttps://wordpress.org/support/topic/displaying-meta-data-on-front-end-without-editing-php/
-
Automatically publish CPThttps://wordpress.org/support/topic/automatically-publish-cpt/
-
Tags are not displayedhttps://wordpress.org/support/topic/tags-are-not-displayed-3/
-
Custom Post Type not working with password protected postshttps://wordpress.org/support/topic/custom-post-type-not-working-with-password-protected-posts/
-
CPT posts not showing in Latest Posts blockhttps://wordpress.org/support/topic/cpt-posts-not-showing-in-latest-posts-block/
-
How do i display the CPT in a recent posts sidebar.https://wordpress.org/support/topic/how-do-i-display-the-cpt-in-a-recent-posts-sidebar/