'', '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.''; } ?>
'', '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 "
"; if (!theme_is_empty_html($title)) echo '<' . $heading . ' class="bf-widget-title">' . $title . ''; echo '
' . $content . '
'; 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 = << <$heading class="t"> EOL; $end_title = << EOL; $begin_content = << EOL; $end_content = << EOL; $end = << EOL; echo $begin; if ($begin_title && $end_title && !theme_is_empty_html($title)) { echo $begin_title . $title . $end_title; } echo $begin_content; echo $content; echo $end_content; echo $end; } function theme_vmenu_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 = << EOL; $end_content = << EOL; $end = << EOL; echo $begin; if ($begin_title && $end_title && !theme_is_empty_html($title)) { echo $begin_title . $title . $end_title; } echo $begin_content; echo $content; echo $end_content; echo $end; }