WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Social Profiles Widget] feature request: email icon

[Plugin: Social Profiles Widget] feature request: email icon

Viewing 5 replies - 1 through 5 (of 5 total)
  • Great Widget! Simple and exactly what we were looking for.

    Do you think it would be possible to add Viddler icon?

    Thinking of adding one ourselves, but not quite sure if we’ll be able to manage it properly.

    So, we decided that we couldn’t wait and made a couple of Viddler icons ourselves. It actually didn’t take too long! That said, we only made the Default and Inside designs, but still!

    Anyway, you can check out what we did at http://www.lazyreviewzzz.com, in our sidebar (on the right), under our Twitter Feed.

    Once we made the images, inserting the code was the easy part. We just copied the YouTube code portion (below) and inserted the word viddler or Viddler in place of youtube or Youtube!

    ‘youtube’ => array(
    ‘title’ => __(‘YouTube URL’, ‘spw’),
    ‘img’ => sprintf( ‘%s/Youtube_%s.png’, $this->plugins_imgs_url . esc_attr( $instance[‘icon_set’] ), esc_attr( $instance[‘size’] ) ),
    ‘img_widget’ => sprintf( ‘%s/Youtube_%s.png’, $this->plugins_imgs_url . esc_attr( $instance[‘icon_set’] ), ’48×48′ ),
    ‘img_title’ => __(‘Youtube’, ‘spw’)
    ),

    If you want to make an email icon, find a picture of an email icon you like, copy one of the icon images to use as a template and make a new email icon in that design, then upload it into the appropriate design folder within the plugin’s image folder.

    Then copy the code above into the plugin editor and replace the words Youtube with Email. As far as the mailto code goes though, that’s up to you to figure out.

    nosleephotel
    Member

    @nosleephotel

    Some more feature requests:

    • Swap icons for your own.
    • Change order of icons

    Hey nosleephotel!

    I’m pretty sure it’s possible to swap your own icons in any time. I managed to do it with the Viddler icon I made for Lazyreviewzzz after all (you can check out our Social Profiles Widget in our sidebar at http://www.lazyreviewzzz.com).

    It’s a matter of going into your FTP and adding a folder of new icons to the plugin’s image folder, then editing the code in the plugin editor to add that icon pack in.

    Similarly, changing the order of the icons should also be a simple matter of swapping code around in the plugin editor to the order you want.

    Just keep in mind to save a notepad backup of the original code before editing so if anything goes wrong, you can just copy it back in.

    Cheers,
    Eli (L.E.) Green

    Any update on the email icon for this widget?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Social Profiles Widget] feature request: email icon’ is closed to new replies.