title: Use wordpress function in file
body: <p>I have wordpress Child Theme and I add php file to this child theme. Also I want to use wordpress function in this file  ( I want to show header, menu and footer ) </p>
  
  <p>So I try </p>
  
  <pre><code>&lt;?php
  
  $parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
  require_once( $parse_uri[0] . 'wp-load.php' );
  
  ?&gt; 
  </code></pre>
  
  <p>Also I try to add header and footer</p>
  
  <pre><code>&lt;?php get_header();?&gt;
  
  //my content
  
  &lt;?php get_footer();
  </code></pre>
  
  <p>But it seems it cant load all css/js files and page have bad styling</p>