Add Icone Info on team members hover

Home Forums Jevelin Theme Add Icone Info on team members hover

Home Forums Jevelin Theme Add Icone Info on team members hover

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • mimesis_team
    Participant

    Hello,

     

    I would like to know how to add or where to change the code in order to have not only LinkedIn icon (when we hover on a team member – style 1, overlay) but also a link to the page of a team member.

    Hope to hear from you soon.

     

    Mimesis

    Hi Mimesis,

     

    I hope you are well today and thank you for your question.

     

    You have to edit following theme file by adding it in the child theme of Jevelin theme and add link to the page of a team member.

     

    /jevelin/framework-customizations/extensions/shortcodes/shortcodes/team-member/views/view.php

     

    Best regards,
    Shufflehound team

    mimesis_team
    Participant

    Hello,

     

    Thank you for your reply but I am new to php so, it is probably normal that what I am trying is not working but could you please send me the code I should add?

    I added this , however the commands are wrong:

    /* Team member’s page link */

    if( isset($atts[‘link’]) && $atts[‘link’] ) : $icons[] = array( ‘name’ => ‘link’, ‘link’ => esc_attr( $atts[‘link’] ) );

    endif;

     

    Thank you in advance!

    In that file wherever you find following code you have to change its href attribute link to the page link that you want to add.

     

    
    <div class="sh-team-image">
    	<a href="<?php echo jevelin_get_small_thumb( $atts['image']['attachment_id'], 'large' ); ?>" class="<?php echo esc_attr( $image_position ); ?>" rel="lightbox">
    		<img src="<?php echo jevelin_get_small_thumb( $atts['image']['attachment_id'], $image_ratio ); ?>" alt="" />
    	</a>
    
Viewing 4 posts - 1 through 4 (of 4 total)