title: How to include files in wordpress
body: <p>I want to create a few custom php pages in wordpress. I know that a page like this can be done by creating a Wp page template.</p>
  
  <p>However my script has two files: index.php and register_for_event.php.</p>
  
  <p>Index.php contains this:</p>
  
  <pre><code>&lt;form action='register_for_event.php' method='post'&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>So now I have to create a template page for register_for_event.php as well? That page only registers the user in the database and echos 'thank you'. Besides these two files I have at least 30 other php pages. All of them need a new page template?</p>