This commit is contained in:
2026-03-19 22:14:41 +01:00
parent b4b460fd21
commit ec6fef7bfc
3 changed files with 106120 additions and 234 deletions

View File

@@ -986,23 +986,23 @@ class restly_team_member_Widget extends Widget_Base {
<div class="<?php echo esc_attr($restly_team_class); ?>">
<div class="restly-team-item">
<div class="restly-team-img">
<a href="<?php the_permalink(); ?>">
<a href="<?php the_permalink(); ?>" target="_blank" rel="noopener noreferrer">
<?php the_post_thumbnail('full',array('class' => 'restly-team-image')); ?>
</a>
<?php if($settings['restly_team_social_enable'] == 'yes' && !empty($restly_team_meta['restly_team_socials']) && $settings['restly_team_select_style'] == 'four' ) : ?>
<div class="restly-team-social">
<ul>
<?php foreach($restly_team_meta['restly_team_socials'] as $restly_tsocial){
echo '<li><a href="'.esc_url($restly_tsocial['restly_team_social_link']).'" title="'.esc_attr($restly_tsocial['restly_team_social_label']).'"><i class="'.esc_attr($restly_tsocial['restly_teams_socials_icon']).'"></i></a></li>';
echo '<li><a href="'.esc_url($restly_tsocial['restly_team_social_link']).'" title="'.esc_attr($restly_tsocial['restly_team_social_label']).'" target="_blank" rel="noopener noreferrer"><i class="'.esc_attr($restly_tsocial['restly_teams_socials_icon']).'"></i></a></li>';
} ?>
</ul>
</div>
<?php endif; ?>
</div>
<div class="restly-team-contents">
<a class="restly-team-contents-link" href="<?php the_permalink(); ?>"></a>
<<?php echo esc_attr($settings['restly_team3_title_tag']); ?> class="restly-team-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></<?php echo esc_attr($settings['restly_team3_title_tag']); ?>>
<a href="<?php the_permalink(); ?>">
<a class="restly-team-contents-link" href="<?php the_permalink(); ?>" target="_blank" rel="noopener noreferrer"></a>
<<?php echo esc_attr($settings['restly_team3_title_tag']); ?> class="restly-team-title"><a href="<?php the_permalink(); ?>" target="_blank" rel="noopener noreferrer"><?php the_title(); ?></a></<?php echo esc_attr($settings['restly_team3_title_tag']); ?>>
<a href="<?php the_permalink(); ?>" target="_blank" rel="noopener noreferrer">
<?php if($settings['restly_team_stitle_enable'] == 'yes'){
echo '<'.esc_attr($settings['restly_team3_stitle_tag']).' class="restly-team-stitle">'.esc_html($restly_team_meta['restly_team_stitle']).'</'.esc_attr($settings['restly_team3_stitle_tag']).'>';
} ?>
@@ -1011,13 +1011,13 @@ class restly_team_member_Widget extends Widget_Base {
<div class="restly-team-social">
<ul>
<?php foreach($restly_team_meta['restly_team_socials'] as $restly_tsocial){
echo '<li><a href="'.esc_url($restly_tsocial['restly_team_social_link']).'" title="'.esc_attr($restly_tsocial['restly_team_social_label']).'"><i class="'.esc_attr($restly_tsocial['restly_teams_socials_icon']).'"></i></a></li>';
echo '<li><a href="'.esc_url($restly_tsocial['restly_team_social_link']).'" title="'.esc_attr($restly_tsocial['restly_team_social_label']).'" target="_blank" rel="noopener noreferrer"><i class="'.esc_attr($restly_tsocial['restly_teams_socials_icon']).'"></i></a></li>';
} ?>
</ul>
</div>
<?php endif; ?>
<div class="restly-team-social restly-team-read-more">
<a href="<?php the_permalink(); ?>">
<a href="<?php the_permalink(); ?>" target="_blank" rel="noopener noreferrer">
<i class="fas fa-chevron-right"></i>
</a>
</div>
@@ -1032,4 +1032,4 @@ class restly_team_member_Widget extends Widget_Base {
echo ob_get_clean();
}
}
Plugin::instance()->widgets_manager->register( new restly_team_member_Widget );
Plugin::instance()->widgets_manager->register( new restly_team_member_Widget );