WordPress.org

Forums

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

  1. Watch Teller
    Member
    Posted 1 year ago #

    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/

  2. Massimo Della Rovere
    Member
    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

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

About this Topic

Tags

No tags yet.