Content not appearing in assigned single layout

Hi,

Not sure why but my custom post type content is not appearing on the layout, on the other layout it works but not this one.

Previously it was working fine but then it stopped working.

Hi Omar,

Thanks for reaching out.

It will be difficult to identify the issue without checking your website directly through the WordPress admin dashboard. I would suggest providing your site’s login credentials in a secure note so we can investigate further. Please include:

– WordPress Site URL & Login URL
– WordPress Admin username/password
– Layout for the Specific Post Type

To create a secure note, click the key icon underneath any of your posts.

Thanks

Hi @tristup, sorry was updating the secure note :slight_smile:

Hi Omar,

I’ve investigated the issue and found that the content is loading in the DOM , which can be confirmed in the Browser Inspector . The problem is being caused by custom CSS added in the Header , which is setting display: none for that specific post type.

Please remove or adjust that CSS.
Also note that post-type-specific classes are always applied to the body element, so any global CSS targeting those classes will affect the entire layout for that post type.

Hope this helps.
Thanks