Social Media Flying Icons | Floating Social Media Icon - Version 1.0

Version Description

Download this release

Release Info

Developer Acurax
Plugin Icon 128x128 Social Media Flying Icons | Floating Social Media Icon
Version 1.0
Comparing to
See all releases

Version 1.0

Files changed (62) hide show
  1. acurax-social-icon.php +50 -0
  2. function.php +59 -0
  3. images/1/facebook.png +0 -0
  4. images/1/linkedin.png +0 -0
  5. images/1/single.png +0 -0
  6. images/1/twitter.png +0 -0
  7. images/1/youtube.png +0 -0
  8. images/10/facebook.png +0 -0
  9. images/10/linkedin.png +0 -0
  10. images/10/single.png +0 -0
  11. images/10/twitter.png +0 -0
  12. images/10/youtube.png +0 -0
  13. images/2/facebook.png +0 -0
  14. images/2/linkedin.png +0 -0
  15. images/2/single.png +0 -0
  16. images/2/twitter.png +0 -0
  17. images/2/youtube.png +0 -0
  18. images/3/facebook.png +0 -0
  19. images/3/linkedin.png +0 -0
  20. images/3/single.png +0 -0
  21. images/3/twitter.png +0 -0
  22. images/3/youtube.png +0 -0
  23. images/4/facebook.png +0 -0
  24. images/4/linkedin.png +0 -0
  25. images/4/single.png +0 -0
  26. images/4/twitter.png +0 -0
  27. images/4/youtube.png +0 -0
  28. images/5/facebook.png +0 -0
  29. images/5/linkedin.png +0 -0
  30. images/5/single.png +0 -0
  31. images/5/twitter.png +0 -0
  32. images/5/youtube.png +0 -0
  33. images/6/facebook.png +0 -0
  34. images/6/linkedin.png +0 -0
  35. images/6/single.png +0 -0
  36. images/6/twitter.png +0 -0
  37. images/6/youtube.png +0 -0
  38. images/7/facebook.png +0 -0
  39. images/7/linkedin.png +0 -0
  40. images/7/single.png +0 -0
  41. images/7/twitter.png +0 -0
  42. images/7/youtube.png +0 -0
  43. images/8/facebook.png +0 -0
  44. images/8/linkedin.png +0 -0
  45. images/8/single.png +0 -0
  46. images/8/twitter.png +0 -0
  47. images/8/youtube.png +0 -0
  48. images/9/facebook.png +0 -0
  49. images/9/linkedin.png +0 -0
  50. images/9/single.png +0 -0
  51. images/9/twitter.png +0 -0
  52. images/9/youtube.png +0 -0
  53. images/admin.ico +0 -0
  54. images/admin.png +0 -0
  55. js.php +37 -0
  56. readme.txt +38 -0
  57. screenshot-1.png +0 -0
  58. screenshot-2.png +0 -0
  59. screenshot-3.png +0 -0
  60. screenshot-4.png +0 -0
  61. social-icon.php +175 -0
  62. style.css +14 -0
acurax-social-icon.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Floating Social Media Icon
4
+ Plugin URI: http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/
5
+ Description: An easy to use plugin to show social media icons which floats on your browsers right bottom, which links to your social media profiles, You have option in plugin settings to configure social media profile urls and also can select icon style and size.
6
+ Author: Acurax
7
+ Version: 1.0
8
+ Author URI: http://www.acurax.com
9
+ License: GPLv2 or later
10
+ */
11
+
12
+ /*
13
+ This program is free software; you can redistribute it and/or
14
+ modify it under the terms of the GNU General Public License
15
+ as published by the Free Software Foundation; either version 2
16
+ of the License, or (at your option) any later version.
17
+
18
+ This program is distributed in the hope that it will be useful,
19
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ GNU General Public License for more details.
22
+
23
+ You should have received a copy of the GNU General Public License
24
+ along with this program; if not, write to the Free Software
25
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26
+ */
27
+ ?>
28
+ <?php
29
+ //*************** Include JS in Header ********
30
+ function enqueue_acx_social_icon_script()
31
+ {
32
+ wp_enqueue_script ( 'acx_social_icon_script', plugins_url('js.php', __FILE__) );
33
+ }
34
+ add_action( 'get_footer', 'enqueue_acx_social_icon_script' );
35
+ //*************** Include JS in Header Ends Here ********
36
+
37
+ include('function.php');
38
+ //*************** Admin function ***************
39
+ function acx_social_icon_admin() {
40
+ include('social-icon.php');
41
+ }
42
+ function acx_social_icon_admin_actions()
43
+ {
44
+ add_submenu_page('options-general.php', 'Acurax Social Icon Plugin Configuration', 'Acx Social Icons', 8, 'Acurax-Social-Icons-Settings' ,'acx_social_icon_admin');
45
+ }
46
+ if ( is_admin() )
47
+ {
48
+ add_action('admin_menu', 'acx_social_icon_admin_actions');
49
+ }
50
+ ?>
function.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ //*************** Include CSS in Header ********
3
+ function enqueue_acx_si_style()
4
+ {
5
+ wp_enqueue_style ( 'acx-si-style', plugins_url('style.css', __FILE__) );
6
+ }
7
+ add_action( 'wp_print_styles', 'enqueue_acx_si_style' );
8
+ //*************** Include CSS in Header Ends Here ********
9
+ // Check Credit Link
10
+ function check_acx_credit($yes,$no)
11
+ { $acx_si_credit = get_option('acx_si_credit');
12
+ if($acx_si_credit != "no") { echo $yes; } else { echo $no; }
13
+ }
14
+ // Options Value Checker
15
+ function acx_option_value_check($option_name,$yes,$no)
16
+ { $acx_si_option_set = get_option($option_name);
17
+ if ($acx_si_option_set != "") { echo $yes; } else { echo $no; }
18
+ }
19
+ // Social Media Links
20
+ $twitter_link = "<a href='http://www.twitter.com/". $acx_si_twitter ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/twitter.png', __FILE__) . " border='0'></a>";
21
+ $facebook_link = "<a href='". $acx_si_facebook ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/facebook.png', __FILE__) . " border='0'></a>";
22
+ $youtube_link = "<a href='". $acx_si_youtube ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/youtube.png', __FILE__) . " border='0'></a>";
23
+ $linkedin_link = "<a href='". $acx_si_linkedin ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/linkedin.png', __FILE__) . " border='0'></a>";
24
+ // Display HTML
25
+
26
+ function acurax_icons()
27
+ { $acx_si_theme = get_option('acx_si_theme');
28
+ $acx_si_twitter = get_option('acx_si_twitter');
29
+ $acx_si_facebook = get_option('acx_si_facebook');
30
+ $acx_si_youtube = get_option('acx_si_youtube');
31
+ $acx_si_linkedin = get_option('acx_si_linkedin');
32
+ $twitter_link = "<a href='http://www.twitter.com/". $acx_si_twitter ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/twitter.png', __FILE__) . " border='0'></a>";
33
+ $facebook_link = "<a href='". $acx_si_facebook ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/facebook.png', __FILE__) . " border='0'></a>";
34
+ $youtube_link = "<a href='". $acx_si_youtube ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/youtube.png', __FILE__) . " border='0'></a>";
35
+ $linkedin_link = "<a href='". $acx_si_linkedin ."' target='_blank'>" . "<img src=" . plugins_url('images/'. $acx_si_theme .'/linkedin.png', __FILE__) . " border='0'></a>";
36
+ echo "<div id='divBottomRight' align='center'>";
37
+ acx_option_value_check("acx_si_twitter",$twitter_link,"");
38
+ acx_option_value_check("acx_si_facebook",$facebook_link,"");
39
+ acx_option_value_check("acx_si_youtube",$youtube_link,"");
40
+ acx_option_value_check("acx_si_linkedin",$linkedin_link,"");
41
+ $acx_si_credit = get_option('acx_si_credit');
42
+ if($acx_si_credit == "yes") {
43
+ echo "<br>" . "<a href='http://www.acurax.com' target='_blank' title='Web Design and Development' style='text-decoration: none; display: block; text-align: center; font-size: 8px;' align='center'>Web Design</a>";
44
+ }
45
+ echo "</div>";
46
+ }
47
+ function extra_style_acx_icon()
48
+ {
49
+ $acx_si_theme = get_option('acx_si_icon_size');
50
+ echo "<style>";
51
+ echo "#divBottomRight img {";
52
+ echo "width: " . $acx_si_theme. "}";
53
+ echo "</style>";
54
+ }
55
+ if ( function_exists('acurax_icons') ) {
56
+ add_action('get_footer', 'acurax_icons');
57
+ add_action('get_header', 'extra_style_acx_icon');
58
+ }
59
+ ?>
images/1/facebook.png ADDED
Binary file
images/1/linkedin.png ADDED
Binary file
images/1/single.png ADDED
Binary file
images/1/twitter.png ADDED
Binary file
images/1/youtube.png ADDED
Binary file
images/10/facebook.png ADDED
Binary file
images/10/linkedin.png ADDED
Binary file
images/10/single.png ADDED
Binary file
images/10/twitter.png ADDED
Binary file
images/10/youtube.png ADDED
Binary file
images/2/facebook.png ADDED
Binary file
images/2/linkedin.png ADDED
Binary file
images/2/single.png ADDED
Binary file
images/2/twitter.png ADDED
Binary file
images/2/youtube.png ADDED
Binary file
images/3/facebook.png ADDED
Binary file
images/3/linkedin.png ADDED
Binary file
images/3/single.png ADDED
Binary file
images/3/twitter.png ADDED
Binary file
images/3/youtube.png ADDED
Binary file
images/4/facebook.png ADDED
Binary file
images/4/linkedin.png ADDED
Binary file
images/4/single.png ADDED
Binary file
images/4/twitter.png ADDED
Binary file
images/4/youtube.png ADDED
Binary file
images/5/facebook.png ADDED
Binary file
images/5/linkedin.png ADDED
Binary file
images/5/single.png ADDED
Binary file
images/5/twitter.png ADDED
Binary file
images/5/youtube.png ADDED
Binary file
images/6/facebook.png ADDED
Binary file
images/6/linkedin.png ADDED
Binary file
images/6/single.png ADDED
Binary file
images/6/twitter.png ADDED
Binary file
images/6/youtube.png ADDED
Binary file
images/7/facebook.png ADDED
Binary file
images/7/linkedin.png ADDED
Binary file
images/7/single.png ADDED
Binary file
images/7/twitter.png ADDED
Binary file
images/7/youtube.png ADDED
Binary file
images/8/facebook.png ADDED
Binary file
images/8/linkedin.png ADDED
Binary file
images/8/single.png ADDED
Binary file
images/8/twitter.png ADDED
Binary file
images/8/youtube.png ADDED
Binary file
images/9/facebook.png ADDED
Binary file
images/9/linkedin.png ADDED
Binary file
images/9/single.png ADDED
Binary file
images/9/twitter.png ADDED
Binary file
images/9/youtube.png ADDED
Binary file
images/admin.ico ADDED
Binary file
images/admin.png ADDED
Binary file
js.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ require( dirname( __FILE__ ) . '../../../../wp-config.php' );
3
+ $acx_si_icon_size=get_option('acx_si_icon_size');
4
+ if ($acx_si_icon_size == "55") {
5
+ $y="-125"; } else
6
+ {
7
+ $y="-60";
8
+ }
9
+ ?>
10
+ var ns = (navigator.appName.indexOf("Netscape") != -1);
11
+ var d = document;
12
+ var px = document.layers ? "" : "px";
13
+ function JSFX_FloatDiv(id, sx, sy)
14
+ {
15
+ var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
16
+ window[id + "_obj"] = el;
17
+ if(d.layers)el.style=el;
18
+ el.cx = el.sx = sx;el.cy = el.sy = sy;
19
+ el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};
20
+ el.flt=function()
21
+ {
22
+ var pX, pY;
23
+ pX = (this.sx >= 0) ? 0 : ns ? innerWidth :
24
+ document.documentElement && document.documentElement.clientWidth ?
25
+ document.documentElement.clientWidth : document.body.clientWidth;
26
+ pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ?
27
+ document.documentElement.scrollTop : document.body.scrollTop;
28
+ if(this.sy<0)
29
+ pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ?
30
+ document.documentElement.clientHeight : document.body.clientHeight;
31
+ this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;
32
+ this.sP(this.cx, this.cy);
33
+ setTimeout(this.id + "_obj.flt()", 40);
34
+ }
35
+ return el;
36
+ }
37
+ JSFX_FloatDiv("divBottomRight", -170, <?php echo $y; ?>).flt();
readme.txt ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Floating Social Media Icon ===
2
+ Contributors: Acurax
3
+ Donate link:http://www.acurax.com/
4
+
5
+ Tags: social media,social media icon,social profile link,social floating icon,floating social media button,floating social media icon,social media url,social media button,facebook button,facebook icon,twitter icon,twitter button,youtube icon,youtube button,facebook profile url,twitter url,
6
+ Requires at least: 2.8
7
+ Tested up to: 3.3.1
8
+ Stable tag: trunk
9
+
10
+ An easy to use plugin to show social media icons which floats,you can configure icon design and size at plugin settings
11
+
12
+ == Description ==
13
+
14
+ **Its not just another social profile linker plugin to know more, Check** [Installation Section to watch Plugin in Action Video](http://wordpress.org/extend/plugins/floating-social-media-icon/installation/ "Wordpress Plugin Floating Social Media Icon in Action Video") Floating Social Media Icon is an easy to use plugin which allows you to configure essential social media profile links, like Twitter, Facebook, Youtube and Linkedin from plugin settings and you also have option to select an icon style from the icon packs available.We will be upgrading plugin frequently with new set of icons. The social media icons will load in an animated way where it will stay and float on your website or blog's right bottom
15
+ We Always Look Forward Your Comments and Suggestions for Future Updates. You can Submit Your Comments at our [Website](http://www.acurax.com/ "Website Designing")
16
+
17
+ [Click Here To See a Live Demo](http://www.acurax.com/products/floating-social-media-icon-plugin-wordpress/ "Floating Social Media Icon Demo")
18
+
19
+ **About**
20
+
21
+ This Plugin is developed and maintained by [Acurax International](http://www.acurax.com/ "Website Designing"). For any support, you may contact us [here](http://www.acurax.com/contact.php "Web Consulting").[Acurax](http://www.acurax.com/ "Acurax Web Design Development Service") Provide [Wordpress Theme Design](http://www.acurax.com/services/web-designing.php "Wordpress Theme Design Service") and [Development](http://www.acurax.com/services/web-development.php "Wordpress Development") Services.
22
+
23
+ **Plugin Video Tour**'[youtube http://www.youtube.com/watch?v=OagiknITpmU]'
24
+ == Installation ==
25
+
26
+ Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.
27
+
28
+ Then Visit Plugin Configuration Settings and select a theme and size for icons. configure your social profile url. You are done!
29
+ '[youtube http://www.youtube.com/watch?v=OagiknITpmU]'
30
+ After Installation,Dont Forgot to Cast Your Vote on Combatibility :) Thanks for trying...
31
+
32
+ == Screenshots ==
33
+
34
+ 1. Plugin Settings Page
35
+ 2. Plugin in action, It will stay at bottom right with animated move even if we scroll.. watch video to see it in action..
36
+ 3. Icon Settings Style/Theme and Size Selection Options
37
+ 4. Social Media Profile Link Settings
38
+ 5. Credit Link Enable Disable Option
screenshot-1.png ADDED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.png ADDED
Binary file
screenshot-4.png ADDED
Binary file
social-icon.php ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if($_POST['acurax_social_icon_hidden'] == 'Y') {
3
+ //Form data sent
4
+ $acx_si_theme = $_POST['acx_si_theme'];
5
+ update_option('acx_si_theme', $acx_si_theme);
6
+
7
+ $acx_si_twitter = $_POST['acx_si_twitter'];
8
+ update_option('acx_si_twitter', $acx_si_twitter);
9
+
10
+ $acx_si_facebook = $_POST['acx_si_facebook'];
11
+ update_option('acx_si_facebook', $acx_si_facebook);
12
+
13
+ $acx_si_youtube = $_POST['acx_si_youtube'];
14
+ update_option('acx_si_youtube', $acx_si_youtube);
15
+
16
+ $acx_si_linkedin = $_POST['acx_si_linkedin'];
17
+ update_option('acx_si_linkedin', $acx_si_linkedin);
18
+
19
+ $acx_si_credit = $_POST['acx_si_credit'];
20
+ update_option('acx_si_credit', $acx_si_credit);
21
+
22
+ $acx_si_icon_size = $_POST['acx_si_icon_size'];
23
+ update_option('acx_si_icon_size', $acx_si_icon_size);
24
+
25
+ ?>
26
+ <div class="updated"><p><strong><?php _e('Acurax Settings Saved!.' ); ?></strong></p></div>
27
+ <?php
28
+ } else {
29
+ //Normal page display
30
+ $acx_si_theme = get_option('acx_si_theme');
31
+ $acx_si_twitter = get_option('acx_si_twitter');
32
+ $acx_si_facebook = get_option('acx_si_facebook');
33
+ $acx_si_youtube = get_option('acx_si_youtube');
34
+ $acx_si_linkedin = get_option('acx_si_linkedin');
35
+ $acx_si_credit = get_option('acx_si_credit');
36
+ $acx_si_icon_size = get_option('acx_si_icon_size');
37
+ if ($acx_si_credit == "") {
38
+ $acx_si_credit = "yes";
39
+ }
40
+ if ($acx_si_credit == "") {
41
+ $acx_si_credit = "yes";
42
+ }
43
+ if ($acx_si_icon_size == "") {
44
+ $acx_si_icon_size = "32";
45
+ }
46
+
47
+ }
48
+
49
+ ?>
50
+ <?php
51
+ // function check_acx_credit($yes,$no)
52
+ check_acx_credit("","<div class='updated'><p><strong style='color:darkred;'>You Have Selected Show Credit Link as <b>NO</b>. We Appreciate You Link Back to Our Website,Select Yes to Enable Credit Link, Its just a small font size link :)</strong></p></div>"); ?>
53
+
54
+
55
+
56
+ <div class="wrap">
57
+ <?php echo "<h2>" . __( 'Acurax Social Icons Options', 'acx_si_config' ) . "</h2>"; ?>
58
+
59
+ <form name="acurax_si_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
60
+ <input type="hidden" name="acurax_social_icon_hidden" value="Y">
61
+ <?php echo "<h4>" . __( 'Social Icon Settings', 'acx_si_config' ) . "</h4>"; ?>
62
+ <div style="height: 85px; font-size: 10px; margin-right: auto; margin-left: auto; overflow-y: scroll; width: 833px;">
63
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
64
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 1</div>
65
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/1/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
66
+ </div>
67
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
68
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 2</div>
69
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/2/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
70
+ </div>
71
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
72
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 3</div>
73
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/3/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
74
+ </div>
75
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
76
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 4</div>
77
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/4/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
78
+ </div>
79
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
80
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 5</div>
81
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/5/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
82
+ </div>
83
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
84
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 6</div>
85
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/6/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
86
+ </div>
87
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
88
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 7</div>
89
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/7/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
90
+ </div>
91
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
92
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 8</div>
93
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/8/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
94
+ </div>
95
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
96
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 9</div>
97
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/9/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
98
+ </div>
99
+ <div style="width:153px;float:left;border:1px solid lightgray;padding:2px;margin:2px;">
100
+ <div style="width:50px;float:left;padding-top:5px;font-weight:bold;">Theme 10</div>
101
+ <div style="width:100px;float:left;"><img src="<?php echo plugins_url('images/10/single.png', __FILE__);?>" style="width:100px;border:0px;"></div>
102
+ </div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ </div>
111
+ <p><?php _e("Social Icon Theme: " ); ?>
112
+ <select name="acx_si_theme">
113
+ <option value="1"<?php if ($acx_si_theme == "1") { echo 'selected="selected"'; } ?>>Theme 1 </option>
114
+ <option value="2"<?php if ($acx_si_theme == "2") { echo 'selected="selected"'; } ?>>Theme 2 </option>
115
+ <option value="3"<?php if ($acx_si_theme == "3") { echo 'selected="selected"'; } ?>>Theme 3 </option>
116
+ <option value="4"<?php if ($acx_si_theme == "4") { echo 'selected="selected"'; } ?>>Theme 4 </option>
117
+ <option value="5"<?php if ($acx_si_theme == "5") { echo 'selected="selected"'; } ?>>Theme 5 </option>
118
+ <option value="6"<?php if ($acx_si_theme == "6") { echo 'selected="selected"'; } ?>>Theme 6 </option>
119
+ <option value="7"<?php if ($acx_si_theme == "7") { echo 'selected="selected"'; } ?>>Theme 7 </option>
120
+ <option value="8"<?php if ($acx_si_theme == "8") { echo 'selected="selected"'; } ?>>Theme 8 </option>
121
+ <option value="9"<?php if ($acx_si_theme == "9") { echo 'selected="selected"'; } ?>>Theme 9 </option>
122
+ <option value="10"<?php if ($acx_si_theme == "10") { echo 'selected="selected"'; } ?>>Theme 10 </option>
123
+ </select>
124
+ <?php _e("Select a social icon theme" ); ?></p>
125
+
126
+
127
+
128
+
129
+ <p><?php _e("Social Icon Size: " ); ?>
130
+ <select name="acx_si_icon_size">
131
+ <option value="16"<?php if ($acx_si_icon_size == "16") { echo 'selected="selected"'; } ?>>16px X 16px </option>
132
+ <option value="25"<?php if ($acx_si_icon_size == "25") { echo 'selected="selected"'; } ?>>25px X 25px </option>
133
+ <option value="32"<?php if ($acx_si_icon_size == "32") { echo 'selected="selected"'; } ?>>32px X 32px </option>
134
+ <option value="40"<?php if ($acx_si_icon_size == "40") { echo 'selected="selected"'; } ?>>40px X 40px </option>
135
+ <option value="48"<?php if ($acx_si_icon_size == "48") { echo 'selected="selected"'; } ?>>48px X 48px </option>
136
+ <option value="55"<?php if ($acx_si_icon_size == "55") { echo 'selected="selected"'; } ?>>55px X 55px </option>
137
+ </select>
138
+ <?php _e("Select a social icon size" ); ?></p>
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <hr />
146
+ <?php echo "<h4>" . __( 'Social Media Settings', 'acx_si_config' ) . "</h4>"; ?>
147
+ <p>
148
+ <?php _e("Twitter Username: " ); ?><input type="text" name="acx_si_twitter" value="<?php echo $acx_si_twitter; ?>" size="50">
149
+ <?php _e("<b>Eg:</b> acuraxdotcom" ); ?>
150
+ </p>
151
+ <p>
152
+ <?php _e("Facebook Page/Profile URL: " ); ?><input type="text" name="acx_si_facebook" value="<?php echo $acx_si_facebook; ?>" size="50">
153
+ <?php _e("<b>Eg:</b> http://www.facebook.com/AcuraxInternational" ); ?>
154
+ </p>
155
+ <p>
156
+ <?php _e("Youtube URL: " ); ?><input type="text" name="acx_si_youtube" value="<?php echo $acx_si_youtube; ?>" size="50">
157
+ <?php _e("<b>Eg:</b> http://www.youtube.com/user/acuraxdotcom" ); ?>
158
+ </p>
159
+ <p>
160
+ <?php _e("Linkedin URL: " ); ?><input type="text" name="acx_si_linkedin" value="<?php echo $acx_si_linkedin; ?>" size="50">
161
+ <?php _e("<b>Eg:</b> http://www.linkedin.com/company/acurax-international" ); ?>
162
+ </p>
163
+ <hr />
164
+ <?php echo "<h4>" . __( 'Other Settings', 'acx_si_config' ) . "</h4>"; ?>
165
+ <p><?php _e("Show Credit Link: " ); ?>
166
+ <select name="acx_si_credit">
167
+ <option value="yes"<?php if ($acx_si_credit == "yes") { echo 'selected="selected"'; } ?>>Yes, Its Okay to Show Credit Link </option>
168
+ <option value="no"<?php if ($acx_si_credit == "no") { echo 'selected="selected"'; } ?>>No, I dont Like to Show Credit Link</option>
169
+ </select>
170
+ <?php _e("We Appreciate You Link Back to Our Website, Its just a small font size link :)" ); ?></p>
171
+ <p class="submit">
172
+ <input type="submit" name="Submit" value="<?php _e('Update Acurax Social Icon', 'acx_si_config' ) ?>" />
173
+ </p>
174
+ </form>
175
+ </div>
style.css ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #divBottomRight
2
+ {
3
+ position:absolute;
4
+ z-index:10000;
5
+ min-width: 142px;
6
+ }
7
+ #divBottomRight img
8
+ {
9
+ margin-left:1px;
10
+ }
11
+ #divBottomRight img:hover
12
+ {
13
+ opacity:0.8;
14
+ }