Submit
Path:
~
/
home
/
getwphos
/
www
/
techniquetechs
/
wp-content
/
themes
/
plexify
/
elements
/
templates
/
pxl_team_list
/
File Content:
layout-1.php
<?php extract($settings); $widget->add_render_attribute( 'team-wrap', 'class', ['pxl-team-list', 'layout-'.$settings['layout']]); ?> <?php if(isset($content_list) && !empty($content_list) && count($content_list)): ?> <div <?php pxl_print_html($widget->get_render_attribute_string('team-wrap'));?>> <?php foreach ($content_list as $key => $value): $name = isset($value['name']) ? $value['name'] : ''; $image = isset($value['image']) ? $value['image'] : []; $position = isset($value['position']) ? $value['position'] : ''; $button_more = isset($value['button_more']) ? $value['button_more'] : ''; $link_key = $widget->get_repeater_setting_key( 'link_content', 'content_list', $key ); if ( ! empty( $value['link_content']['url'] ) ) { $widget->add_render_attribute( $link_key, 'href', $value['link_content']['url'] ); if ( $value['link_content']['is_external'] ) { $widget->add_render_attribute( $link_key, 'target', '_blank' ); } if ( $value['link_content']['nofollow'] ) { $widget->add_render_attribute( $link_key, 'rel', 'nofollow' ); } } $social = isset($value['social']) ? $value['social'] : ''; ?> <div class="inner-item"> <div class="box-item relative d-flex"> <div class="item-box-title d-flex"> <h4 class="item-name"> <?php if(!empty($name)): ?> <?php pxl_print_html($name); ?> <?php endif; ?> </h4> <span class="item-position">/<?php pxl_print_html($position); ?></span> </div> <div class="item-image"> <div class="reveal-image" style="background-image: url(<?php echo esc_url($value['image']['url']); ?>);"></div> </div> <?php if(!empty($social)): ?> <div class="item-social"> <?php $team_social = json_decode($social, true); foreach ($team_social as $value): ?> <div class="item-box"> <a href="<?php echo esc_url($value['url']); ?>" target="_blank"> <i class="pxli <?php echo esc_attr($value['icon']); ?>"></i> </a> </div> <?php endforeach;?> </div> <?php endif; ?> <div class="pxl-button-more"> <a <?php pxl_print_html($widget->get_render_attribute_string( $link_key )); ?>> <?php if ( ! empty( $value['link_content']['url'] ) ) ?> <span><?php pxl_print_html($button_more); ?></span> <i class="pxli pxli-upper-right-arrow"></i> <?php if ( ! empty( $value['link_content']['url'] ) ) ?> </a> </div> </div> </div> <?php endforeach; ?> </div> <?php endif; ?>
Submit
FILE
FOLDER
Name
Size
Permission
Action
layout-1.php
3493 bytes
0644
N4ST4R_ID | Naxtarrr