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("https://[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?
- The topic ‘Using PHP include();’ is closed to new replies.