':''; $bottom = (get_option('on_google1_bottom') == 'on') ? '
':''; $content = $top.$content.$bottom; } return $content; } // add js script of google+1 to wp_head add_action ('wp_head','on_google_plusone_script'); function on_google_plusone_script() { $language = (get_option('on_google1_lang') != 'en-US')? "\n{lang: '".get_option('on_google1_lang')."'}\n": ''; echo "\n"; echo ''; echo "\n"; } } /** * Function for display the Plugin Panel Options. */ function on_google1_panel() { ?>

Google +1 Options

Thanks a lot

Thanks for using my plugin, you can contact me for say hello Onnay Okheng or buy me a cup of chocolate :)

Setting Buttons

Size
Language
Show +1 count in the button
Default JS callback Funtion
Default is empty.

Setting General

Display position
Show on