Okay
  Public Ticket #1423978
Team Member: Social media icons
Closed

Comments

  •  1
    Niclas started the conversation

    Hello!

    We've used Salient with great satisfaction so far - what an excellent theme. Really deserves the word 'premium' unlike so many others out there.

    I have a question regarding the Team Member component. We have opted for the "Meta Below" style under the Team Member Style option. We prefer this more classic look to each employee profile.

    However, we also want to link to each employee's LinkedIn profile using an icon instead of text. Please see the attached images for clarification. We have attempted to use raw HTML elements in the Social Media field provided:

    <i class="fa fa-linkedin"></i>,https://www.linkedin.com

    This ends up displaying nothing. Any advice on how we can achieve the second attached image? Thanks in advance.

    // Niclas

  •  9,016
    Tahir replied

    Hey ,

     Try using single quotes in the HTML instead of Double quotes as they are stripped by WP . 

    Be.st


    ThemeNectar Support Team 

  •  1
    Niclas replied

    Hi,

    Unfortunately this did not work. It appears that WP removes the HTML entirely if I add any attribute, regardless of whether I use single or double quotes. Where in the Salient theme folder can I edit the PHP for the Team Member element? I'll just modify it in a child theme so it allows me to add anything I want.

  •  1
    Niclas replied

    Nevermind, you were right - it works if I turn off the page builder and edit the shortcodes directly. Thank you!