" . "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." . "
';
}
$acx_widget_si_current_version = get_option('acx_widget_si_current_version');
if($acx_widget_si_current_version != '2.0') // 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
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
';
}
$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 "
";
// 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 );
?>
Limited on Features ?
Compare and Decide
Feature Group
Features
Feature Group
Display
Features
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