DX Share Selection – Fork

I have that habit of selecting text snippets while I read (like adding breakpoints every few lines), but still I find it quite helpful when I can share a given snippet in an article by selecting it and sharing it through a popup.

I found the WP Selected Text Sharer in the repo and it looks pretty close to what I need, however it hasn’t been maintained for a while (more than 3 years). I have contacted the plugin author and he mentioned that he’d like to rewrite it one day, so I forked it into a simplified version with few bugs cleared named DX Share Selection.

It’s quite neat and includes several features by default, such as sharing to popular social networks like Twitter and Facebook, searching a selected snippet in the blog or Wikipedia (or Google) and it parses it’s own simple template language that allows for adding random social networks that has a standard API for passing a title and a URL (as most networks already do).

There are few extra things I find useful but they are not implemented yet. Limiting the number of characters for a popup (to avoid annoying popups on every character), fine tuning of the area limits (to avoid sharing menu items, for example) and several more, so – as usual – pull requests are welcome.


Mario Peshev is a serial martech entrepreneur, global business advisor, angel investor, and author, famous for launching a top 20 enterprise WordPress consultancy and authoring the modern startup formation book, “MBA Disrupted.”

His digital footprint includes 25 years of creating and scaling technical solutions, building and growing digital teams, starting and growing companies from zero to seven figures, acquiring and selling assets and businesses, and investing in global startups like beehiiv, doola, the Stacked Marketer, Alcatraz, SeedBlink.

Peshev spent over 10,000 hours in consulting and training activities for organizations like VMware, SAP, Software AG, CERN, Saudi Aramco since 2006. His books and guides are references in over 30 universities in North America, Europe, and Asia.


Follow Mario on social:

Latest Editions:

Browse by Category

Latest Answers: