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: builder-layout-part-output.php
<?php
[0] Fix | Delete
[1] Fix | Delete
defined( 'ABSPATH' ) || exit;
[2] Fix | Delete
[3] Fix | Delete
$isActive=Themify_Builder::$frontedit_active===true;
[4] Fix | Delete
$args['builder_id'] = (int) $args['builder_id'];
[5] Fix | Delete
Themify_Builder_Stylesheet::enqueue_stylesheet( false, $args['builder_id'] );
[6] Fix | Delete
Themify_Builder::$frontedit_active = false;
[7] Fix | Delete
$attr = array(
[8] Fix | Delete
'class' => 'themify_builder_content themify_builder_content-' . $args['builder_id'] . ' themify_builder not_editable_builder',
[9] Fix | Delete
'data-postid' => $args['builder_id'],
[10] Fix | Delete
);
[11] Fix | Delete
if ( Themify_Builder::$is_loop === true ) {
[12] Fix | Delete
$attr['class'] .= ' in_the_loop';
[13] Fix | Delete
}
[14] Fix | Delete
$post_type = get_post_type( $args['builder_id'] );
[15] Fix | Delete
if ($isActive===false && in_array( $post_type, array(Themify_Builder_Layouts::LAYOUT_PART_SLUG, 'tbp_template' ), true ) && Themify_Builder_Model::is_frontend_editor_page( $args['builder_id'] ) ) {
[16] Fix | Delete
$post_type_label = get_post_type_object( $post_type )->labels->singular_name;
[17] Fix | Delete
$attr['data-label'] = sprintf( __( 'Edit %1$s<strong>: %2$s</strong>' ), $post_type_label, get_the_title( $args['builder_id'] ) );
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
[21] Fix | Delete
?>
[22] Fix | Delete
<?php if($isActive===false && isset($args['l_p'])):?>
[23] Fix | Delete
<div class="tb_layout_part_wrap tf_w">
[24] Fix | Delete
<?php endif; ?>
[25] Fix | Delete
<!--themify_builder_content-->
[26] Fix | Delete
<div <?php echo themify_get_element_attributes( $attr ); ?>>
[27] Fix | Delete
<?php
[28] Fix | Delete
foreach ($args['builder_output'] as $row) :
[29] Fix | Delete
if (!empty($row)) {
[30] Fix | Delete
Themify_Builder_Component_Row::template($row, $args['builder_id'], true);
[31] Fix | Delete
}
[32] Fix | Delete
endforeach; // end row loop
[33] Fix | Delete
?>
[34] Fix | Delete
</div>
[35] Fix | Delete
<!--/themify_builder_content-->
[36] Fix | Delete
<?php if($isActive===false && isset($args['l_p'])):?>
[37] Fix | Delete
</div>
[38] Fix | Delete
<?php endif; ?>
[39] Fix | Delete
<?php if(!empty($args['pb_pagination'])): ?>
[40] Fix | Delete
<!--themify_lp_pagination-->
[41] Fix | Delete
<?php echo $args['pb_pagination']; ?>
[42] Fix | Delete
<!--/themify_lp_pagination-->
[43] Fix | Delete
<?php endif; ?>
[44] Fix | Delete
<?php Themify_Builder::$frontedit_active = $isActive;$args=null;?>
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function