Integrating Agile Toolkit with WordPress
The question I get asked a lot is how to integrate Agile Toolkit with other frameworks.
One of the best qualities of Agile Toolkit is that it can be very nibble when you want to use it to fill the gap. So let’s scrap the whole page routing mechanics and simply create a SINGLE PHP file which would work on it’s own. For this, you will need to have most up-to-date Agile Toolkit (4.1.3).
Download “Agile Toolkit” and un-pack in the temporary directory. Copy folder “atk4″ into your wordpress directory.
Next open file test.php inside your wordpress and type the following:
$api->add(‘H1′)->set(‘Subscribe to Newsletter’);
$form->js()->univ()->alert(‘Thank you for subscribing, ‘.$em)->execute();
If you open this file in your browser, you’ll see a form with a field. You can now refer to samples on agiletoolkit.org site to customize or even create your own theme, but pretty much any code should work for you.