Title: Twitter links
Last modified: August 21, 2016

---

# Twitter links

 *  Resolved [cxvergara](https://wordpress.org/support/users/cxvergara/)
 * (@cxvergara)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/twitter-links-1/)
 * Hi,
 * I have the twitter share button, and it just shares the whole link to my articles.
   I would like to know if, af I have seen in other blogs, it is possible to add
   my name (via@culture-ant) and a way to shorten the urls.
 * Thanks in advance.
 * [https://wordpress.org/plugins/add-to-any/](https://wordpress.org/plugins/add-to-any/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [micropat](https://wordpress.org/support/users/micropat/)
 * (@micropat)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102446)
 * The Tweet button message isn’t as customizable, but with AddToAny’s square Twitter
   icon you can [customize the message sent to Twitter](http://www.addtoany.com/buttons/customize/wordpress/twitter_message).
 * Settings > AddToAny > add the following JavaScript code to your “Additional Options”
   box:
 *     ```
       a2a_config.templates = {
           twitter: "${title} ${link} via @Culture_Ant"
       };
       ```
   
 * URL shortening is [not necessary anymore](http://www.addtoany.com/blog/twitter-url-shortening-how-to-reactivate-bitly-jmp/),
   but you can [turn on Google Analytics URL parameters, or Bitly](http://www.addtoany.com/buttons/customize/wordpress/link_tracking),
   etc. if you’d like to track shared links.
 *  Thread Starter [cxvergara](https://wordpress.org/support/users/cxvergara/)
 * (@cxvergara)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102465)
 * Thank you very much! I have added the script and that seems good enough for me.
   
   I had no idea that URL shortening is not necessary anymore, thank you again for
   the information.
 * 🙂
 *  [drrmldvm](https://wordpress.org/support/users/drrmldvm/)
 * (@drrmldvm)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102590)
 * Hi Micropat. I have tried adding that code to mine and nothing has changed. What
   am I missing? Do I need to clear the cache? Update to latest version (I’m on 
   1.3.1)? Here is my blog:
 * [http://www.drryanllera.com](http://drryanllera.com)
 * I’m trying to get the Twitter share to read: “title, URL, by @DrRyanLleraDVM”
   Thank you!
 * a2a_config.templates = {
    twitter: ” ${title} ${link} by @DrRyanLleraDVM” };
 *  Plugin Author [micropat](https://wordpress.org/support/users/micropat/)
 * (@micropat)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102591)
 * [@drrmldvm](https://wordpress.org/support/users/drrmldvm/) As mentioned above,
   the Tweet button message isn’t as customizable, unfortunately. Switch from Tweet
   to AddToAny’s square icon and your custom message will work. In fact, it’s already
   working for Twitter right now in your drop-down share menu.
 *  [finhat](https://wordpress.org/support/users/finhat/)
 * (@finhat)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102610)
 * Hi there…
    What about adding category name to Twitter shares.
 * Like that:
 *     ```
       twitter: " ${category_name} ${title} ${link}"
       ```
   
 * Can we do this?
 *  [finhat](https://wordpress.org/support/users/finhat/)
 * (@finhat)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102613)
 * Is there any plugin author here to help us?
 *  Plugin Author [micropat](https://wordpress.org/support/users/micropat/)
 * (@micropat)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102618)
 * [@finhat](https://wordpress.org/support/users/finhat/) It’s not easy to include
   other variables in the Twitter message template yet, but that feature is planned.
 *  [finhat](https://wordpress.org/support/users/finhat/)
 * (@finhat)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102619)
 * [@micropat](https://wordpress.org/support/users/micropat/) ok, thanks…
 *  [adamburgh](https://wordpress.org/support/users/adamburgh/)
 * (@adamburgh)
 * [11 years ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102625)
 * Hi [@micropat](https://wordpress.org/support/users/micropat/). Just installed
   your plugin today and have been super impressed with it. I am trying to customize
   the AddToAny square Twitter icon (as stated at [https://www.addtoany.com/buttons/customize/wordpress/twitter_message](https://www.addtoany.com/buttons/customize/wordpress/twitter_message)),
   but I am not able to customize it. Specifically, when I try to replicated the
   example in the previous link my Twitter handle doesn’t appear. Can you please
   confirm that the instructions in the previous link are still valid?
 * Also, do you have any tips or previous posts on how to customize the menu for
   mobile, other than the great native options that are provided in the plugin? 
   So far I have hidden the Whatsapp and Email buttons for screen sizes bigger than
   980px using CSS (min-width display: none !importat), but if you have a more elagant
   suggested I would appreciate it!
 * Thanks a lot for your help!
 *  Plugin Author [micropat](https://wordpress.org/support/users/micropat/)
 * (@micropat)
 * [11 years ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102626)
 * [@adamburgh](https://wordpress.org/support/users/adamburgh/) You should post 
   a new topic with a link to your site so folks here can look at why your custom
   Twitter message isn’t working. Before you do that, check your web browser’s JavaScript
   console to see if the site has any JavaScript errors.
 * CSS media queries are the best way to show/hide the share buttons on mobile/desktop.
   You’re doing it right.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Twitter links’ is closed to new replies.

 * ![](https://ps.w.org/add-to-any/assets/icon.svg?rev=972738)
 * [AddToAny Share Buttons](https://wordpress.org/plugins/add-to-any/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-to-any/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-to-any/)
 * [Active Topics](https://wordpress.org/support/plugin/add-to-any/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-to-any/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-to-any/reviews/)

## Tags

 * [twitter](https://wordpress.org/support/topic-tag/twitter/)
 * [urls](https://wordpress.org/support/topic-tag/urls/)

 * 10 replies
 * 5 participants
 * Last reply from: [micropat](https://wordpress.org/support/users/micropat/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/twitter-links-1/#post-5102626)
 * Status: resolved