Support » Plugin: Google for WordPress » 1 button end of h1 title with url parameter

  • Resolved Watch Teller

    (@watchteller)


    Hi,

    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.

    https://wordpress.org/plugins/sz-google/

Viewing 1 replies (of 1 total)
  • Plugin Author Massimo Della Rovere

    (@massimodellarovere)

    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()

Viewing 1 replies (of 1 total)
  • The topic ‘1 button end of h1 title with url parameter’ is closed to new replies.