PluginProbe
Post Grid Gutenberg Blocks – PostX / 2.6.4
Post Grid Gutenberg Blocks – PostX v2.6.4
5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 5.0.17 2.1.1 2.1.2 All 237 releases
ultimate-post / blocks / template / heading.php

heading.php in Post Grid Gutenberg Blocks – PostX 2.6.4, at blocks/template/heading.php

18 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 }