I am used to creating websites outside of wordpress just using HTML, CSS and JS. Normally if I want to create a link to a page, about-us.html, I simply add:
<a href="/about-us.html">About Us</a>
I have an HTML based template which I converted to wordpress theme via FTP. If I want to accomplish the same thing am I just supposed to reference about-us.php like:
<a href="/about-us.php">About Us</a>
Where about-us.php is:
<?php
/**
* Template Name: About Us
*
* @package WordPress
* @subpackage Besa
* @since Besa HTML5 3.0
*/
get_header(); ?>
<?php include('/about.html');?>
<?php get_footer(); ?>
Is this all that is needed? Should I be copy and pasting the HTML instead of using the include statement? Do I have to create a new page in the wordpress editor? Do I have to select a PAge Attribute Template, and if so why?
Thanks!
EDIT: When I try my method I just get an error "Fatal error: Call to undefined function get_header() in /home/besa/public_html/about-us.php on line 10"