Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/themify-.../template...
File: template-callout.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template Callout
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to your child_theme_folder/themify-builder/template-callout.php.
[4] Fix | Delete
*
[5] Fix | Delete
* Access original fields: $args['mod_settings']
[6] Fix | Delete
* @author Themify
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
defined( 'ABSPATH' ) || exit;
[10] Fix | Delete
[11] Fix | Delete
$mod_name=$args['mod_name'];
[12] Fix | Delete
$element_id = $args['module_ID'];
[13] Fix | Delete
$fields_args=$args['mod_settings']+ array(
[14] Fix | Delete
'mod_title_callout' => '',
[15] Fix | Delete
'appearance_callout' => '',
[16] Fix | Delete
'layout_callout' => '',
[17] Fix | Delete
'color_callout' => 'tb_default_color',
[18] Fix | Delete
'heading_callout' => '',
[19] Fix | Delete
'title_tag' => 'h3',
[20] Fix | Delete
'text_callout' => '',
[21] Fix | Delete
'action_btn_link_callout' => '#',
[22] Fix | Delete
'open_link_new_tab_callout' => '',
[23] Fix | Delete
'action_btn_text_callout' => '',
[24] Fix | Delete
'action_btn_color_callout' => 'tb_default_color',
[25] Fix | Delete
'action_btn_appearance_callout' => '',
[26] Fix | Delete
'css_callout' => '',
[27] Fix | Delete
'animation_effect' => ''
[28] Fix | Delete
);
[29] Fix | Delete
if (!empty($fields_args['appearance_callout'])) {
[30] Fix | Delete
$fields_args['appearance_callout'] = self::get_checkbox_data($fields_args['appearance_callout']);
[31] Fix | Delete
Themify_Builder_Model::load_appearance_css($fields_args['appearance_callout']);
[32] Fix | Delete
}
[33] Fix | Delete
if (!empty($fields_args['action_btn_text_callout'])) {
[34] Fix | Delete
$fields_args['action_btn_appearance_callout'] = self::get_checkbox_data($fields_args['action_btn_appearance_callout']);
[35] Fix | Delete
Themify_Builder_Model::load_appearance_css($fields_args['action_btn_appearance_callout']);
[36] Fix | Delete
}
[37] Fix | Delete
Themify_Builder_Model::load_color_css($fields_args['color_callout']);
[38] Fix | Delete
$container_class =apply_filters('themify_builder_module_classes', array(
[39] Fix | Delete
'module ui',
[40] Fix | Delete
'module-' . $mod_name,
[41] Fix | Delete
$element_id,
[42] Fix | Delete
$fields_args['layout_callout'],
[43] Fix | Delete
$fields_args['color_callout'],
[44] Fix | Delete
$fields_args['css_callout'],
[45] Fix | Delete
$fields_args['appearance_callout']
[46] Fix | Delete
), $mod_name, $element_id, $fields_args);
[47] Fix | Delete
[48] Fix | Delete
if(!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active===false){
[49] Fix | Delete
$container_class[] = $fields_args['global_styles'];
[50] Fix | Delete
}
[51] Fix | Delete
$container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args,array(
[52] Fix | Delete
'class' => implode(' ', $container_class),
[53] Fix | Delete
)), $fields_args, $mod_name, $element_id);
[54] Fix | Delete
[55] Fix | Delete
if(Themify_Builder::$frontedit_active===false){
[56] Fix | Delete
$container_props['data-lazy']=1;
[57] Fix | Delete
}
[58] Fix | Delete
self::sticky_element_props($container_props,$fields_args);
[59] Fix | Delete
$fields_args['title_tag'] = esc_attr( $fields_args['title_tag'] );
[60] Fix | Delete
?>
[61] Fix | Delete
<!-- module callout -->
[62] Fix | Delete
<div <?php echo themify_get_element_attributes($container_props); ?>>
[63] Fix | Delete
<?php $container_props=$container_class=$args=null;
[64] Fix | Delete
echo Themify_Builder_Component_Module::get_module_title($fields_args,'mod_title_callout');
[65] Fix | Delete
?>
[66] Fix | Delete
[67] Fix | Delete
<div class="callout-inner">
[68] Fix | Delete
<div class="callout-content tf_left">
[69] Fix | Delete
<<?php echo $fields_args['title_tag'];?> class="callout-heading"><?php echo $fields_args['heading_callout'] ?></<?php echo $fields_args['title_tag'];?>>
[70] Fix | Delete
<div class="tb_text_wrap">
[71] Fix | Delete
<?php echo apply_filters('themify_builder_module_content', $fields_args['text_callout']);?>
[72] Fix | Delete
</div>
[73] Fix | Delete
</div>
[74] Fix | Delete
<!-- /callout-content -->
[75] Fix | Delete
<?php if ($fields_args['action_btn_text_callout']!=='') : ?>
[76] Fix | Delete
<?php
[77] Fix | Delete
$ui_class = array($fields_args['action_btn_appearance_callout'],$fields_args['action_btn_color_callout']);
[78] Fix | Delete
Themify_Builder_Model::load_color_css($fields_args['action_btn_color_callout']);
[79] Fix | Delete
?>
[80] Fix | Delete
<div class="callout-button tf_right tf_textr">
[81] Fix | Delete
<a href="<?php echo esc_url($fields_args['action_btn_link_callout']); ?>" class="ui builder_button <?php echo implode(' ', $ui_class); ?>"<?php echo 'yes' === $fields_args['open_link_new_tab_callout'] ? ' rel="noopener" target="_blank"' : ''; ?>>
[82] Fix | Delete
<span class="tb_callout_text"><?php echo $fields_args['action_btn_text_callout'] ?></span>
[83] Fix | Delete
</a>
[84] Fix | Delete
</div>
[85] Fix | Delete
<?php endif; ?>
[86] Fix | Delete
</div>
[87] Fix | Delete
<!-- /callout-content -->
[88] Fix | Delete
</div>
[89] Fix | Delete
<!-- /module callout -->
[90] Fix | Delete
[91] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function