$title_class .= ' widget-title-italic'; } if (isset($main_title_align)) { $title_class .= ' ' . mvb_get_align_class($main_title_align); } if (isset($sub_title_align)) { $sub_title_class .= ' ' . mvb_get_align_class($sub_title_align); } if (intval($main_title_type) == 0) { if (class_exists('SB_Title_Allocate')) { $main_title = SB_Title_Allocate::wrap_rand_letter($main_title, $before_allocate, $after_allocate); } $before_title = '<h3 class="' . $title_class . '">'; $after_title = '</h3>'; $before_sub_title = '<h4 class="' . $sub_title_class . '">'; $after_sub_title = '</h4>'; } else { if (class_exists('SB_Title_Allocate')) { $main_title = SB_Title_Allocate::wrap_last_worlds($main_title, $before_allocate, $after_allocate); } $before_title = '<h2 class="' . $title_class . '">'; $after_title = '</h2>'; $before_sub_title = '<h3 class="' . $sub_title_class . '">'; $after_sub_title = '</h3>'; } if (!empty($main_title)) { echo $before_title . $main_title . $after_title; } if (!empty($sub_title)) { echo $before_sub_title . $sub_title . $after_sub_title; }