Site icon Hip-Hop Website Design and Development

Common Practice for Multiple Web Pages with Same Header & Footer But Different Body Layout

Currently migrating an existing website from an old CMS to WordPress.

I have about 20 web pages that use the same header and footer.

However, every page has a different layout for their main section/body (between header & footer).

I need to make a WordPress theme that has a different main section layout for every page.

What are some common practices when it comes handling such requirement in WordPress theme development?

Based on my research so far, I believe I can use specialized page templates OR standard page templates OR page.php.

Specialized page templates (red boxed):

Using specialized page templates: I can create page-{slug} or page-{id} for every page, create the pages from WordPress admin with the matching slug or ID. It might solve the problem, but I am still not sure.

A different approach: Using page.php instead. I can have a template part for every main content of the web pages and conditionally call them from the page.php file. Within page.php, I’ll have conditional tags to check the currently rendered page, and if the page matches a slug I’m looking for, I can load in the corresponding template part. I wasn’t sure if this would be a good idea either.

Are there more efficient way or WordPress common practices for this kind of situation?