Skip Navigation

[Escalated to 2nd Tier] deleted layouts still viewable

This support ticket is created 2 years, 7 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by Luo Yang 2 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#2412063

I have noticed that Toolset layouts that are in trash, can still be viewed on the front end.

WHY ?

#2412209
trash-layout.jpg

Hello,

When you trash a layout in admin side, you should be able to see a warning message: This layout is assigned to a post, it can't be deleted.
See my screenshot trash-layout.jpg

Unless you trash the layout in abnormal way.

I suggest you try these:
Restore the layout from trash, edit each assigned post, unassign them with the layout, then trash the layout again.

#2412359

You missed my point.

An unassigned layout that is in trash can be viewed on the front end.

Just add "?layout_id=123456" (without quotes and the number is the id code) to the end of any post and you can see the layout.

#2412847

I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins, but don't see the same issue as you mentioned above, please provide your website database dump file in below private message box, also point out the problem post/layout URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2413373

I have done further testing and it may be a theme related issue. wp2022 theme works fine, but any other older version has the problem. I use toolset starter theme on my main site, that has the problem.

I can give you login access to see the problem and you can download from there, if required.

#2413591

OK, please share the credentials or duplicator package link in below private message box

#2415221

Thanks for the details, I can duplicate the same problem, and have escalated this issue, will update here if there is anything news.