" . ""; } if ($acx_widget_si_facebook == "") { $facebook_link = ""; } else { $facebook_link = "" . ""; } if ($acx_widget_si_gplus == "") { $gplus_link = ""; } else { $gplus_link = "" . ""; } if ($acx_widget_si_pinterest == "") { $pinterest_link = ""; } else { $pinterest_link = "" . ""; } if ($acx_widget_si_youtube == "") { $youtube_link = ""; } else { $youtube_link = "" . ""; } if ($acx_widget_si_linkedin == "") { $linkedin_link = ""; } else { $linkedin_link = "" . ""; } if ($acx_widget_si_feed == "") { $feed_link = ""; } else { $feed_link = "" . ""; } $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; 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 { 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); } // 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? - You can also support us by giving us a website design, redesign, social media project or by 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.

Free and Premium Comparison:

Features Free Premium
Automatic/Manual Integration
Option to select/define icon design
Option to select/define icon size
Seperate Icon Style/Size for each Shortcode
Seperate Icon Style/Size for each Widget
Reorder Icons
Widget Support
Multiple Widget Support
Shortcode Support
Multiple Shortcode Instance Support
More Sharp Quality Icons
Multiple Floating Animation
Configure Animation Repeat Interval
Animation Repeat Interval Based On Time
Animation Repeat Interval Based on Page Views
Animation Repeat Interval Based On Page Views and Time (both)
Ajax Based Settings Page
Set whether the icons to link profile/share
Easy to configure
Icon Placement Width Setting (allows to configure how many icons in 1 row)
Seperate Icon function for each Widget
Advanced PHP Code Support
Advanced Shortcode Support
Seperate Icon function for each Shortcode
Can Configure Floating Start Position
Can Configure Floating End Position
Download free version of plugin at wordpress plugin directory


'; $ad_2='

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