Template no longer applied by Category

On DreamForgeMagazine.com, we have a custom post type called "stories" that are in the category "issues".

Here's a story page: https://dreamforgemagazine.com/story/the-coven/

This is not using the template.

Here's the same story on the staging site. It looks correct and is using the template:

https://stg-dreamforgemagazine-staging.kinsta.cloud/story/the-coven/

Staging is using 28.0.6

Production is using 28.1.3. I'm not sure if the issue was introduced in the update from 28.1.2 to 28.1.3. The last time I checked the story pages they were OK, but that was possibly weeks ago.

You made fixes no long ago and that same user/pass is still active.

Comments

  • Hi,

    I logged into your website, and from what I see, you have no templates created for that CPT:

    Can you explain in more detail to what you are referring to, please?


    Thanks

  • In the past, this post template worked. It was set for all posts in the category: Issues. (Which included the custom post type of stories.)

    But based on what you said, I recreated that same Story Template as a Custom Post Type and that worked. Maybe some update to ACF and custom post types made it break. Or maybe you changed something to specify custom post types that wasn't required before.

    But your question helped me figure it out. Thanks.

  • I am glad to see that you handled it.

    If this or something similar happens again, please let me know and try to remember steps you proceeded before the issue occurred.


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.