Template Page Development: Best Practice
-
Hello,
I have been coding HTML, CSS, JAVASCRIPT, JQUERY for a couple years now. I also know a little PHP.
I am developing a multi-page website using one theme. The theme is ZERIF-LITE and has provided me with the front page. What I have done for the other pages has taken the font-page.php and formatted it specifically to each page – adding the suitable HTML, CSS and JAVASCRIPT. Once I have created the page I upload the file through FTP and use that specific page template. Therefore I do not have to change anything in WORDPRESS’S GUI (dashboard).
Is this a best practice? If not what would be?
I have thought of creating includes for sections and pulling them in much like header.php/footer.php but I would still need a different template for each page?
Any thoughts or advice on this would be very much appreciated. I can’t help but think this may not be the best approach and I cannot find any documentation to send me in another direction.
Thank you,
Jennifer
The topic ‘Template Page Development: Best Practice’ is closed to new replies.