| 1 |
<?php |
| 2 |
defined('ABSPATH') || exit; |
| 3 |
|
| 4 |
if ($attr['headingShow']) { |
| 5 |
$wraper_before .= '<div class="ultp-heading-wrap ultp-heading-'.$attr["headingStyle"].' ultp-heading-'.$attr["headingAlign"].'">'; |
| 6 |
if ($attr['headingURL']) { |
| 7 |
$wraper_before .= '<'.$attr['headingTag'].' class="ultp-heading-inner"><a href="'.$attr["headingURL"].'"><span>'.$attr["headingText"].'</span></a></'.$attr['headingTag'].'>'; |
| 8 |
} else { |
| 9 |
$wraper_before .= '<'.$attr['headingTag'].' class="ultp-heading-inner"><span>'.$attr["headingText"].'</span></'.$attr['headingTag'].'>'; |
| 10 |
} |
| 11 |
if ($attr['headingStyle'] == 'style11' && $attr['headingURL'] && $attr['headingBtnText']) { |
| 12 |
$wraper_before .= '<a class="ultp-heading-btn" href="'.$attr['headingURL'].'">'.$attr["headingBtnText"].ultimate_post()->svg_icon('rightAngle2').'</a>'; |
| 13 |
} |
| 14 |
if ($attr['subHeadingShow']) { |
| 15 |
$wraper_before .= '<div class="ultp-sub-heading"><div class="ultp-sub-heading-inner">'.$attr['subHeadingText'].'</div></div>'; |
| 16 |
} |
| 17 |
$wraper_before .= '</div>'; |
| 18 |
} |