You can create content blocks with PHP code.

Just copy the PHP as normal into a content block without the <?php, <?, ?> tags and insert the block into your content as normal.

Filed under: GCB Advanced Usage

Like this post? Subscribe to my RSS feed and get loads more!