• Resolved sslv

    (@sslv)


    I’m trying to provide the social media (e.g. facebook) of the user in their profile (inside Tab-Content), but I face some issues while trying to combine the shortcode with my custom HTML. The shortcode I’m working with is [uwp_user_meta key="facebook"] which will return an icon, placeholder and value. When I use [uwp_user_meta key="facebook" show="value"] it will show as :

    <a href="https://www.facebook.com" target="_blank" rel="nofollow">https://www.facebook.com</a>

    What I want to do is just use the href in my own custom html as shown below:

    <a href="https://www.facebook.com" target="_blank" title="" class=" btn-facebook ml-1 mb-1 border-0 btn btn-sm btn-circle" data-toggle="tooltip" data-original-title="Facebook URL">
       
        <i class="fab fa-facebook-f fa-fw fa-lg"></i>
    
    </a>

    Is this possible without using PHP? Currently trying to do it using ShortCode Block using Elementor.

    • This topic was modified 4 years, 5 months ago by sslv.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘How to use uwp_user_meta’s value as plain text?’ is closed to new replies.