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/clone/wp-conte.../plugins/themify-.../template...
File: template-text.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template Text
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to your child_theme_folder/themify-builder/template-text.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_text' => '',
[15] Fix | Delete
'content_text' => '',
[16] Fix | Delete
'text_drop_cap' => '',
[17] Fix | Delete
'add_css_text' => '',
[18] Fix | Delete
'background_repeat' => '',
[19] Fix | Delete
'animation_effect' => ''
[20] Fix | Delete
);
[21] Fix | Delete
[22] Fix | Delete
$container_class = apply_filters('themify_builder_module_classes', array(
[23] Fix | Delete
'module',
[24] Fix | Delete
'module-' . $mod_name,
[25] Fix | Delete
$element_id,
[26] Fix | Delete
$fields_args['add_css_text'],
[27] Fix | Delete
$fields_args['background_repeat'],
[28] Fix | Delete
$fields_args['text_drop_cap'] === 'dropcap' ? 'tb_text_dropcap' : ''
[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
$container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args, array(
[35] Fix | Delete
'class' => implode(' ', $container_class),
[36] Fix | Delete
)), $fields_args, $mod_name, $element_id);
[37] Fix | Delete
[38] Fix | Delete
if (Themify_Builder::$frontedit_active === false) {
[39] Fix | Delete
$container_props['data-lazy'] = 1;
[40] Fix | Delete
}
[41] Fix | Delete
self::sticky_element_props($container_props, $fields_args);
[42] Fix | Delete
?>
[43] Fix | Delete
<!-- module text -->
[44] Fix | Delete
<div <?php echo themify_get_element_attributes($container_props); ?>>
[45] Fix | Delete
<?php
[46] Fix | Delete
$container_props = $container_class = $args = null;
[47] Fix | Delete
echo Themify_Builder_Component_Module::get_module_title($fields_args, 'mod_title_text');
[48] Fix | Delete
?>
[49] Fix | Delete
<div class="tb_text_wrap">
[50] Fix | Delete
<?php echo apply_filters('themify_builder_module_content', $fields_args['content_text']); ?>
[51] Fix | Delete
</div>
[52] Fix | Delete
</div>
[53] Fix | Delete
<!-- /module text -->
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function