Best practice for adding additional pages when building a custom theme
-
I am turning a previously built HTML/CSS site into a wordpress theme. It has 3 simple pages with no blog. I am using front-page.php to handle the landing page. I am struggling with the best practice for my portfolio page and contact page.
Currently I have created 2 new pages via the dashboard and just copied in custom html for each of the 2 pages. These are using page.php. The site works perfectly. However, I have a feeling this isn’t the best practice and as I am teaching myself theme development I would like to learn the right ways to accomplish this for my site.
I would greatly appreciate any advice on the best way to proceed.
Thank you
- The topic ‘Best practice for adding additional pages when building a custom theme’ is closed to new replies.