<font face="tahoma,sans-serif">Hi All,</font><div><font face="tahoma,sans-serif"><br></font></div><div><font face="tahoma,sans-serif">In next theme, we are preparing for open-source release, we want to provide a "hooks-editor" interface.</font></div>
<div><font face="tahoma,sans-serif"><br></font></div><div><font face="tahoma,sans-serif">Like many pro themes, we have added a lot of custom action & filter hooks in our theme code base.</font></div><div><font face="tahoma,sans-serif">In admin area, we plan to provide list of hooks, each coupled with a textarea, which can be used to post php-html codes in them (like action-handlers)</font></div>
<div><font face="tahoma,sans-serif"><br></font></div><div><font face="tahoma,sans-serif">Now, to "execute" action handlers in textarea, we need to use eval() function in PHP which is prohibited here.</font></div>
<div><font face="tahoma,sans-serif"><br></font></div><div><font face="tahoma,sans-serif">So what are my alternatives here?</font></div><div><span style="font-family:tahoma, sans-serif"><br></span></div>
<div><font face="tahoma,sans-serif"></font><span style="font-family:tahoma, sans-serif">Just a note - we do not want to provide custom.css and/or custom-functions.php files (like thesis provides) as they are hard to maintain in multisite environment.</span></div>
<div><span style="font-family:tahoma, sans-serif">Also child-theme support is not yet present on repo so creating child themes with style.css & function.php (to declare action handlers) is not feasible either at this stage. </span></div>
<div><font face="tahoma,sans-serif"><br></font></div><div><font face="tahoma,sans-serif">Please suggest something.</font></div><div><font face="tahoma,sans-serif"><br></font></div><div><font face="tahoma,sans-serif">Thanks,</font></div>
<div><font face="tahoma,sans-serif">-Rahul<br clear="all"></font><span style="font-family:tahoma, sans-serif">--<br>Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.<br>Skype: rahul286 | Twitter: @rahul286 | Web: <a href="http://rtcamp.com/" target="_blank">http://rtcamp.com/</a><br>
</span><br>
</div>