Skip Navigation

[Resolved] Custom post type loses the layout after saving.

This thread is resolved. Here is a description of the problem and solution.

Problem: When I save a post in a specific custom post type, it loses its Layout. The Layout box is hidden, so I cannot assign the Layout again.

Solution: Disable any custom code that hides the Layout meta box.

This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by rafaelF-3 5 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1190596
Screen Shot 2019-01-24 at 11.06.33 AM.png

I am trying to: edit a custom post entry. After hitting the publish button, it disappears from the front-end.

Link to a page where the issue can be seen: hidden link

I expected to see: Just as normal. hidden link

Instead, I got: Blank. Also in the layouts page, there's an alert that a post type is not using the template, however it is properly assigned. After I save an item, the alert shows up. Screenshot attached.

#1190611
#1190693

It seems I'm unable to access the Plugins page now. Can you provide my User with admin-level permissions? If not, I need you to create a site clone using the information provided here: https://toolset.com/faq/provide-supporters-copy-site/

#1190696

My issue is resolved now. It was caused by a function created to hide the layout meta boxes in the template.

Thank you!