How to re-publish in WordPress HTML salonu?

Friends! Can you please tell me the solution how to publish posts in WordPress according to specified templates using plug-ins or desktop applications?
You need to a template editable records: title, first paragraph (H1), then a paragraph with justified alignment, then gallery, etc. (different custom options). In each of the sections - its formatting. And when you enter data into fields for each section at the output to get the html code to copy/paste the entry in WordPress or have a gun that was formed there.
Such a decision is necessary for the unification of records, depending on the categories/themes for content managers, which do not need to be taught the formatting.
Thanks in advance!
Good luck to everyone!
July 2nd 19 at 13:14
3 answers
July 2nd 19 at 13:16
Solution
The issue has been resolved installing the plugin Easy Content Templates
July 2nd 19 at 13:18
Let's say you need to add a paragraph or two and the gallery.
The first thing that comes to mind - do the gallery and under the second paragraph of custom fields(they are the same custom post fields) and apply to them what do you need formatting in the template. Themselves wrapped in custom field metaboxes with textarea and You will be happy.

The option is a bit more difficult to use Post Formats. For example, the text from the body of the post is cut by the delimiter is a newline(mean expload('\n', $post) ) and then both parts are derived anywhere.

I personally think the first is easier. If you go this route, to help you create metabox-ov can try to use a metabox.io
July 2nd 19 at 13:20
For these tasks there are post templates with version 4.7 (literally 2 weeks left) by default the posts will be. Read more on make.wordpress.org. Previously implemented in a similar way, only software. In addition to the post templates can make arbitrary template_parts for different design and include it with conditional tags. For example, you will have a daddy template-parts in which files content-single-categoryone.php, content-single-categorytwo.php and so on. In the template single.php do background checks on the category and its slug fills the get_template_part().
Thank You for the answer! Wanted to clarify - any actions with the code will have to do or everything will be in the shell made of? - Odie_Fay commented on July 2nd 19 at 13:23
: what do you mean "shell"? Need to modify template code. - Velva.Rogahn commented on July 2nd 19 at 13:26
Sorry, I don't quite understand how you can customize the template records with post templates. Information is no, unfortunately. - Odie_Fay commented on July 2nd 19 at 13:29

Find more questions by tags WordPressHTML