📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 12:09:20
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
templates
/
pxl_content_slip
✏️
Editing: layout-1.php
<?php if(isset($settings['content_slip']) && !empty($settings['content_slip']) && count($settings['content_slip'])): ?> <div class="pxl-content-slip pxl-content-slip1 pxl-flex"> <div class="pxl-content-left"> <?php foreach ($settings['content_slip'] as $key => $value): $image = isset($value['image']) ? $value['image'] : ''; if(!empty($image['id'])) { $img_url = pxl_get_image_by_size( array( 'attach_id' => $image['id'], 'thumb_size' => 'full', 'class' => 'no-lazyload', )); $thumbnail_url = $img_url['url']; ?> <div class="pxl-item--left pxl-item--image bg-image <?php if($key == 0) { echo 'is-active'; } ?>" style="background-image: url(<?php echo esc_url($thumbnail_url); ?>);"></div> <?php } ?> <?php endforeach; ?> </div> <div class="pxl-content-right"> <?php foreach ($settings['content_slip'] as $key => $value): $image = isset($value['image']) ? $value['image'] : ''; $feature_list = isset($value['feature_list']) ? $value['feature_list'] : ''; $title = isset($value['title']) ? $value['title'] : ''; $desc = isset($value['desc']) ? $value['desc'] : ''; $btn_text = isset($value['btn_text']) ? $value['btn_text'] : ''; $btn_link = isset($value['btn_link']) ? $value['btn_link'] : ''; $link_key = $widget->get_repeater_setting_key( 'link', 'value', $key ); if ( ! empty( $btn_link['url'] ) ) { $widget->add_render_attribute( $link_key, 'href', $btn_link['url'] ); if ( $btn_link['is_external'] ) { $widget->add_render_attribute( $link_key, 'target', '_blank' ); } if ( $btn_link['nofollow'] ) { $widget->add_render_attribute( $link_key, 'rel', 'nofollow' ); } } $link_attributes = $widget->get_render_attribute_string( $link_key ); ?> <div class="pxl-item--right pxl--item"> <div class="pxl-item--inner <?php echo esc_attr($settings['pxl_animate']); ?>" data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay']); ?>ms"> <?php if(!empty($image['id'])) { $img_thumb = pxl_get_image_by_size( array( 'attach_id' => $image['id'], 'thumb_size' => '600x400', 'class' => 'no-lazyload', )); $thumbnail = $img_thumb['thumbnail']; ?> <div class="pxl-main-image"> <?php echo wp_kses_post($thumbnail); ?> </div> <?php } ?> <h5 class="pxl-item--title pxl-empty"><?php echo esc_attr($title); ?></h5> <div class="pxl-item--desc pxl-empty"><?php echo esc_attr($desc); ?></div> <?php if(!empty($feature_list)) : ?> <ul class="pxl-item--feature"> <?php $pricing_feature = json_decode($feature_list, true); ?> <?php foreach ($pricing_feature as $value): ?> <li><i class="<?php if (!empty($value['icon'])) { echo esc_attr($value['icon']); } else { echo 'caseicon-check-mark'; } ?> pxl-mr-10"></i><?php echo esc_attr($value['content']); ?></li> <?php endforeach; ?> </ul> <?php endif; ?> <?php if(!empty($btn_text)) : ?> <div class="pxl-item--button"> <a class="btn btn-slip-primary" <?php echo implode( ' ', [ $link_attributes ] ); ?>><?php echo esc_attr($btn_text); ?><i class="flaticon flaticon-right-up pxl-ml-26"></i></a> </div> <?php endif; ?> </div> </div> <?php endforeach; ?> </div> </div> <?php endif; ?>
💾 Save Changes
❌ Cancel