📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 12:08:05
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
themes
/
berich
/
elements
/
templates
/
pxl_showcase
✏️
Editing: layout-1.php
<?php if ( ! empty( $settings['btn_link1']['url'] ) ) { $widget->add_render_attribute( 'button', 'href', $settings['btn_link1']['url'] ); if ( $settings['btn_link1']['is_external'] ) { $widget->add_render_attribute( 'button', 'target', '_blank' ); } if ( $settings['btn_link1']['nofollow'] ) { $widget->add_render_attribute( 'button', 'rel', 'nofollow' ); } } if ( ! empty( $settings['btn_link2']['url'] ) ) { $widget->add_render_attribute( 'button2', 'href', $settings['btn_link2']['url'] ); if ( $settings['btn_link2']['is_external'] ) { $widget->add_render_attribute( 'button2', 'target', '_blank' ); } if ( $settings['btn_link2']['nofollow'] ) { $widget->add_render_attribute( 'button2', 'rel', 'nofollow' ); } } ?> <div class="pxl-showcase1 <?php if($settings['coming_soon'] == true) { echo 'is-coming-soon'; } ?>"> <div class="pxl-item--image"> <?php if(!empty($settings['image']['id'])) : $img = pxl_get_image_by_size( array( 'attach_id' => $settings['image']['id'], 'thumb_size' => 'full', )); $thumbnail = $img['thumbnail']; ?> <?php echo pxl_print_html($thumbnail); ?> <div class="pxl-item--overlay"></div> <?php endif; ?> <?php if(!empty($settings['popular'])) : ?> <div class="pxl-item--popular"><?php echo esc_attr($settings['popular']); ?></div> <?php endif; ?> </div> <div class="pxl-item--holder"> <div class="pxl-button--group"> <?php if(!empty($settings['btn_text1'])) : ?> <div class="pxl-item--button1"> <a class="btn" <?php pxl_print_html($widget->get_render_attribute_string( 'button' )); ?>> <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.2064 2H17.9995M17.9995 2V7.79311M17.9995 2L12.2064 7.79311M7.79363 18H2.00052M2.00052 18V12.2069M2.00052 18L8.00052 12M18 12.2064V17.9995M18 17.9995H12.2069M18 17.9995L12.2069 12.2064M2 7.79363L2 2.00052M2 2.00052L7.79311 2.00052M2 2.00052L8 8.00052" stroke="white" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span class="pxl-ml-12"><?php echo esc_attr($settings['btn_text1']); ?></span> </a> </div> <?php endif; ?> <?php if(!empty($settings['btn_text2'])) : ?> <div class="pxl-item--button2"> <a class="btn" <?php pxl_print_html($widget->get_render_attribute_string( 'button2' )); ?>> <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.2064 2H17.9995M17.9995 2V7.79311M17.9995 2L12.2064 7.79311M7.79363 18H2.00052M2.00052 18V12.2069M2.00052 18L8.00052 12M18 12.2064V17.9995M18 17.9995H12.2069M18 17.9995L12.2069 12.2064M2 7.79363L2 2.00052M2 2.00052L7.79311 2.00052M2 2.00052L8 8.00052" stroke="white" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/> </svg> <span class="pxl-ml-12"><?php echo esc_attr($settings['btn_text2']); ?></span> </a> </div> <?php endif; ?> </div> <h5 class="pxl-item--title"><?php echo esc_attr($settings['title']); ?></h5> </div> </div>
💾 Save Changes
❌ Cancel