Skip Navigation

Layouts cannot be unassigned from Archives if the related Post Types are deleted

Won't fix

Reported for: Toolset Layouts 2.3.1

Symptoms

If you delete a Post Type from your site, to which you had an Archive Layout assigned (as the Post Types archive), you cannot unassign that layout anymore. This happens because the Post Type and its archive do not exist anymore.

This means you also cannot delete the layout in question.

Workaround

There is a workaround for this issue, however, it involves editing the site’s database.

Because this task is delicate in nature (wrong execution can damage the site), we prefer to give one-to-one assistance in case you need to remove the layouts assignement or delete it.

Please contact our support if you require help with this issue. We can then provide precise steps tailored to your website, which will help you remove the layout or its assignment.

What we will need from you to be able to help you:

  • An exact ID of layout in question.
  • Copy of your site’s database (provided directly to our supporters).
  • information about what Post Type’s archive should be removed (the exact slug of affected post type)

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>