lb:php

executes any PHP code from template.

New in Loudblog 0.6

This cool for embedding third party scripts into your Loudblog frontend. Don’t worry about the “html” suffix of the template file. You must not rename it: The php code will be executed anyway.

Usage

<lb:php>echo (6 + 4);</lb:php>

Returns

10