I've created some blocks (not related to any other module, just through the "add block" option) and I am attempting to call them in the correct places in my homepage template.
I found the following code:
$block = module_invoke('block', 'block', 'view', '1'); //where 1 is block delta print $block['content'];
But this only allows me to display the block content. Is there a way to get the block title too? I did find some people using $block['title'] or $block['subject'] but my $block array only seems to have the content in and nothing else.
Apologies if this is a common question but I couldn't seem to find an answer for the life of me!