Add Premium Person social icon Instagram and You Tube
-
Hello support, add in premium person, social link for You tube and Instagram in the following way:
in Widget premium_person.php
in line 308
/*Person You Tube*/ $this->add_control('premium_person_youtube', [ 'label' => esc_html__('You Tube', 'premium-addons-for-elementor'), 'type' => Controls_Manager::TEXT, 'dynamic' => [ 'active' => true ], 'default' => '#', 'label_block' => true, ] ); /*Person Instagram*/ $this->add_control('premium_person_instagram', [ 'label' => esc_html__('Instagram', 'premium-addons-for-elementor'), 'type' => Controls_Manager::TEXT, 'dynamic' => [ 'active' => true ], 'default' => '#', 'label_block' => true, ] );
and line 578:
<?php if( !empty( $settings['premium_person_youtube'] ) ) : ?><li class="premium-person-list-item premium-person-youtube"><a href="<?php echo $settings['premium_person_youtube']; ?>" target="_blank"><i class="fa fa-youtube-play"></i></a></li><?php endif; ?> <?php if( !empty( $settings['premium_person_instagram'] ) ) : ?><li class="premium-person-list-item premium-person-instagram"><a href="<?php echo $settings['premium_person_instagram']; ?>" target="_blank"><i class="fa fa-instagram"></i></a></li><?php endif; ?>
and line 657
<# if( '' != settings.premium_person_instagram ) { #> <li class="premium-person-list-item premium-person-instagram"><a href="{{ settings.premium_person_instagram }}" target="_blank"><i class="fa fa-instagram"></i></a></li> <# } #> <# if( '' != settings.premium_person_youtube ) { #> <li class="premium-person-list-item premium-person-youtube"><a href="{{ settings.premium_person_youtube }}" target="_blank"><i class="fa fa-youtube-play"></i></a></li> <# } #>
Everything works very well, I would like that in the next update you have it so as not to do it manually please.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add Premium Person social icon Instagram and You Tube’ is closed to new replies.