I am new to the whole WP theme development, but I have undertaken a couple of courses and watched a few tutorials on how to convert HTML/PHP pages into a wordpress theme. However, every single tutorial and course I have found only covered converting a really basic and simple pages the main content of whose contained one
<p> element and that was it. I get that - it's pretty straightforward in fact. However, I am now trying to convert my first real webpage which is quite complex and I am really struggling with it.
I have at least 6 different pages which don't have much in common (except header and footer perhaps), therefore I created 6 different "page-slug.php" templates. In each one of them, I have obviously put the loop which will fetch the title, content, etc. And this is where it gets complicated.
The content of my original HTML pages obviously contains lots of different elements, such as
div, article, section, a, span, p, ul, h1, combinations of these, etc. All these are wrapped by
main tag. So in order to convert that page into a WordPress post, I just copied the whole
main content (with all the html tags) into the WordPress Post Editor so that the customer is able to edit it themselves. But this basically means that the customer will have to deal with the HTML tags which is not ideal.
I don't want all these to be sidebars either - this is just main content. What is the best practice when having lots of HTML tags? Meta fields, shortcodes or something else?
Any help from someone experienced will be much appreciated :)