" . "Visit Us On Twitter"; } if ($acx_widget_si_facebook == "") { $facebook_link = ""; } else { $facebook_link = "" . "Visit Us On Facebook"; } if ($acx_widget_si_gplus == "") { $gplus_link = ""; } else { $gplus_link = "" . "Visit Us On GooglePlus"; } if ($acx_widget_si_pinterest == "") { $pinterest_link = ""; } else { $pinterest_link = "" . "Visit Us On Pinterest"; } if ($acx_widget_si_youtube == "") { $youtube_link = ""; } else { $youtube_link = "" . "Visit Us On Youtube"; } if ($acx_widget_si_linkedin == "") { $linkedin_link = ""; } else { $linkedin_link = "" . "Visit Us On Linkedin"; } if ($acx_widget_si_feed == "") { $feed_link = ""; } else { $feed_link = "" . "Check Our Feed"; } $social_widget_icon_array_order = get_option('social_widget_icon_array_order'); $social_widget_icon_array_order = unserialize($social_widget_icon_array_order); foreach ($social_widget_icon_array_order as $key => $value) { if ($value == 0) { echo $twitter_link; } else if ($value == 1) { echo $facebook_link; } else if ($value == 2) { echo $gplus_link; } else if ($value == 3) { echo $pinterest_link; } else if ($value == 4) { echo $youtube_link; } else if ($value == 5) { echo $linkedin_link; } else if ($value == 6) { echo $feed_link; } } } //acurax_si_widget_simple() function acx_widget_theme_check_wp_head() { $template_directory = get_template_directory(); // If header.php exists in the current theme, scan for "wp_head" $file = $template_directory . '/header.php'; if (is_file($file)) { $search_string = "wp_head"; $file_lines = @file($file); foreach ($file_lines as $line) { $searchCount = substr_count($line, $search_string); if ($searchCount > 0) { return true; } } // wp_head() not found: echo "
" . "Your theme needs to be fixed for plugins to work. To fix your theme, use the Theme Editor to insert <?php wp_head(); ?> just before the </head> line of your theme's header.php file." . "
"; } } // theme check add_action('admin_notices', 'acx_widget_theme_check_wp_head'); function acurax_widget_icons() { global $acx_widget_si_theme, $acx_widget_si_credit, $acx_widget_si_twitter, $acx_widget_si_facebook, $acx_widget_si_youtube, $acx_widget_si_linkedin, $acx_widget_si_gplus, $acx_widget_si_pinterest, $acx_widget_si_feed, $acx_widget_si_icon_size; if($acx_widget_si_twitter != "" || $acx_widget_si_facebook != "" || $acx_widget_si_youtube != "" || $acx_widget_si_linkedin != "" || $acx_widget_si_pinterest != "" || $acx_widget_si_gplus != "" || $acx_widget_si_feed != "") { //*********************** STARTED DISPLAYING THE ICONS *********************** echo "\n\n\n\n"; echo "
"; acurax_si_widget_simple(); echo "
\n"; echo "\n\n\n"; //***************************************************************************** } // Chking null fields } // Ending acurax_widget_icons(); function extra_style_acx_widget_icon() { global $acx_widget_si_icon_size; global $acx_si_smw_float_fix; echo "\n\n\n\n\n\n\n\n\n"; } add_action('admin_head', 'extra_style_acx_widget_icon'); // ADMIN add_action('wp_head', 'extra_style_acx_widget_icon'); // PUBLIC function acx_widget_si_admin_style() // Adding Style For Admin { global $acx_si_smw_menu_highlight; echo ''; if ($acx_si_smw_menu_highlight != "no") { echo ''; } } add_action('admin_head', 'acx_widget_si_admin_style'); // ADMIN $acx_widget_si_sc_id = 0; // Defined to assign shortcode unique id function DISPLAY_WIDGET_acurax_widget_icons_SC($atts) { global $acx_widget_si_icon_size, $acx_widget_si_sc_id; extract(shortcode_atts(array( "theme" => '', "size" => $acx_widget_si_icon_size, "autostart" => 'false' ), $atts)); if ($theme > ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES) { $theme = ""; } if (!is_numeric($theme)) { $theme = ""; } if ($size > 55) { $size = $acx_widget_si_icon_size; } if (!is_numeric($size)) { $size = $acx_widget_si_icon_size; } $acx_widget_si_sc_id = $acx_widget_si_sc_id + 1; ob_start(); echo ""; echo "
"; acurax_si_widget_simple($theme); echo "
"; $content = ob_get_contents(); ob_end_clean(); return $content; } // DISPLAY_WIDGET_acurax_widget_icons_SC function acx_widget_si_custom_admin_js() { wp_enqueue_script('jquery'); wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-sortable'); } add_action( 'admin_enqueue_scripts', 'acx_widget_si_custom_admin_js' ); // wp-admin Notices >> Finish Upgrade function acx_widget_si_pluign_upgrade_not_finished() { echo '

Thanks for updating Acurax Social Media Widget plugin... You need to visit Plugin\'s Settings Page to Complete the Updation Process - Click Here Visit Social Icon Plugin Settings

'; } $total_arrays = 7; // Number Of Services $social_widget_icon_array_order = get_option('social_widget_icon_array_order'); $social_widget_icon_array_order = unserialize($social_widget_icon_array_order); $social_widget_icon_array_count = count($social_widget_icon_array_order); if ($social_widget_icon_array_count < $total_arrays) { add_action('admin_notices', 'acx_widget_si_pluign_upgrade_not_finished',1); } function acx_widget_si_pluign_finish_version_update() { echo '

Thanks for updating Acurax Social Media Widget plugin... You need to visit Plugin\'s Settings Page to Complete the Updation Process - Click Here Visit Social Icon Plugin Settings

'; } $acx_widget_si_current_version = get_option('acx_widget_si_current_version'); if($acx_widget_si_current_version != '1.1') // Current Version { if (get_option('social_widget_icon_array_order') != "") { add_action('admin_notices', 'acx_widget_si_pluign_finish_version_update',1); } } // wp-admin Notices >> Plugin not configured function acx_widget_si_pluign_not_configured() { echo '

Acurax Social Media Widget Plugin is not configured. You need to configure your social media profile URL\'s to start showing the Acurax Social Media Widgets - Click here to configure

'; } if ($social_widget_icon_array_count == $total_arrays) { if ($acx_widget_si_twitter == "" && $acx_widget_si_facebook == "" && $acx_widget_si_youtube == "" && $acx_widget_si_linkedin == "" && $acx_widget_si_pinterest == "" && $acx_widget_si_gplus == "" && $acx_widget_si_feed == "") { add_action('admin_notices', 'acx_widget_si_pluign_not_configured',1); } // Chking If Plugin Not Configured } // Chking $social_widget_icon_array_count == $total_arrays // wp-admin Notices >> Plugin not configured function acx_widget_si_pluign_promotion() { echo '

It looks like you have been enjoying using Acurax Social Media Widget plugin from Acurax for atleast 30 days.Would you consider upgrading to premium version to enjoy more features and help support continued development of the plugin? - Spreading the world about this plugin. Thank you for using the plugin

Rate it 5★\'s on wordpress Order Premium Version Don\'t Show This Again

'; } $acx_widget_si_installed_date = get_option('acx_widget_si_installed_date'); if ($acx_widget_si_installed_date=="") { $acx_widget_si_installed_date = time();} if($acx_widget_si_installed_date < ( time() - 2952000 )) { if (get_option('acx_widget_si_td') != "hide") { add_action('admin_notices', 'acx_widget_si_pluign_promotion',1); } } // Starting Widget Code class acx_social_widget_icons_Widget extends WP_Widget { // Register the widget function acx_social_widget_icons_Widget() { // Set some widget options $widget_options = array( 'description' => 'Allow users to show Social Media Icons via Acurax Social Media Widget Plugin', 'classname' => 'acx-social-icons-desc' ); // Set some control options (width, height etc) $control_options = array( 'width' => 300 ); // Actually create the widget (widget id, widget name, options...) $this->WP_Widget( 'acx-social-icons-widget', 'Acurax Social Media Widget', $widget_options, $control_options ); } // Output the content of the widget function widget($args, $instance) { extract( $args ); // Don't worry about this // Get our variables $title = apply_filters( 'widget_title', $instance['title'] ); $icon_size = $instance['icon_size']; $icon_theme = $instance['icon_theme']; $icon_align = $instance['icon_align']; // This is defined when you register a sidebar echo $before_widget; // If our title isn't empty then show it if ( $title ) { echo $before_title . $title . $after_title; } echo ""; echo "
"; } else { echo " align='center'>"; } acurax_si_widget_simple($icon_theme); echo "
"; // This is defined when you register a sidebar echo $after_widget; } // Output the admin options form function form($instance) { $total_themes = ACX_SOCIALMEDIA_WIDGET_TOTAL_THEMES; $total_themes = $total_themes + 1; // These are our default values $defaults = array( 'title' => 'Social Media Icons','icon_size' => '32' ); // This overwrites any default values with saved values $instance = wp_parse_args( (array) $instance, $defaults ); ?>

This Plugin is the basic widget version of floating social media icon wordpress plugin. This plugin only support the icon pack and the widget. Premium Version of This plugin includes all the features of floating social media icon and a lot more. Premium version is same as the premium version of floating social media icon wordpress plugin.

Display
More Sharp Quality Icons
20+ Icon Theme/Style
Can Choose Icon Theme/Style
Can Choose Icon Size
Automatic/Manual Integration
Set MouseOver text for each icon in Share Mode
Set MouseOver text for each icon in Profile Link Mode
Option to HIDE Invididual Share Icon
Set Floating Icons in Vertical
Define how many icons in 1 row
Add Custom Icons
Icon Function
Link to Social Media Profile
Share On Social Media
Animation
Fly Animation
Mouse Over Effects
Fly Animation Repeat Interval
Based On Time in Seconds
Based On Time in Minutes
Based On Time in Hours
Based on Page Views
Based On Page Views and Time
Multiple Fly Animation
Can Choose Fly Start Position
Can Choose Fly End Position
Easy to Configure
Ajax Based Settings Page
Drag & Drop Reorder Icons
Easy to Configure
Widget Support
Multiple Widgets
Seperate Icon Style/Theme For Each
Seperate Icon Size For Each
Set whether the icons to Link Profiles/SHARE
Seperate Mouse Over Multiple Animation for Each
Seperate Default Opacity for Each
Shortcode Support
Multiple Instances
Seperate Icon Style/Theme For Each
Seperate Icon Size For Each
Set whether the icons to Link Profiles/SHARE
Seperate Mouse Over Multiple Animation for Each
Seperate Default Opacity for Each
PHP Code Support
Multiple Instances
Use Outside Loop
Seperate Icon Style/Theme For Each
Seperate Icon Size For Each
Set whether the icons to Link Profiles/SHARE
Seperate Mouse Over Multiple Animation for Each
Seperate Default Opacity for Each
* Special Offer Price on Premium Version for Free Plugin Users Valid Only Until Next Free Version Upgrade - Click Order Now to Get Premium Version for $19.50
'; $ad_2='

'; if($ad=="" || $ad == 2) { echo $ad_2; } else if ($ad == 1) { echo $ad_1; } else { echo $ad_2; } } ?>