[Resolved] page layout brakes and turns back to defult when updating wp-views plugin
This support ticket is created 6 years, 8 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to: updating wp-views plugin without losing my personalizations
Link to a page where the issue can be seen: not now, i had to roll back to previous version, because is a live site
I expected to see: the same exaxt page layout after updating plugin, but this is not happening. this is an issue i experienced other times, so i think is somehow a "normal" behaviuor, but i cannot understand why it's happening...
Instead, I got: the page tht changes layout, in some way dropping my custom setup, and getting back to default page layout.
is this behaviour normal? do i need to do some specific action in order to prevent this issue?
I have seen occasional infrequent reports of something similar, but have never been able to reproduce it.
If you have been able to revert to the "before" state then if I could get a copy of your site we can try updating Views on the copy to see if we get the same result, which would allow us to isolate the specific cause.
I installed the duplicate (took some effort, the password was incorrect and for some reason the wp-config.php file is missing) and update Views and was able to see the problem, that the assigned Template Layout was lost.
I have escalated this so that it can be investigated further and I'll get back to you when I have news.
Sorry for the delay getting back to you, I was on vacation.
Checking, I don't see any progress on this issue, and so I have prompted my colleagues to take another look at it to see if they can identify the problem. I'll get back to you with their findings.
I see that there was some investigation of this issue with a copy of your site.
My colleague reports that
- you have Content Templates and Template Layouts assigned to the same product post type. If you are using Layouts you should only have a Template Layout assigned, not a Content Template.
- it seems that after an update the Content Template was winning over the Template Layout (which wasn't actually unassigned)
- you are using the Enfold theme which uses a non-standard way of rendering the post content. We have tried to collaborate with Enfold so that they can make small changes to the theme so that it can work with Toolset templates, but they have not been cooperative
- therefore, to get Toolset templates to work with Enfold you must make a child theme and create single and archive PHP templates that use the standard WordPress function the_content() to render the post body.
It would be a good idea to look at a standard theme such as twentyseventeen to see the kind of thing required.
So, without creating a child theme you shouldn't expect Toolset templates to work correctly with the Enfold theme, and you should update your post settings to either use a Template Layout or a Content Template, rather than both.
If you switch theme to a standard theme or one of the themes listed on our recommended themes page and still have a problem then please let me know.