Hey
I use a couple of custom post types in combination with the layout builder. By default, the Single layout type wraps the entire site’s content in an article HTML tag.
This is great for your typical blog posts but not quite ideal on other non “article” pages you may want to use the layout builder on. Unfortunately, I wasn’t able to find an option to disable this or to change the article tag to a simple div tag, for example. So my question would be, how could I change this?
The WC Single layout type, for example, does not do this (since it’s literally meant for Woocommerce and therefore shouldn’t use the article tag), but that layout type is tied to the Products post type and can’t be assigned to any other post type. If there were a workaround, like a snippet of code for my functions.php that would allow me to manually assign a WC Single layout to a custom post type, that would work as well.
All the best,
Oguzhan