Adding Editable Area Block in a Theme Question
Permalink
I'm just curious about something.
When adding a block area to my theme, I've been using:
for every single area I add to my theme.
That said, I see many themes using
they seem to show up in a multitude of different ways. Some people using a different word or set of letters after the $ sign, and some using the same set of letters for every block area on a theme.
Can someone explain the do's and don'ts since there doesn't really seem to be any consistency and I can't find any information about it. Thanks in advance for anyone who can shine some light on it. I'm good to give Karma too! :)
When adding a block area to my theme, I've been using:
<?php $a=new Area('Area Name Here'); $a->setBlockLimit(1); $a->display($c); ?>
for every single area I add to my theme.
That said, I see many themes using
$ah $a $menu
they seem to show up in a multitude of different ways. Some people using a different word or set of letters after the $ sign, and some using the same set of letters for every block area on a theme.
Can someone explain the do's and don'ts since there doesn't really seem to be any consistency and I can't find any information about it. Thanks in advance for anyone who can shine some light on it. I'm good to give Karma too! :)
I think the reason there are all sorts of different styles for this is just an artifact of early samples and tutorials being inconsistent -- but there's no technical reason to do it one way over another.