Be prepared to get hooked up! This plugin allows you to insert any content you want into the custom hooks added by the K2 theme. K2-RC6+ is required.
At least K2-RC6. Versions prior to this did not include the hooks necessary for this plugin to work. Use the latest nightly, to ensure that all of the hooks presented will be available in your theme.
Yes. For more information on K2 child themes, check the wiki.
As of v1.0, the plugin has an option next to each hook's input box to indicate if the content contains PHP or not. Just be sure to enclose your content in the proper tags:
<?php // your code goes here ?>. Code output that you want to see should be done via print or echo.
Make sure there aren't any PHP errors being generated by your code. If any of your code errors, it won't be able to finish parsing it.
Sure! Just implement the same hooks that K2 uses in your theme files, and the plugin will happily work its magic. In fact, I think that all themes should implement these hooks as a matter of standard practice.
Let me know if you implement these hooks in your theme so I can link to you.
Its filed under the 'Design' tab, next to the other K2 option pages. It seemed to be the most logical place for it. Earlier versions filed it under the Settings tab.
The project is now hosted on github.com. Just fork the project and send me a pull request.
Requires: 2.5 or higher
Compatible up to: 2.9.2
Last Updated: 6 years ago
Active Installs: 90+
Got something to say? Need help?