title: wordpress plugin works on local host but NOT on remote server
body: <p>I wrote a wp plugin which works fine on local host. it creates child theme directory and copies home.php there. But 'home' tab shows the old content from the parent theme. Only when I rename home.php to index.php it works. This is my home.php</p>
  
  <pre><code>&lt;?php
  get_header(); ?&gt;
  
      &lt;div id="container"&gt;
          &lt;div id="content" role="main"&gt;
  
          &lt;/div&gt;&lt;!-- #content --&gt;
      &lt;/div&gt;&lt;!-- #container --&gt;
  </code></pre>
  
  <p>Also I have script1.js file in /js folder which should adda a textbox to the  block but it doesn't. I embed the script like this:</p>
  
  <pre><code>define('jsdir',plugin_dir_url(__FILE__).'js');
  wp_enqueue_script('dk_js_myplugin',jsdir.'/script1.js',array('jquery'));
  </code></pre>
  
  <p>but firebug doesn't show it on the page.
  Both problems doesn't exist on local installation of wordpress with xampp
  Thanks for your time, any help is highly appreciated!</p>