'',
'class' => '',
'title' => '',
'heading' => 'h2',
'thumbnail' => '',
'before' => '',
'content' => '',
'after' => '',
'comments' => ''
)
);
extract($args);
if (theme_is_empty_html($title) && theme_is_empty_html($content))
return;
if ($id) {
$id = ' id="' . $id . '" ';
}
if ($class) {
$class = ' ' . $class;
}
?>
class="bf-post bf-article ">
'.$title.''.$heading.'>';
}
?>
'',
'class' => '',
'title' => '',
'heading' => 'div',
'content' => '',
)
);
extract($args);
if (theme_is_empty_html($title) && theme_is_empty_html($content))
return;
if ($id) {
$id = ' id="' . $id . '" ';
}
if ($class) {
$class = ' ' . $class;
}
echo "
';
}
function theme_block_wrapper($args) {
$args = wp_parse_args($args, array(
'id' => '',
'class' => '',
'title' => '',
'heading' => 'div',
'content' => '',
)
);
extract($args);
if (theme_is_empty_html($title) && theme_is_empty_html($content))
return;
if ($id) {
$id = ' id="' . $id . '" ';
}
if ($class) {
$class = ' ' . $class . ' ';
}
$begin = <<
EOL;
$begin_title = <<