Title: [Plugin: Post Author Box] Google  1 Code Recognition
Last modified: August 20, 2016

---

# [Plugin: Post Author Box] Google 1 Code Recognition

 *  Resolved [humanv3](https://wordpress.org/support/users/humanv3/)
 * (@humanv3)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-author-box-google-1-code-recognition/)
 * Hi there, I am using your plugin and adding some share buttons to it, but I noticed
   that it won’t accept the Google +1 code. It deletes it upon save. Is it possible
   to add acceptance for this code? Here it is:
 *     ```
       <g:plusone size="medium"></g:plusone>
       <script type="text/javascript">
         (function() {
           var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
           po.src = 'https://apis.google.com/js/plusone.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
         })();
       </script>
       ```
   
 * [http://wordpress.org/extend/plugins/post-author-box/](http://wordpress.org/extend/plugins/post-author-box/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-post-author-box-google-1-code-recognition/#post-2351457)
 * Sorry for the late reply on this. If you haven’t figured it out already, the 
   Post Author Box plugin is stripping out your Javascript tags (and most likely
   the g:plusone tags as well).
 * Fortunately, you can add your own custom tokens to the Post Author Box and have
   it include the Google+ snippet automatically. [Here’s a similar example](http://danielbachhuber.com/2011/09/01/how-to-use-co-authors-plus-with-the-post-author-box/)
   to follow. If you’d like more help with it, please ask.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Post Author Box] Google 1 Code Recognition’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-author-box.svg)
 * [Post Author Box](https://wordpress.org/plugins/post-author-box/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-author-box/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-author-box/)
 * [Active Topics](https://wordpress.org/support/plugin/post-author-box/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-author-box/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-author-box/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-post-author-box-google-1-code-recognition/#post-2351457)
 * Status: resolved