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-code.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template Code
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to your child_theme_folder/themify-builder/template-code.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
'm_t' => '',
[15] Fix | Delete
'code' => '',
[16] Fix | Delete
'lng'=>'',
[17] Fix | Delete
'theme'=>'',
[18] Fix | Delete
'numbers'=>'yes',
[19] Fix | Delete
'copy'=>'yes',
[20] Fix | Delete
'highlight'=>'',
[21] Fix | Delete
'css' => '',
[22] Fix | Delete
'animation_effect' => '',
[23] Fix | Delete
);
[24] Fix | Delete
$container_class = apply_filters('themify_builder_module_classes', array(
[25] Fix | Delete
'module',
[26] Fix | Delete
'module-' . $mod_name,
[27] Fix | Delete
$element_id,
[28] Fix | Delete
$fields_args['css']
[29] Fix | Delete
), $mod_name, $element_id, $fields_args);
[30] Fix | Delete
[31] Fix | Delete
if(!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active===false){
[32] Fix | Delete
$container_class[] = $fields_args['global_styles'];
[33] Fix | Delete
}
[34] Fix | Delete
if($fields_args['theme']!==''){
[35] Fix | Delete
$container_class[]='tb_prism_'.$fields_args['theme'];
[36] Fix | Delete
}
[37] Fix | Delete
$container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args,array(
[38] Fix | Delete
'class' => implode(' ',$container_class),
[39] Fix | Delete
)), $fields_args, $mod_name, $element_id);
[40] Fix | Delete
[41] Fix | Delete
if(Themify_Builder::$frontedit_active===false){
[42] Fix | Delete
$container_props['data-lazy']=1;
[43] Fix | Delete
}
[44] Fix | Delete
if($fields_args['theme']!==''){
[45] Fix | Delete
$container_props['data-theme']=$fields_args['theme'];
[46] Fix | Delete
}
[47] Fix | Delete
self::sticky_element_props($container_props,$fields_args);
[48] Fix | Delete
?>
[49] Fix | Delete
<!-- module code -->
[50] Fix | Delete
<div <?php echo themify_get_element_attributes($container_props); ?>>
[51] Fix | Delete
<?php $container_props=$container_class=$args=null;
[52] Fix | Delete
echo Themify_Builder_Component_Module::get_module_title($fields_args,'m_t');
[53] Fix | Delete
?>
[54] Fix | Delete
<pre class="tf_rel tf_scrollbar tf_textl"<?php if($fields_args['highlight']!==''):?> data-line="<?php esc_attr_e($fields_args['highlight'])?>"<?php endif;?>>
[55] Fix | Delete
<code class="language-<?php echo $fields_args['lng']?><?php if($fields_args['numbers']==='yes'):?> line-numbers<?php endif;?>"><?php echo htmlspecialchars($fields_args['code'])?></code>
[56] Fix | Delete
<?php if($fields_args['copy']==='yes'):?>
[57] Fix | Delete
<em class="tb_code_copy tf_opacity">
[58] Fix | Delete
<?php echo themify_get_icon('clipboard','ti',true);?>
[59] Fix | Delete
</em>
[60] Fix | Delete
<?php endif;?>
[61] Fix | Delete
</pre>
[62] Fix | Delete
</div>
[63] Fix | Delete
<!-- /module code -->
[64] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function