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-layout-part.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template Part
[2] Fix | Delete
*
[3] Fix | Delete
* This template can be overridden by copying it to your child_theme_folder/themify-builder/template-layout-part.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_layout_part' => '',
[15] Fix | Delete
'selected_layout_part' => '',
[16] Fix | Delete
'add_css_layout_part' => ''
[17] Fix | Delete
);
[18] Fix | Delete
$container_class = apply_filters('themify_builder_module_classes', array(
[19] Fix | Delete
'module', 'module-' . $mod_name, $element_id,$fields_args['add_css_layout_part']
[20] Fix | Delete
), $mod_name, $element_id, $fields_args);
[21] Fix | Delete
[22] Fix | Delete
if(!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active===false){
[23] Fix | Delete
$container_class[] = $fields_args['global_styles'];
[24] Fix | Delete
}
[25] Fix | Delete
$container_props = apply_filters('themify_builder_module_container_props', array(
[26] Fix | Delete
'class' => implode(' ', $container_class),
[27] Fix | Delete
), $fields_args, $mod_name, $element_id);
[28] Fix | Delete
[29] Fix | Delete
self::sticky_element_props($container_props, $fields_args);
[30] Fix | Delete
?>
[31] Fix | Delete
<!-- module template_part -->
[32] Fix | Delete
<div <?php echo themify_get_element_attributes($container_props); ?>>
[33] Fix | Delete
<?php
[34] Fix | Delete
$container_props=$container_class=$args=null;
[35] Fix | Delete
$isLoop = Themify_Builder::$is_loop;
[36] Fix | Delete
Themify_Builder::$is_loop = true;
[37] Fix | Delete
$layoutPart=$fields_args['selected_layout_part']!==''?do_shortcode('[themify_layout_part slug="' . $fields_args['selected_layout_part'] . '"]'):'';
[38] Fix | Delete
Themify_Builder::$is_loop = $isLoop;
[39] Fix | Delete
if($layoutPart!==''){
[40] Fix | Delete
echo Themify_Builder_Component_Module::get_module_title($fields_args,'mod_title_layout_part'),$layoutPart;
[41] Fix | Delete
}
[42] Fix | Delete
?>
[43] Fix | Delete
</div>
[44] Fix | Delete
<!-- /module template_part -->
[45] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function