Im trying to create a Theme from scratch, its quite challenging, cause im new to WP. I follow this developing process at Teamtreehouse. All is very good, its just, im puzzled with the template file creation.
Its all fine with front-page.php
and home.php
files, but eventually I want to have as well the: partnership.php
, gallery.php
, contact_us.php
, prices.php
files too.
Anyhow, when I created the partnership.php
file and linked it to display the Partnership webpage title with testimonials and link to the webpage, I got default index.php
to display. I understand that WP will display the index.php
if it does not find any other file in the structure, but the files are all in the example.com/wp-content/themes
directory. Im working on localhost.
It seems that WP did not recognize the custom template files.
Share your thoughts on this please.
Many Thanks