I want to make a website with an editable front page for a client with no coding knowledge, the client should be able to edit the front page in the site editor like a regular page, but should be able to use pre-made template parts I made in the theme, so the client would be able to use those pre-made template parts in the page, and choose if to add them, change their location in the page, and pass pre-made parameters for the template parts settings (all from the page editor, like the new Gutenberg blocks, but with template parts).
Is their a built in way / plugin to do it?
Or should I tell the client to add special keywords in the page content and then parse manually the the_content()
value and replace the keywords with get_template_part();
?
Is there a better Wordpress mechanism of doing that?
Thanks.