How to add html to wrap custom panels layout programaticly? I know that i can change html in *.tpl.php but i want to avoid it. Also i want to know, how to add class to panals programaticly too.
UPD: I create custom panels layout and want to add html with custom class to wrapp regions of custom panel layout. I found good decision to use module Semantic panels, but it add markup to field, not to whole region.
This is part of my html
<?php if ($content['left'] || $content['middle'] || $content['middle_two'] || $content['right']): ?>
<div class="row">
<div class="col-xs-12 col-md-3 col-lg-3">
<?php print $content['left']; ?>
</div>
</div>
<?php endif ?>
I want to make it like that
<?php if ($content['left'] || $content['middle'] || $content['middle_two'] || $content['right']): ?>
<div class="row">
<div class="col-xs-12 col-md-3 col-lg-3">
<article class="$custom_class">
<?php print $content['left']; ?>
</article>
</div>
</div>
<?php endif ?>