Left & Right Block Formatting in 1.5.1
- Thursday, September 11 2008 @ 03:41 pm EDT
- Contributed by: THEMike
- Views: 6,510

Geeklog Themes support the ability to define a different template for different blocks. So your "What's New" block can render differently to your Login block etc. This is done by populating an array called
$_BLOCK_TEMPLATE
in a theme's functions.php file. This array is populated with the identifiers for blocks and can set specific block header and footer templates used to format specific blocks to give them a unique look and feel.
The Professional theme that ships with Geeklog prior to 1.5.1 provides logic within functions.php to alter the template for blocks without a specific template assigned to be the left or right block template depending on which side the block has been placed by the site administrator. This changes with Geeklog 1.5.1