ShareThis: Share Buttons and Social Analytics
[resolved] Pre-populate Twitter Hashtags (3 posts)

  1. Coe_Lacy
    Posted 2 years ago #

    I've installed the ShareThis plugin on a WordPress site and have it properly displaying and using the appropriate username. However, I NEED it to be also adding a hashtag to each Twitter share like so:

    "Page Title - Website #twitterhashtag http://shar.es/ykLrk via @username"

    The hash can fall anywhere in there, but there are no options in the plugin to insert a hashtag like there are when using the standard website Twitter and ShareThis codes. I'd use those if I could but the site has been using the plugin for a while and they don't want to lose the existing analytics. Is there a php or js file I need to append to force the hashtag into the url? Hope to hear soon! Thanks!


  2. Coe_Lacy
    Posted 2 years ago #

    Sorry, I jumped the gun on this.

    In the options for the plugin there is a "Click to view/modify the HTML tags" field; adding 'st_msg="#HASHTAG" ' or appending the 'st_title' field with the hashtag will do exactly whatcha want.

  3. sharethissupport
    Posted 2 years ago #

    Hello Users,

    We have updated the ShareThis WP Plugin and in the new plugin there is no option to edit the code. Instead we have already provided the options to add the Twitter Handle and other details in the Plugin Settings page.

    Please make sure that you have installed the new ShareThis Plugin version 7.0.6.
    Please implement and let us know if you face any issues and do provide your website details.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ShareThis: Share Buttons and Social Analytics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic