Add handle override per tweet
-
Hello! I’m excited to learn about this project. I had started to dev housemade’s version before find your version which had some similar customizations already built in – awesome!
However, one ability I’ve been trying to add is the ability to customize the handle per tweet. I think the best way to do this is to build onto the .js file you’ve created. Something like:
{ type: 'textbox', name: 'handle_override', label: editor.getLang( 'bctt.handleOverride', 'Handle Override' ) }
Then, in better-click-to-tweet.php, add a conditional that says something like IF handle=yes and handle_override=yes, then use handle override instead of handle.
I’m not sure how you’re currently parsing text from that JS file though, and was wondering if this functionality would be something you’d be interested in adding?
Thanks for your great work!
Max
- The topic ‘Add handle override per tweet’ is closed to new replies.