Block Subtitle
509 sites
Security covered
This module adds an optional subtitle field to blocks, allowing for more descriptive block titles. You can enter a subtitle when configuring a block and then add theme template suggestions to display it.
πΊπ¦
This module is maintained by Ukrainian developers.Please consider supporting Ukraine in a fight for their freedom and safety of Europe.
This module allows subtitle to be added to blocks.
Installation
- Enable the Block Subtitle module under Administer >> Site Building >> Modules
- To add a subtitle to a block, go to the block configuration page. A new field 'subtitle' will be available. Enter your subtitle and click save.
- Now you need to edit block.tpl.php in your theme. Add the following code to show the block subtitle
<?php if (!empty($block->subtitle)): ?>
<h3 class="subtitle"><?php print $block->subtitle; ?></h3>
<?php endif; ?>