HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/themes/shootinschool/vc_templates/stm_icon_list.php
<?php
$list_type = 'marked';
$title = '';
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );

$circleClass = "";

if($circle_bg == "enable") {
	$circleClass = "circle";
}

$hf = (!is_layout("af") && !is_layout("baseball")) ? "heading-font" : "normal_font";

if($list_type == 'font' and !empty($title)) {
	$content = str_replace('<ul>', '<ul class="stm-list-icon ' . $circleClass . '">', $content);
	$content = str_replace('<li>', '<li class="' . $hf . '"><i class="'.$title. ' ' .$circleClass. ' "></i>', $content);
}
?>
<?php echo wpb_js_remove_wpautop($content, true); ?>