BCTS Tutorial: Changing the “via username” on a Per-Box basis.

As of version 4.7, users of my popular Better Click to Share WordPress Plugin have the ability to programmatically change the “via @username” on a per-box basis. Here’s how that works:

If you use the visual editor, clicking the little blue birdie icon will produce the pop-up that you are used to, with one important difference. Now, instead of a simple checkbox to enable or disable the “via,” it gives the option to change the username as well.

The username field pre-populates with the Twitter username you have set in the settings page for the plugin, if you have set that. If you uncheck the box, no username will be appended to the tweet when a user tweets, even if you you leave the username in the text field.

If you are using the text editor, here’s how to formulate the new shortcode:

[bctt tweet="some compelling quote from Guest Poster." username="guestposter"]

Note: If you use the shortcode attribute via="no" then no matter what you put in the username attribute, the plugin will ignore it; via="no" is an override-style attribute that will remove any username from the tweet.

Similar Posts

  • How to change the “Click to Tweet” text on Better Click to Share for WordPress

    Last week I added a feature to Better Click to Share for WordPress that continues to cause it to live up to it’s name. You can officially change the “Click To Tweet” anchor text on a per-box basis, now. Here’s what I mean: Before, while it was possible to change the text that is tweeted (kind…

  • Better Click to Share: Power User Guide

    This guide walks through the “power user” features of the Better Click to Share WordPress plugin. It’s written for the current WordPress editing experience, where Gutenberg and blocks are front and center. If you are comfortable working with blocks or shortcodes and want more control over how your Click to Share boxes behave, this is…

  • |

    How To Switch to Better Click to Share.

    So I’ve convinced you that switching plugins from Click to Tweet by the folks over at TodayMade (the makers of the top-notch content marketing editorial calendar CoSchedule) is worth it. But what about all of those tweet quotes you’ve already added to dozens (if not hundreds) of blog posts? Going back through to switch each quote manually…