Social Media Follow Buttons Bar - Version 4.19

Version Description

  • Plugin data that saved in the database upgraded to version 0001.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Social Media Follow Buttons Bar
Version 4.19
Comparing to
See all releases

Code changes from version 4.18 to 4.19

inc/php/list.php CHANGED
@@ -1,11 +1,7 @@
1
- <?php
2
-
3
- /**
4
  * Prevent Direct Access
5
  */
6
- defined( 'ABSPATH' ) or die( "Restricted access!" );
7
-
8
- /**
9
  * List of social media and additional contact options
10
  */
11
- spacexchimp_p005_control_link( 'facebook', 'Facebook', 'https://www.facebook.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Facebook' ), '//www.facebook.com' ); spacexchimp_p005_control_link( 'twitter', 'Twitter', 'https://twitter.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Twitter' ), '//twitter.com' ); spacexchimp_p005_control_link( 'instagram', 'Instagram', 'http://instagram.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Instagram' ), '//instagram.com' ); spacexchimp_p005_control_link( 'google-plus', 'Google+', 'https://plus.google.com/u/0/+YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Google+' ), '//plus.google.com' ); spacexchimp_p005_control_link( 'youtube', 'YouTube', 'https://www.youtube.com/channel/YourChannelIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'YouTube' ), '//www.youtube.com' ); spacexchimp_p005_control_link( 'youtube-gaming', 'YouTube Gaming', 'https://gaming.youtube.com/channel/YourChannelIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'YouTube Gaming' ), '//gaming.youtube.com' ); spacexchimp_p005_control_link( 'google-play', 'Google Play', 'https://play.google.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Google Play' ), '//play.google.com' ); spacexchimp_p005_control_link( 'itunes', 'iTunes', 'https://www.apple.com/itunes/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'iTunes' ), '//www.apple.com/itunes' ); spacexchimp_p005_control_link( 'itunes-podcasts', 'iTunes Podcasts', 'https://www.apple.com/itunes/podcasts/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'iTunes Podcasts' ), '//www.apple.com/itunes/podcasts' ); spacexchimp_p005_control_link( 'apple-music', 'Apple Music', 'https://www.apple.com/lae/music/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Apple Music' ), '//www.apple.com/lae/music' ); spacexchimp_p005_control_link( 'periscope', 'Periscope', 'https://www.periscope.tv/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Periscope' ), '//www.periscope.tv' ); spacexchimp_p005_control_link( 'vimeo', 'Vimeo', 'https://vimeo.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Vimeo' ), '//vimeo.com' ); spacexchimp_p005_control_link( 'blogger', 'Blogger', 'http://YourBlogNameHere.blogspot.com', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Blogger' ), '//www.blogger.com' ); spacexchimp_p005_control_link( 'buzzsprout', 'Buzzsprout', 'https://www.buzzsprout.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Buzzsprout' ), '//www.buzzsprout.com' ); spacexchimp_p005_control_link( 'livejournal', 'LiveJournal', 'http://YourUsernameHere.livejournal.com', sprintf( __( 'Enter the link to your %s profile page', $text ), 'LiveJournal' ), '//www.livejournal.com' ); spacexchimp_p005_control_link( 'reddit', 'Reddit', 'https://www.reddit.com/user/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Reddit' ), '//www.reddit.com' ); spacexchimp_p005_control_link( 'linkedin', 'LinkedIn', 'https://linkedin.com/in/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'LinkedIn' ), '//linkedin.com' ); spacexchimp_p005_control_link( 'diaspora', 'Diaspora', 'https://diasporafoundation.org/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Diaspora' ), '//diasporafoundation.org' ); spacexchimp_p005_control_link( 'deviantart', 'DeviantArt', 'http://www.deviantart.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'DeviantArt' ), '//www.deviantart.com' ); spacexchimp_p005_control_link( 'xing', 'XING', 'https://www.xing.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'XING' ), '//www.xing.com' ); spacexchimp_p005_control_link( 'pinterest', 'Pinterest', 'https://www.pinterest.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Pinterest' ), '//www.pinterest.com' ); spacexchimp_p005_control_link( 'flickr', 'Flickr', 'https://www.flickr.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Flickr' ), '//www.flickr.com' ); spacexchimp_p005_control_link( 'tumblr', 'Tumblr', 'https://www.tumblr.com/blog/YourBlogNameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Tumblr' ), '//www.tumblr.com' ); spacexchimp_p005_control_link( 'snapchat', 'Snapchat', 'https://www.snapchat.com/add/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Snapchat' ), '//www.snapchat.com' ); spacexchimp_p005_control_link( 'twitch', 'Twitch', 'https://www.twitch.tv/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Twitch' ), '//www.twitch.tv' ); spacexchimp_p005_control_link( 'patreon', 'Patreon', 'https://www.patreon.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Patreon' ), '//www.patreon.com' ); spacexchimp_p005_control_link( 'imdb', 'IMDb', 'http://www.imdb.com/name/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'IMDb' ), '//www.imdb.com' ); spacexchimp_p005_control_link( 'soundcloud', 'SoundCloud', 'https://soundcloud.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'SoundCloud' ), '//soundcloud.com' ); spacexchimp_p005_control_link( 'plugdj', 'Plug.dj', 'https://plug.dj/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Plug.dj' ), '//plug.dj' ); spacexchimp_p005_control_link( 'spotify', 'Spotify', 'http://open.spotify.com/user/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Spotify' ), '//www.spotify.com' ); spacexchimp_p005_control_link( 'bandcamp', 'Bandcamp', 'https://bandcamp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Bandcamp' ), '//bandcamp.com' ); spacexchimp_p005_control_link( 'dloky', 'Dloky', 'https://dloky.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Dloky' ), '//dloky.com' ); spacexchimp_p005_control_link( 'amazon', 'Amazon', 'https://www.amazon.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Amazon' ), '//www.amazon.com' ); spacexchimp_p005_control_link( 'bookbub', 'BookBub', 'https://www.bookbub.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'BookBub' ), '//www.bookbub.com' ); spacexchimp_p005_control_link( 'goodreads', 'Goodreads', 'https://www.goodreads.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Goodreads' ), '//www.goodreads.com' ); spacexchimp_p005_control_link( 'meetvibe', 'MeetVibe', 'https://meetvibe.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'MeetVibe' ), '//meetvibe.com' ); spacexchimp_p005_control_link( 'meetup', 'Meetup', 'https://www.meetup.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Meetup' ), '//www.meetup.com' ); spacexchimp_p005_control_link( 'steam', 'Steam', 'http://store.steampowered.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Steam' ), '//store.steampowered.com' ); spacexchimp_p005_control_link( 'mixer', 'Mixer', 'https://mixer.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Mixer' ), '//mixer.com' ); spacexchimp_p005_control_link( 'discord', 'Discord', 'https://discordapp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Discord' ), '//discordapp.com' ); spacexchimp_p005_control_link( 'yelp', 'Yelp', 'https://www.yelp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Yelp' ), '//www.yelp.com' ); spacexchimp_p005_control_link( 'stumbleupon', 'StumbleUpon', 'http://www.stumbleupon.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'StumbleUpon' ), '//www.stumbleupon.com' ); spacexchimp_p005_control_link( 'bloglovin', 'Bloglovin', 'https://www.bloglovin.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Bloglovin' ), '//www.bloglovin.com' ); spacexchimp_p005_control_link( 'whatsapp', 'WhatsApp', 'https://www.whatsapp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'WhatsApp' ), '//www.whatsapp.com' ); spacexchimp_p005_control_link( 'medium', 'Medium', 'https://medium.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Medium' ), '//medium.com' ); spacexchimp_p005_control_link( '500px', '500px', 'https://500px.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), '500px' ), '//500px.com' ); spacexchimp_p005_control_link( 'behance', 'Behance', 'https://www.behance.net/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Behance' ), '//www.behance.net' ); spacexchimp_p005_control_link( 'polyvore', 'Polyvore', 'http://www.polyvore.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Polyvore' ), '//www.polyvore.com' ); spacexchimp_p005_control_link( 'yellowpages', 'Yellow Pages', 'https://www.yellowpages.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Yellow Pages' ), '//www.yellowpages.com' ); spacexchimp_p005_control_link( 'line', 'LINE', 'https://line.me/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'LINE' ), '//line.me' ); spacexchimp_p005_control_link( 'itch', 'itch', 'https://itch.io/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'itch' ), '//itch.io' ); spacexchimp_p005_control_link( 'mastodon', 'Mastodon', 'https://mastodon.social/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Mastodon' ), '//mastodon.social' ); spacexchimp_p005_control_link( 'remind', 'Remind', 'https://www.remind.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Remind' ), '//www.remind.com' ); spacexchimp_p005_control_link( 'trademe', 'Trade Me', 'https://www.trademe.co.nz/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Trade Me' ), '//www.trademe.co.nz' ); spacexchimp_p005_control_link( 'vsco', 'VSCO', 'https://vsco.co/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'VSCO' ), '//vsco.co' ); spacexchimp_p005_control_link( 'hireology', 'Hireology', 'https://hireology.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Hireology' ), '//hireology.com' ); spacexchimp_p005_control_link( 'kompoz', 'Kompoz', 'https://www.kompoz.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Kompoz' ), '//www.kompoz.com' ); spacexchimp_p005_control_link( 'soundblend', 'SoundBlend', 'https://www.soundblend.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'SoundBlend' ), '//www.soundblend.com' ); spacexchimp_p005_control_link( 'vkontakte', 'VKontakte', 'https://vk.com/id_YourIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'VKontakte' ), '//vk.com' ); spacexchimp_p005_control_link( 'odnoklassniki', 'Odnoklassniki', 'https://ok.ru/profile/YourIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Odnoklassniki' ), '//ok.ru' ); spacexchimp_p005_control_link( 'telegram', 'Telegram', 'https://telegram.me/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Telegram' ), '//telegram.org' ); spacexchimp_p005_control_link( 'github', 'GitHub', 'https://github.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'GitHub' ), '//github.com' ); spacexchimp_p005_control_link( 'wordpress', 'WordPress', 'https://profiles.wordpress.org/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'WordPress' ), '//wordpress.org' ); spacexchimp_p005_control_link( 'codepen', 'CodePen', 'http://codepen.io/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'CodePen' ), '//codepen.io' ); spacexchimp_p005_control_link( 'askfm', 'ASKfm', 'https://ask.fm/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'ASKfm' ), '//ask.fm' ); spacexchimp_p005_control_link( 'ebay', 'eBay', 'https://www.ebay.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'eBay' ), '//www.ebay.com' ); spacexchimp_p005_control_link( 'hangouts', 'Hangouts', 'https://hangouts.google.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Hangouts' ), '//hangouts.google.com' ); spacexchimp_p005_control_link( 'houzz', 'Houzz', 'https://www.houzz.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Houzz' ), '//www.houzz.com' ); spacexchimp_p005_control_link( 'quora', 'Quora', 'https://www.quora.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Quora' ), '//www.quora.com' ); spacexchimp_p005_control_link( 'steemit', 'Steemit', 'https://steemit.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Steemit' ), '//steemit.com' ); spacexchimp_p005_control_link( 'theartstack', 'ArtStack', 'https://theartstack.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'ArtStack' ), '//theartstack.com' ); spacexchimp_p005_control_link( 'theknot', 'The Knot', 'https://www.theknot.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'The Knot' ), '//www.theknot.com' ); spacexchimp_p005_control_link( 'viber', 'Viber', 'https://www.viber.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Viber' ), '//www.viber.com' ); spacexchimp_p005_control_link( 'etsy', 'Etsy', 'https://www.etsy.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Etsy' ), '//www.etsy.com' ); spacexchimp_p005_control_link( 'tripadvisor', 'Trip Advisor', 'https://www.tripadvisor.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Trip Advisor' ), '//www.tripadvisor.com' ); spacexchimp_p005_control_link( 'stackoverflow', 'Stack Overflow', 'https://stackoverflow.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Stack Overflow' ), '//stackoverflow.com' ); spacexchimp_p005_control_link( 'stackexchange', 'Stack Exchange', 'https://stackexchange.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Stack Exchange' ), '//stackexchange.com' ); spacexchimp_p005_control_link( 'wattpad', 'Wattpad', 'https://www.wattpad.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Wattpad' ), '//www.wattpad.com' ); spacexchimp_p005_control_link( 'skype', 'Skype', 'skype:YourUsernameHere?call', __( 'Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or <b>?add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile', $text ), '//www.skype.com' ); spacexchimp_p005_control_link( 'website', 'Personal website', 'https://www.arthurgareginyan.com', __( 'Enter the link to your personal website', $text ), '' ); spacexchimp_p005_control_link( 'email', 'Email', 'mailto:YourUsernameHere@gmail.com', __( 'Enter your email address with prefix <b>mailto:</b>', $text ), '' ); spacexchimp_p005_control_link( 'telephone', 'Telephone', 'tel://1-555-555-5555', __( 'Enter your telephone number with prefix <b>tel://</b>', $text ), '' ); spacexchimp_p005_control_link( 'rss-feed', 'RSS Feed', 'http://YourDomainNameHere.com/feed', __( 'Enter the link to your RSS Feed', $text ), '' );
1
+ <?php /**
 
 
2
  * Prevent Direct Access
3
  */
4
+ defined( 'ABSPATH' ) or die( "Restricted access!" ); /**
 
 
5
  * List of social media and additional contact options
6
  */
7
+ spacexchimp_p005_control_link( 'facebook', 'Facebook', 'https://www.facebook.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Facebook' ), '//www.facebook.com' ); spacexchimp_p005_control_link( 'twitter', 'Twitter', 'https://twitter.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Twitter' ), '//twitter.com' ); spacexchimp_p005_control_link( 'instagram', 'Instagram', 'http://instagram.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Instagram' ), '//instagram.com' ); spacexchimp_p005_control_link( 'google-plus', 'Google+', 'https://plus.google.com/u/0/+YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Google+' ), '//plus.google.com' ); spacexchimp_p005_control_link( 'youtube', 'YouTube', 'https://www.youtube.com/channel/YourChannelIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'YouTube' ), '//www.youtube.com' ); spacexchimp_p005_control_link( 'youtube-gaming', 'YouTube Gaming', 'https://gaming.youtube.com/channel/YourChannelIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'YouTube Gaming' ), '//gaming.youtube.com' ); spacexchimp_p005_control_link( 'google-play', 'Google Play', 'https://play.google.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Google Play' ), '//play.google.com' ); spacexchimp_p005_control_link( 'itunes', 'iTunes', 'https://www.apple.com/itunes/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'iTunes' ), '//www.apple.com/itunes' ); spacexchimp_p005_control_link( 'itunes-podcasts', 'iTunes Podcasts', 'https://www.apple.com/itunes/podcasts/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'iTunes Podcasts' ), '//www.apple.com/itunes/podcasts' ); spacexchimp_p005_control_link( 'apple-music', 'Apple Music', 'https://www.apple.com/lae/music/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Apple Music' ), '//www.apple.com/lae/music' ); spacexchimp_p005_control_link( 'periscope', 'Periscope', 'https://www.periscope.tv/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Periscope' ), '//www.periscope.tv' ); spacexchimp_p005_control_link( 'vimeo', 'Vimeo', 'https://vimeo.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Vimeo' ), '//vimeo.com' ); spacexchimp_p005_control_link( 'blogger', 'Blogger', 'http://YourBlogNameHere.blogspot.com', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Blogger' ), '//www.blogger.com' ); spacexchimp_p005_control_link( 'buzzsprout', 'Buzzsprout', 'https://www.buzzsprout.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Buzzsprout' ), '//www.buzzsprout.com' ); spacexchimp_p005_control_link( 'livejournal', 'LiveJournal', 'http://YourUsernameHere.livejournal.com', sprintf( __( 'Enter the link to your %s profile page', $text ), 'LiveJournal' ), '//www.livejournal.com' ); spacexchimp_p005_control_link( 'reddit', 'Reddit', 'https://www.reddit.com/user/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Reddit' ), '//www.reddit.com' ); spacexchimp_p005_control_link( 'linkedin', 'LinkedIn', 'https://linkedin.com/in/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'LinkedIn' ), '//linkedin.com' ); spacexchimp_p005_control_link( 'diaspora', 'Diaspora', 'https://diasporafoundation.org/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Diaspora' ), '//diasporafoundation.org' ); spacexchimp_p005_control_link( 'deviantart', 'DeviantArt', 'http://www.deviantart.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'DeviantArt' ), '//www.deviantart.com' ); spacexchimp_p005_control_link( 'xing', 'XING', 'https://www.xing.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'XING' ), '//www.xing.com' ); spacexchimp_p005_control_link( 'pinterest', 'Pinterest', 'https://www.pinterest.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Pinterest' ), '//www.pinterest.com' ); spacexchimp_p005_control_link( 'flickr', 'Flickr', 'https://www.flickr.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Flickr' ), '//www.flickr.com' ); spacexchimp_p005_control_link( 'tumblr', 'Tumblr', 'https://www.tumblr.com/blog/YourBlogNameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Tumblr' ), '//www.tumblr.com' ); spacexchimp_p005_control_link( 'snapchat', 'Snapchat', 'https://www.snapchat.com/add/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Snapchat' ), '//www.snapchat.com' ); spacexchimp_p005_control_link( 'twitch', 'Twitch', 'https://www.twitch.tv/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Twitch' ), '//www.twitch.tv' ); spacexchimp_p005_control_link( 'patreon', 'Patreon', 'https://www.patreon.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Patreon' ), '//www.patreon.com' ); spacexchimp_p005_control_link( 'imdb', 'IMDb', 'http://www.imdb.com/name/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'IMDb' ), '//www.imdb.com' ); spacexchimp_p005_control_link( 'soundcloud', 'SoundCloud', 'https://soundcloud.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'SoundCloud' ), '//soundcloud.com' ); spacexchimp_p005_control_link( 'plugdj', 'Plug.dj', 'https://plug.dj/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Plug.dj' ), '//plug.dj' ); spacexchimp_p005_control_link( 'spotify', 'Spotify', 'http://open.spotify.com/user/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Spotify' ), '//www.spotify.com' ); spacexchimp_p005_control_link( 'bandcamp', 'Bandcamp', 'https://bandcamp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Bandcamp' ), '//bandcamp.com' ); spacexchimp_p005_control_link( 'dloky', 'Dloky', 'https://dloky.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Dloky' ), '//dloky.com' ); spacexchimp_p005_control_link( 'amazon', 'Amazon', 'https://www.amazon.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Amazon' ), '//www.amazon.com' ); spacexchimp_p005_control_link( 'bookbub', 'BookBub', 'https://www.bookbub.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'BookBub' ), '//www.bookbub.com' ); spacexchimp_p005_control_link( 'goodreads', 'Goodreads', 'https://www.goodreads.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Goodreads' ), '//www.goodreads.com' ); spacexchimp_p005_control_link( 'meetvibe', 'MeetVibe', 'https://meetvibe.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'MeetVibe' ), '//meetvibe.com' ); spacexchimp_p005_control_link( 'meetup', 'Meetup', 'https://www.meetup.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Meetup' ), '//www.meetup.com' ); spacexchimp_p005_control_link( 'steam', 'Steam', 'http://store.steampowered.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Steam' ), '//store.steampowered.com' ); spacexchimp_p005_control_link( 'mixer', 'Mixer', 'https://mixer.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Mixer' ), '//mixer.com' ); spacexchimp_p005_control_link( 'discord', 'Discord', 'https://discordapp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Discord' ), '//discordapp.com' ); spacexchimp_p005_control_link( 'yelp', 'Yelp', 'https://www.yelp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Yelp' ), '//www.yelp.com' ); spacexchimp_p005_control_link( 'stumbleupon', 'StumbleUpon', 'http://www.stumbleupon.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'StumbleUpon' ), '//www.stumbleupon.com' ); spacexchimp_p005_control_link( 'bloglovin', 'Bloglovin', 'https://www.bloglovin.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Bloglovin' ), '//www.bloglovin.com' ); spacexchimp_p005_control_link( 'whatsapp', 'WhatsApp', 'https://www.whatsapp.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'WhatsApp' ), '//www.whatsapp.com' ); spacexchimp_p005_control_link( 'medium', 'Medium', 'https://medium.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Medium' ), '//medium.com' ); spacexchimp_p005_control_link( '500px', '500px', 'https://500px.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), '500px' ), '//500px.com' ); spacexchimp_p005_control_link( 'behance', 'Behance', 'https://www.behance.net/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Behance' ), '//www.behance.net' ); spacexchimp_p005_control_link( 'polyvore', 'Polyvore', 'http://www.polyvore.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Polyvore' ), '//www.polyvore.com' ); spacexchimp_p005_control_link( 'yellowpages', 'Yellow Pages', 'https://www.yellowpages.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Yellow Pages' ), '//www.yellowpages.com' ); spacexchimp_p005_control_link( 'line', 'LINE', 'https://line.me/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'LINE' ), '//line.me' ); spacexchimp_p005_control_link( 'itch', 'itch', 'https://itch.io/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'itch' ), '//itch.io' ); spacexchimp_p005_control_link( 'mastodon', 'Mastodon', 'https://mastodon.social/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Mastodon' ), '//mastodon.social' ); spacexchimp_p005_control_link( 'remind', 'Remind', 'https://www.remind.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Remind' ), '//www.remind.com' ); spacexchimp_p005_control_link( 'trademe', 'Trade Me', 'https://www.trademe.co.nz/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Trade Me' ), '//www.trademe.co.nz' ); spacexchimp_p005_control_link( 'vsco', 'VSCO', 'https://vsco.co/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'VSCO' ), '//vsco.co' ); spacexchimp_p005_control_link( 'hireology', 'Hireology', 'https://hireology.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Hireology' ), '//hireology.com' ); spacexchimp_p005_control_link( 'kompoz', 'Kompoz', 'https://www.kompoz.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Kompoz' ), '//www.kompoz.com' ); spacexchimp_p005_control_link( 'soundblend', 'SoundBlend', 'https://www.soundblend.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'SoundBlend' ), '//www.soundblend.com' ); spacexchimp_p005_control_link( 'vkontakte', 'VKontakte', 'https://vk.com/id_YourIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'VKontakte' ), '//vk.com' ); spacexchimp_p005_control_link( 'odnoklassniki', 'Odnoklassniki', 'https://ok.ru/profile/YourIdentifierHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Odnoklassniki' ), '//ok.ru' ); spacexchimp_p005_control_link( 'telegram', 'Telegram', 'https://telegram.me/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Telegram' ), '//telegram.org' ); spacexchimp_p005_control_link( 'github', 'GitHub', 'https://github.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'GitHub' ), '//github.com' ); spacexchimp_p005_control_link( 'wordpress', 'WordPress', 'https://profiles.wordpress.org/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'WordPress' ), '//wordpress.org' ); spacexchimp_p005_control_link( 'codepen', 'CodePen', 'http://codepen.io/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'CodePen' ), '//codepen.io' ); spacexchimp_p005_control_link( 'askfm', 'ASKfm', 'https://ask.fm/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'ASKfm' ), '//ask.fm' ); spacexchimp_p005_control_link( 'ebay', 'eBay', 'https://www.ebay.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'eBay' ), '//www.ebay.com' ); spacexchimp_p005_control_link( 'hangouts', 'Hangouts', 'https://hangouts.google.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Hangouts' ), '//hangouts.google.com' ); spacexchimp_p005_control_link( 'houzz', 'Houzz', 'https://www.houzz.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Houzz' ), '//www.houzz.com' ); spacexchimp_p005_control_link( 'quora', 'Quora', 'https://www.quora.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Quora' ), '//www.quora.com' ); spacexchimp_p005_control_link( 'steemit', 'Steemit', 'https://steemit.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Steemit' ), '//steemit.com' ); spacexchimp_p005_control_link( 'theartstack', 'ArtStack', 'https://theartstack.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'ArtStack' ), '//theartstack.com' ); spacexchimp_p005_control_link( 'theknot', 'The Knot', 'https://www.theknot.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'The Knot' ), '//www.theknot.com' ); spacexchimp_p005_control_link( 'viber', 'Viber', 'https://www.viber.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Viber' ), '//www.viber.com' ); spacexchimp_p005_control_link( 'etsy', 'Etsy', 'https://www.etsy.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Etsy' ), '//www.etsy.com' ); spacexchimp_p005_control_link( 'tripadvisor', 'Trip Advisor', 'https://www.tripadvisor.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Trip Advisor' ), '//www.tripadvisor.com' ); spacexchimp_p005_control_link( 'stackoverflow', 'Stack Overflow', 'https://stackoverflow.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Stack Overflow' ), '//stackoverflow.com' ); spacexchimp_p005_control_link( 'stackexchange', 'Stack Exchange', 'https://stackexchange.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Stack Exchange' ), '//stackexchange.com' ); spacexchimp_p005_control_link( 'wattpad', 'Wattpad', 'https://www.wattpad.com/YourUsernameHere', sprintf( __( 'Enter the link to your %s profile page', $text ), 'Wattpad' ), '//www.wattpad.com' ); spacexchimp_p005_control_link( 'skype', 'Skype', 'skype:YourUsernameHere?call', __( 'Enter your Skype name with prefix <b>skype:</b> and suffix <b>?call</b>, or <b>?add</b>, or <b>?chat</b>, or <b>?userinfo</b> for view profile', $text ), '//www.skype.com' ); spacexchimp_p005_control_link( 'website', 'Personal website', 'https://www.arthurgareginyan.com', __( 'Enter the link to your personal website', $text ), '' ); spacexchimp_p005_control_link( 'email', 'Email', 'mailto:YourUsernameHere@gmail.com', __( 'Enter your email address with prefix <b>mailto:</b>', $text ), '' ); spacexchimp_p005_control_link( 'telephone', 'Telephone', 'tel://1-555-555-5555', __( 'Enter your telephone number with prefix <b>tel://</b>', $text ), '' ); spacexchimp_p005_control_link( 'rss-feed', 'RSS Feed', 'http://YourDomainNameHere.com/feed', __( 'Enter the link to your RSS Feed', $text ), '' );
inc/php/settings.php CHANGED
@@ -84,15 +84,15 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
84
  <td>
85
  <ul class="alignment">
86
  <li>
87
- <input type="radio" name="smbtoolbar_settings[alignment]" value="left" <?php checked( 'left', $alignment ); ?> >
88
  <?php _e( 'Left', $text ); ?>
89
  </li>
90
  <li>
91
- <input type="radio" name="smbtoolbar_settings[alignment]" value="center" <?php checked( '', $alignment ); ?> <?php checked( 'center', $alignment ); ?> >
92
  <?php _e( 'Center', $text ); ?>
93
  </li>
94
  <li>
95
- <input type="radio" name="smbtoolbar_settings[alignment]" value="right" <?php checked( 'right', $alignment ); ?> >
96
  <?php _e( 'Right', $text ); ?>
97
  </li>
98
  </ul>
84
  <td>
85
  <ul class="alignment">
86
  <li>
87
+ <input type="radio" name="spacexchimp_p005_settings[alignment]" value="left" <?php checked( 'left', $alignment ); ?> >
88
  <?php _e( 'Left', $text ); ?>
89
  </li>
90
  <li>
91
+ <input type="radio" name="spacexchimp_p005_settings[alignment]" value="center" <?php checked( '', $alignment ); ?> <?php checked( 'center', $alignment ); ?> >
92
  <?php _e( 'Center', $text ); ?>
93
  </li>
94
  <li>
95
+ <input type="radio" name="spacexchimp_p005_settings[alignment]" value="right" <?php checked( 'right', $alignment ); ?> >
96
  <?php _e( 'Right', $text ); ?>
97
  </li>
98
  </ul>
inc/php/upgrade.php CHANGED
@@ -35,3 +35,53 @@ function spacexchimp_p005_upgrade_4_10() {
35
 
36
  }
37
  spacexchimp_p005_upgrade_4_10();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  }
37
  spacexchimp_p005_upgrade_4_10();
38
+
39
+ /**
40
+ * Upgrade plugin data in the database to version 4.19
41
+ */
42
+ function spacexchimp_p005_upgrade_4_19() {
43
+
44
+ // Upgrade number
45
+ $upgrade_number_new = '0001';
46
+ $prefix_old = 'smbtoolbar';
47
+ $prefix_new = 'spacexchimp_p005';
48
+
49
+ ///////////////////////////////////////////////////////////////////
50
+ // SEEVICE INFO //
51
+ ///////////////////////////////////////////////////////////////////
52
+
53
+ // Read plugin service info from the database
54
+ $service_info_old = get_option( $prefix_old . '_service_info' );
55
+ $service_info_current = get_option( $prefix_new . '_service_info' );
56
+ $upgrade_number_current = !empty( $service_info_current['upgrade'] ) ? $service_info_current['upgrade'] : '0000';
57
+
58
+ // Setting array with new data
59
+ $service_info_new = is_array( $service_info_old ) ? $service_info_old : array();
60
+ $service_info_new['upgrade'] = $upgrade_number_new;
61
+
62
+ // Exit if the upgrade is not needed or alreade done
63
+ if ( $upgrade_number_current >= $upgrade_number_new ) return;
64
+
65
+ // Update service info in the database
66
+ delete_option( $prefix_old . '_service_info' );
67
+ update_option( $prefix_new . '_service_info', $service_info_new );
68
+
69
+ ///////////////////////////////////////////////////////////////////
70
+ // SETTINGS //
71
+ ///////////////////////////////////////////////////////////////////
72
+
73
+ // Read plugin settings from the database
74
+ $settings_current = get_option( $prefix_old . '_settings' );
75
+
76
+ // Setting array with new data
77
+ $settings_new = is_array( $settings_current ) ? $settings_current : array();
78
+
79
+ // Exit if the upgrade is not needed or alreade done
80
+ if ( empty( $settings_current ) ) return;
81
+
82
+ // Update plugin setting in the database
83
+ delete_option( $prefix_old . '_settings' );
84
+ update_option( $prefix_new . '_settings', $settings_new );
85
+
86
+ }
87
+ spacexchimp_p005_upgrade_4_19();
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social, media, social button, social media, social
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.8
7
- Stable tag: 4.18
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -251,6 +251,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
251
 
252
  == Changelog ==
253
 
 
 
 
254
  = 4.18 =
255
  * Added Spanish translation. (Thanks Patricio Toledo)
256
  * Function that render controls on the settings page is moved to a separate file 'controls.php'.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.8
7
+ Stable tag: 4.19
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
251
 
252
  == Changelog ==
253
 
254
+ = 4.19 =
255
+ * Plugin data that saved in the database upgraded to version 0001.
256
+
257
  = 4.18 =
258
  * Added Spanish translation. (Thanks Patricio Toledo)
259
  * Function that render controls on the settings page is moved to a separate file 'controls.php'.
social-media-buttons-toolbar.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily add the smart bar with social media follow buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: https://www.arthurgareginyan.com
8
- * Version: 4.18
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
@@ -72,7 +72,7 @@ spacexchimp_p005_define_constants( 'NAME', $plugin_data['name'] );
72
  spacexchimp_p005_define_constants( 'VERSION', $plugin_data['version'] );
73
  spacexchimp_p005_define_constants( 'TEXT', $plugin_data['text'] );
74
  spacexchimp_p005_define_constants( 'PREFIX', 'spacexchimp_p005' );
75
- spacexchimp_p005_define_constants( 'SETTINGS', 'smbtoolbar' );
76
 
77
  /**
78
  * Load the plugin modules
5
  * Description: Easily add the smart bar with social media follow buttons (not share, only link to your profiles) to any place of your WordPress website.
6
  * Author: Arthur Gareginyan
7
  * Author URI: https://www.arthurgareginyan.com
8
+ * Version: 4.19
9
  * License: GPL3
10
  * Text Domain: social-media-buttons-toolbar
11
  * Domain Path: /languages/
72
  spacexchimp_p005_define_constants( 'VERSION', $plugin_data['version'] );
73
  spacexchimp_p005_define_constants( 'TEXT', $plugin_data['text'] );
74
  spacexchimp_p005_define_constants( 'PREFIX', 'spacexchimp_p005' );
75
+ spacexchimp_p005_define_constants( 'SETTINGS', 'spacexchimp_p005' );
76
 
77
  /**
78
  * Load the plugin modules