Global CPT Template Not Applying to All Existing Posts

Posted in: Newspaper
Post count: 64

Hello,

I’m using a Custom Post Type “Blank – Custom Post Type” for event calendar entries. I created a new layout/template for this CPT where I changed:

Layout and styling of inner row using Custom Fields

Color scheme and font styles

Overall template appearance

I set the new template as global for all posts of this CPT. Unfortunately, there’s an inconsistency issue – some posts use the new template, while others still use the old one.

Examples:

✅ New layout (correct): https://forcenews.pl/wydarzenia/hotel-meeting/

❌ Old layout (problem): https://forcenews.pl/wydarzenia/miedzynarodowe-targi-wynalazkow-i-innowacji-intarg/

What I’ve already tried:

Cleared WordPress and browser cache

Verified all posts are the same CPT

Confirmed the template is set as global

The issue affects existing posts created before the template change. New posts correctly use the new layout.

Question: How can I force the global CPT template to apply to all existing posts? Is there a way to bulk update template metadata without manually editing each post?

Post count: 20688

Hi,

Those look like different cloud templates. These ones:

https://forcenews.pl/tdb_templates/blank-custom-post-type/

https://forcenews.pl/tdb_templates/blank-custom-post-type-2/

The posts you mentioned as examples are each using their own template.

If you have one template set as global, then the only option that can override it is is you manually set the other template per event https://prnt.sc/tjKfuf8zqcF2 Because if it’s on the “From Panel” setting then it should use the global template.

Are there many events that use that old template? If not, they could be edited and set to the from panel setting.

Thanks.

Post count: 64

Thank you so much for your quick and precise help! You perfectly identified the issue – indeed, some events had the old template manually assigned.

I’ll fix them manually one by one. Your support was excellent and very helpful!

Best regards

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.