Bludit supports plugins, and each plugin has hooks; the hooks are functions, and these functions are executed in different places in the theme.
The list of hooks is here:
For example, to execute all plugins activated with the hook
siteHead, you can use the
<?php Theme::plugins('siteHead'); ?>
Here's a complete example of how to include 3 types of hooks, and execute them in the correct place in the theme.
<!DOCTYPE html> <html> <head> <title>Hello</title> <?php Theme::plugins('siteHead'); ?> </head> <body> <?php Theme::plugins('siteBodyBegin'); ?> <h1>This is a Heading</h1> <p>This is a paragraph.</p> <?php Theme::plugins('siteBodyEnd'); ?> </body> </html>