Version Description
Download this release
Release Info
Developer | Acurax |
Plugin | Social Media Flying Icons | Floating Social Media Icon |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0 to 1.0.3
- acurax-social-icon.php +3 -3
- function.php +5 -1
acurax-social-icon.php
CHANGED
@@ -4,7 +4,7 @@ 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 |
*/
|
@@ -29,9 +29,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
29 |
//*************** Include JS in Header ********
|
30 |
function enqueue_acx_social_icon_script()
|
31 |
{
|
32 |
-
wp_enqueue_script ( '
|
33 |
}
|
34 |
-
add_action( '
|
35 |
//*************** Include JS in Header Ends Here ********
|
36 |
|
37 |
include('function.php');
|
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.3
|
8 |
Author URI: http://www.acurax.com
|
9 |
License: GPLv2 or later
|
10 |
*/
|
29 |
//*************** Include JS in Header ********
|
30 |
function enqueue_acx_social_icon_script()
|
31 |
{
|
32 |
+
wp_enqueue_script ( 'jquery' );
|
33 |
}
|
34 |
+
add_action( 'get_header', 'enqueue_acx_social_icon_script' );
|
35 |
//*************** Include JS in Header Ends Here ********
|
36 |
|
37 |
include('function.php');
|
function.php
CHANGED
@@ -24,7 +24,8 @@ $linkedin_link = "<a href='". $acx_si_linkedin ."' target='_blank'>" . "<img src
|
|
24 |
// Display HTML
|
25 |
|
26 |
function acurax_icons()
|
27 |
-
{
|
|
|
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');
|
@@ -43,6 +44,9 @@ $acx_si_credit = get_option('acx_si_credit');
|
|
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 |
{
|
24 |
// Display HTML
|
25 |
|
26 |
function acurax_icons()
|
27 |
+
{
|
28 |
+
$acx_si_theme = get_option('acx_si_theme');
|
29 |
$acx_si_twitter = get_option('acx_si_twitter');
|
30 |
$acx_si_facebook = get_option('acx_si_facebook');
|
31 |
$acx_si_youtube = get_option('acx_si_youtube');
|
44 |
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>";
|
45 |
}
|
46 |
echo "</div>";
|
47 |
+
?>
|
48 |
+
<script type="text/javascript" src="<?php echo plugins_url('js.php', __FILE__);?>"></script>
|
49 |
+
<?php
|
50 |
}
|
51 |
function extra_style_acx_icon()
|
52 |
{
|