Custom post type not displaying in search results

Hi,

we are using the newest version of X (normal not Pro) and Cornerstone and created a custom post type (named “spots”) with a plugin called Custom Post Type UI.

When searching for content of the custom post type the results page is blank.
It’s not the case that the post type is not searched in. It is in fact searched in but the theme isn’t able to display things like e.g. featured image, post title or excerpt of this post types. (When switching e.g. to Twenty Eightteen-Theme by WordPress the stuff is display)
I searched support board back and forth and tried several ways I found here - nothing worked.

Can you point in the right direction? The structure of all the X-php-files is really complicated.
Thanks!

Hello Alexander,

Thank you for the very detailed post information. I have checked your site and I found out that the custom post type is actually loaded in the page. It is not showing simply because you have added this custom css:

.spots .entry-thumb {
    display: none;
}

Please remove this code and you will see the custom post type.

Please let us know how it goes.

Haha, oh gosh… yes that was the solution. It’s like not plugging in the computer and wondering why it is not working. Thank you!

Glad we were able to help you :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.