I have tried registering a layout according to megclaypool's suggestion, but Layout Paragraphs doesn't pick it up. My understanding is that the layouts that Layout Paragraphs uses are themselves paragraphs, and so somehow a special type of "layout" or "section" paragraph needs to be created for the Layout Paragraphs module to pick it up.
Has anyone gotten this to work?
- π¦πΉAustria hudri Austria
Layout paragraphs uses the same Layout discovery module as core's Layout Builder, so the documentation above is fully valid. If I remember correctly, you might need to create custom layouts.yml files in a custom module (not a custom theme) if you disabled frontend editing (because Layout discovery searches all modules and the active theme, which would be the admin theme).
I followed this - https://www.rapiddg.com/article/creating-custom-layouts-layout-paragraph...
But there's some typos:
The template file should be "layout--fourcol.html.twig" rather than "layout--fourcol.twig.html".
Also "gh_display" in the full entry example for the layouts.yml should be "custom_layouts".
More examples can be found in the "Layout Discovery" module within core.