1. Documentation
  2. Social Share
  3. [gamipress_social_share]

[gamipress_social_share]

Render buttons to let users share the current post.

Attributes:

  • title – Title to display before render the buttons. Default: Share it!
  • alignment – Set the buttons alignment. Accepts: left, center or right Default: left

Twitter Attributes:

  • twitter – Enable or disable Twitter share button. Accepts: yes or no Default: yes
  • twitter_pattern – Tweet message pattern. Default: {title} on {site_title}
  • twitter_username – Attribution of the Tweet source. Attribution will appear at the end of the Tweet as “via @username”.
  • twitter_count_boxAccepts: vertical, horizontal, none Default: vertical
  • twitter_button_sizeAccepts: medium, large Default: medium

Facebook Attributes:

  • facebook – Enable or disable Facebook share button. Accepts: yes or no Default: yes
  • facebook_action – Button Action. Accepts: like, recommend Default: like
  • facebook_button_layout – Button Layout. Accepts: standard, box_count, button_count, button Default: button
  • facebook_button_size – Button Size. Accepts: small, large Default: small
  • google_plus – Enable or disable Google+ share button Accepts: yes or no Default: yes
  • google_plus_button_annotationAccepts: bubble, inline, none Default: bubble
  • google_plus_button_sizeAccepts: small, medium, standard, tall Default: tall
  • google_plus_button_recommendations Default: no
  • linkedin – Enable or disable LinkedIn share button. Accepts: yes or no Default: yes
  • linkedin_counterAccepts: top, right, none Default: none

Google+ Attributes:

  • google_plus – Enable or disable Google+ share button Accepts: yes or no Default: yes
  • google_plus_button_annotation – Button Annotation. Accepts: bubble, inline, none Default: bubble
  • google_plus_button_size – Button Size. Accepts: small, medium, standard, tall Default: tall
  • google_plus_button_recommendations – Show Recommendations. Accepts: yes or no Default: no
  • linkedin – Enable or disable LinkedIn share button. Accepts: yes or no Default: yes
  • linkedin_counter – Counter. Accepts: top, right, none Default: none

Linkedin Attributes:

  • linkedin – Enable or disable LinkedIn share button. Accepts: yes or no Default: yes
  • linkedin_counter – Counter. Accepts: top, right, none Default: none

Pinterest Attributes:

  • pinterest – Enable or disable Google+ share button Accepts: yes or no Default: yes
  • pinterest_round – Round. Accepts: yes or no Default: no
  • pinterest_tall – Large. Accepts: yes or no Default: no
  • pinterest_count – Show Saves Count. Accepts: yes or no Default: no
  • pinterest_description – Description pattern (maximum 500 characters). Default: {title} on {site_title}

Example: [gamipress_social_share title="Share it!" twitter="yes" twitter_pattern="{title} on {site_title}" twitter_count_box="vertical" twitter_button_size="medium" facebook="yes" facebook_action="like" facebook_button_layout="button" facebook_button_size="small" google_plus="yes" google_plus_button_annotation="bubble" google_plus_button_size="tall" linkedin="yes" linkedin_counter="none" pinterest="yes" pinterest_round="yes" pinterest_tall="yes" pinterest_count="none" pinterest_description="{title} on {site_title}"]

Was this article helpful to you? Yes No

How can we help?