Reputation: 7289
is it possible with the dashboard to add custom static HTML files for generating new webpages ?
if not what's the easiest way ?
and how to make sure this pages are categorizable and also referencable on google search engine?
Upvotes: 0
Views: 1519
Reputation: 1765
In Your theme directory You ca put some files, and name them like:
page-homepage.php
page-contact.php etc
Now, each of those files needs to open with:
<?php
/*
* Template Name: Contact Page
*/
?>
and this header needs to de diffrent for each file (it gves the termplate a name)
Now put any html You like inside (also consider adding get_header() and get_footer(), so You have all necesary scripts and mockup.
After creating those files, when editing a page in WP You can select the file as template.
Upvotes: 4