Title: Using PHP include();
Last modified: August 22, 2016

---

# Using PHP include();

 *  [rhoded](https://wordpress.org/support/users/rhoded/)
 * (@rhoded)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/using-php-include/)
 * I love Hanna Code Insert. In a couple minutes, I am linking my Javascript code(
   edited in Sublime Text 2) to my web pages to add custom functionality and eliminate
   the need for so many “overly functional” and complicated plug-ins.
 * The problem is, I really want to link to a PHP file, so that I can edit in Sublime
   Text 2 and when I save, CodeKit 2 will reload my page. The problem is, whenever
   I add the following code:
 *     ```
       <?php
       include("http://[obscured]/wp-content/themes/emre/php/addRWTBDtoLibrary.php");
       ?>
       ```
   
 * I receive:
 * `[ hana-code-insert ] 'Add RWTBD to user library' is not found`
 * I am entering the shortcode as it appears and I have tried with and without `
   <?php ?>` tags. I also have no problem when using a simple echo, and adding an
   echo to the code above doesn’t fix the problem. Is this just a limitation of 
   the functionality of Hanna Code or is there something I may not be doing right?
 * [https://wordpress.org/plugins/hana-code-insert/](https://wordpress.org/plugins/hana-code-insert/)

The topic ‘Using PHP include();’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hana-code-insert.svg)
 * [Hana Code Insert](https://wordpress.org/plugins/hana-code-insert/)
 * [Support Threads](https://wordpress.org/support/plugin/hana-code-insert/)
 * [Active Topics](https://wordpress.org/support/plugin/hana-code-insert/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hana-code-insert/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hana-code-insert/reviews/)

## Tags

 * [not-found](https://wordpress.org/support/topic-tag/not-found/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [rhoded](https://wordpress.org/support/users/rhoded/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/using-php-include/)
 * Status: not resolved