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-post-title.php
<?php
[0] Fix | Delete
if (!defined('ABSPATH'))
[1] Fix | Delete
exit; // Exit if accessed directly
[2] Fix | Delete
/**
[3] Fix | Delete
* Template Post Title
[4] Fix | Delete
*
[5] Fix | Delete
* Access original fields: $args['mod_settings']
[6] Fix | Delete
* @author Themify
[7] Fix | Delete
*/
[8] Fix | Delete
$fields_default = array(
[9] Fix | Delete
'link' => 'permalink',
[10] Fix | Delete
'open_link' => 'regular',
[11] Fix | Delete
'lightbox_w_unit' => '%',
[12] Fix | Delete
'lightbox_h_unit' => '%',
[13] Fix | Delete
'html_tag' => 'h2',
[14] Fix | Delete
'no_follow' => 'no',
[15] Fix | Delete
'css' => '',
[16] Fix | Delete
'animation_effect' => ''
[17] Fix | Delete
);
[18] Fix | Delete
$fields_args = wp_parse_args($args['mod_settings'], $fields_default);
[19] Fix | Delete
unset($args['mod_settings']);
[20] Fix | Delete
$fields_default=null;
[21] Fix | Delete
$mod_name=$args['mod_name'];
[22] Fix | Delete
$builder_id = $args['builder_id'];
[23] Fix | Delete
$element_id =$args['module_ID'];
[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
if(!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active===false){
[31] Fix | Delete
$container_class[] = $fields_args['global_styles'];
[32] Fix | Delete
}
[33] Fix | Delete
$container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args,array(
[34] Fix | Delete
'class' => implode( ' ', $container_class ),
[35] Fix | Delete
)), $fields_args, $mod_name, $element_id );
[36] Fix | Delete
$args=null;
[37] Fix | Delete
if(Themify_Builder::$frontedit_active===false){
[38] Fix | Delete
$container_props['data-lazy']=1;
[39] Fix | Delete
}
[40] Fix | Delete
?>
[41] Fix | Delete
<!-- Post Title module -->
[42] Fix | Delete
<div <?php echo self::get_element_attributes(self::sticky_element_props($container_props,$fields_args));?>>
[43] Fix | Delete
<?php $container_props=$container_class=null;
[44] Fix | Delete
do_action('themify_builder_background_styling',$builder_id,array('styling'=>$fields_args,'mod_name'=>$mod_name),$element_id,'module');
[45] Fix | Delete
$the_query = Tbp_Utils::get_actual_query();
[46] Fix | Delete
if ( $the_query===null || $the_query->have_posts() ){
[47] Fix | Delete
if($the_query!==null){
[48] Fix | Delete
$the_query->the_post();
[49] Fix | Delete
}
[50] Fix | Delete
themify_before_post_title();
[51] Fix | Delete
self::retrieve_template('partials/title.php', $fields_args);
[52] Fix | Delete
themify_after_post_title();
[53] Fix | Delete
if($the_query!==null){
[54] Fix | Delete
wp_reset_postdata();
[55] Fix | Delete
}
[56] Fix | Delete
}
[57] Fix | Delete
?>
[58] Fix | Delete
</div>
[59] Fix | Delete
<!-- /Post Title module -->
[60] Fix | Delete
[61] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function