add widget class to blocks again by default. we have the wrap variable now to remove the div wrapper if necessary.
This commit is contained in:
parent
b7f6cceaea
commit
cc3c1107bd
@ -155,7 +155,7 @@ function comanche_block($s) {
|
|||||||
dbesc($name)
|
dbesc($name)
|
||||||
);
|
);
|
||||||
if($r) {
|
if($r) {
|
||||||
$o .= (($var['wrap'] == 'none') ? '' : '<div class="bblock">');
|
$o .= (($var['wrap'] == 'none') ? '' : '<div class="bblock widget">');
|
||||||
if($r[0]['title'])
|
if($r[0]['title'])
|
||||||
$o .= '<h3>' . $r[0]['title'] . '</h3>';
|
$o .= '<h3>' . $r[0]['title'] . '</h3>';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user