I’m really new to WordPress development and this question may sound dumb but I hope to get some help here.

So I know how to create a custom template and basic gist of it. Now comes a page with its content laid out like this

Full-width image OR video at top

Product description

A button like ‘Buy Now’

Another full width image OR a gallery of small images

Another product description (different from the previous one)

A gallery of images and videos

Now my knowledge only enables me to output a basic post content & its media inside. What can I do if there’re different sections like this and still keep the ability to style them as I want?

Read more here: Custom template for specific content advice


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: