jeudi 24 septembre 2015

WordPress - create a page template

I converted one static website (HTML + PHP) to WordPress following this guide:http://ift.tt/1VarVfF

The Site was structured like this:

**Website Folder
     **css folder
     **images folder
     - index.php
     - head.php
     - header.php
     - footer.php
     - page1.php
     - page2.php
     - page3.php

In the head.php file there was the code inside <head> tag of html, in header.php the <header> of the website (logo and nav menu), in the footer.php the <footer> section. I successfully converted the homepage of the site but the guide doens't say how to make the navigation menu dynamic and also create page templates in order to include page1, page and page3 content. Anyone can help me doing this? Thank you




Aucun commentaire:

Enregistrer un commentaire