Hana Code Insert v2.2
Posted in Wordpress, Wordpress Plugins on October 4th, 2009 by HanaDaddy – Be the first to commentv2.2 (10/04/2009) :
1. PHP code content evaluation
Some modification on PHP evaluation that you can use <?php and ?> within the entry content for PHP evaluation.
So, in the previous version, if you wanted PHP code output, you could not use <?php and ?>. But now you can use them inside the entry item.
Previously you could only define PHP codes only.
print "<div style='border:1px dotted red; padding: 5px;'>"; print date("m/d/Y H:i:s"); print "</div>";
But now, below code will work too.
<div style='border:1px dotted red; padding: 5px;'> < ?php print date("m/d/Y H:i:s");?> </div>

2. Custom ShortCode
Also extra feature for custom short code is added. You can define your own custom short code prefix and post fix. So you don’t have to use [hana-code-insert] shortcode any more.
If defined, custom short code format can be used instead of [hana-code-insert name='Entry Name' /]. For example, if you define {{ for start indicator, }} for end indicator, you can use {{Entry Name}}. But beware, your new shortcode format may conflict with other plugins and cause one or more plugins to fail.
read more »
