I’d like to add an email icon to the mix. IN my case I’m using FeedBurner link to allow people to subscribe via email…but I suggest the email icon be generic as there are probably many ways people could put a URL that ends up with an email subscription form.
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.
Some more feature requests:
- Swap icons for your own.
- Change order of icons
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.
Eli (L.E.) Green
- The topic ‘[Plugin: Social Profiles Widget] feature request: email icon’ is closed to new replies.