Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Lucy Tomas

    (@lucymtc)

    Hi sheviy,
    Yes, sure, I will add the email icon and soundcloud in a next release, as soon as possible.

    Meanwhile, if you are in a hurry, I added some action hooks, so you can hook in with a function on your functions.php to add a new link, either before or after the icons.

    The action hook names are sfmsb_widget_before_links or sfmsb_widget_after_links

    So you can put in these lines in functions.php

    add_action('sfmsb_widget_after_links', 'my_email_link');
    
    function my_email_link(){
            echo '<a href="mailto:[email protected]"><span class="email-icon">EMAIL-ICON</span></a>';
    }

    And style it in you css file.

    Plugin Author Lucy Tomas

    (@lucymtc)

    I have released an update with email and soundcloud icons

    Thread Starter sheviy

    (@sheviy)

    Thank you so much.

    Is this the correct syntax to link the email icon to a URL contact page instead of using a mailto: ?

    function my_email_link(){
            echo '<a href="www.test.com"><span class="email-icon">EMAIL-ICON</span></a>';
    }

    The function for this widget does not appear in my functions.php file.
    I searched for:
    my_email_link
    sfmsb_widget_before_links
    sfmsb_widget_after_links

    Plugin Author Lucy Tomas

    (@lucymtc)

    Those functions don’t exist in your functions.php, it’s something that you have to copy and paste and style your self on the CSS.
    But don’t worry, I will release a new update later today with a fix so you can enter either an email address or a URL to a contact page directly in the widget, cause right now you can only use an email address. I will let you know when 1.4 is available

    Plugin Author Lucy Tomas

    (@lucymtc)

    OK, 1.4 is available. You can enter an email address or a link to your contact page in the widget for the Email Icon.

    Thread Starter sheviy

    (@sheviy)

    It works beautifully! If possible, I would pay you or send flowers. (((Hugs))). Thanks again.

    Plugin Author Lucy Tomas

    (@lucymtc)

    Thanks, I’m glad it helps you ??

    Hi Lucy! I updated plugin and all icons are messed, where is Twitter icon should be, there is a wp icon e.t.c. What to do?

    Plugin Author Lucy Tomas

    (@lucymtc)

    Have you tried to empty the cache on your browser? And if you are using any cache plugin also clear the cache from the plugin settings. Can you send me the link of your site?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Email icon?’ is closed to new replies.