'; echo '

'. __('Share Buttons for APSense.com', 'share_button_apsense').'

'; echo '
'; echo '
'; echo '
'; echo '

' . __('Shortcodes', 'share_button_apsense') . '

'; echo '

Use [apsense_hide] anywhere in post\'s text to hide buttons for specific post.

'; echo '

Use [apsense] anywhere in post\'s text to show buttons for specific post at custom position.

'; echo '
'; echo '
'; $start = ''; $end = ''; $class_name = 'apsense_pop'; $alt = 'Share'; $class_url = ' href="http://www.apsense.com/share/" '; $style = 'padding-left:5px; padding-top:5px; padding-bottom:5px; margin:0'; $checked = 'checked="checked"'; ?>
/> Share Button


/> Share Icon


/>
/>


Add your referral link into share button. (Create a free account on APSense)
 

ID); $post_title = $GLOBALS['post']->post_title; $apsense_uid = get_option( 'apsense_uid', '' ); if ($apsense_uid != "") $ref = "ref=$apsense_uid&"; /* default code */ $code_icon = " Share on APSense "; $code_button = " Share on APSense "; $button_type = get_option( 'apsense_button_type', 'share_button' ); switch ( $button_type ) { case 'share_button': $code = $code_button; break; case 'share_icon': $code = $code_icon; break; } $position = get_option( 'apsense_button_position', 'below' ); if ( stripos($content, '[apsense]') !== false) { $new_content = str_ireplace('[apsense]', '
' . $code . '
', $content); } else { if ( $position == 'below' ) { $new_content = $content . '
' . $code . '
'; } else { $new_content = '
' . $code . '
' . $content; } } return $new_content; } function apsense_plugin_action_links( $links, $file ) { static $this_plugin; if ( !$this_plugin ) { $this_plugin = plugin_basename( __FILE__ ); } // check to make sure we are on the correct plugin if ( $file == $this_plugin ) { $settings_link = '' . __('Settings', 'share_button_apsense') . ''; array_unshift( $links, $settings_link ); } return $links; } ?>