Should I create static pages in WordPress dashboard or as a separate PHP files?
-
I am new to WordPress. I am currently using version 4.9.12.
I have a static HTML website. I am converting this site into WordPress. Though I have created header.php, index.php, and footer.php files. My custom theme is ready. But I am now confused about my html static pages. I have some other html pages e.g. digital.html, seo.html. These pages has HTML plus a little css. Now what should I do for these pages? Should I create these static pages in WordPress dashboard (backend) or create separate PHP files named digital.php, seo.php etc.
In addition, I have a contact.html file too. This file has a form in it. So what should be right way to present contact form in WordPress. I want to retain my form and code. Should I create contact.php within my theme folder? Do I need to modify .htaccess file too to change url to mysite.com/contact?
The blog I need help with is: (visible only to logged in users)
-
We can’t help you as you are using the open source wordpress.org version 4.9.12 but these forums are for sites running on the wordpress.com platform. To learn using wordpress.org, got to https://wordpress.org/support/. To give a short answer: All files are created in the wordpress dashboard.
- The topic ‘Should I create static pages in WordPress dashboard or as a separate PHP files?’ is closed to new replies.