Google for WordPress
[resolved] +1 button end of h1 title with url parameter (2 posts)

  1. Watch Teller
    Posted 1 year ago #


    Refer your +1 button's documents, is there anyway insert the button end of h1 title i.e. for page, single post and single product h1 title with the url parameter of cornerstone's page of post???

    Appreciated to have example snippets or code.

    Thanks in advance.


  2. Massimo Della Rovere
    Plugin Author

    Posted 1 year ago #

    in the next release I'll try to leave an option that automatically run at the time you need to use the php function

    $options = array(
      'url'        => 'http://domain.com/article.php',
      'size'       => 'medium',
      'annotation' => 'bubble',
    if (function_exists('szgoogle_gplus_get_button_one')) {
      echo szgoogle_gplus_get_button_one($options);

    change url with current permalink example get_permalink()

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.