Skip to content
TarekNabil.Net
All projects

Project · WordPress plugin · Legacy

WP Viral Share

A WordPress plugin that holds outbound link clicks behind a popup until readers share the page or a countdown ends.

Role
Solo developer
Year
2012
Tags
PHPjQueryAJAXWordPress PluginJavaScriptWordPressLegacyPremium
A blurred, dimmed blog post with a mountain header behind a "Share to Continue" popup: Facebook, Twitter and Google+ share buttons, a 00:30 countdown to wait instead, and a close button A blurred, dimmed blog post with a mountain header behind a "Share to Continue" popup: Facebook, Twitter and Google+ share buttons, a 00:30 countdown to wait instead, and a close button

About the Project

WP Viral Share is a WordPress plugin I built on a client’s request. When a reader clicks a link to an external site, a popup appears and the redirect waits. The reader can continue by sharing the page on Facebook, Twitter or Google+, or by letting the countdown finish.

Admins can choose which pages are delayed automatically, exclude specific URLs, and set the popup’s size, countdown length and close button. The plugin was designed as a premium product, so it includes a license check before it runs.

Problem

Publishers want readers to share their content, but a normal link click gives them no reason to. The client wanted sharing built into the click itself. I built a standalone plugin for this instead of modifying an existing one.

Role

Solo developer. I turned the requirements into a plugin architecture, built the click-interception and popup logic, set up the admin settings, handled AJAX updates from the settings page, added the license check, and tested the user flows.

Stack

PHPWordPress Plugin APIJavaScriptjQueryHooks and filtersOptions APIAJAX endpointsAdmin menujQuery UIlocalStorageFacebook JavaScript SDKTwitter WidgetsGoogle+ +1 buttonOpen GraphRemote license validation

Outcome

5/5 Client rating for the delivered plugin
3 Social networks integrated
Status: Sold more than 600 times on the market, then retired in 2015.

FAQ

What does the plugin do?

It shows a popup when a reader clicks an outbound link. The redirect waits until the reader shares the page or the countdown ends.

Does a reader have to share?

No. The countdown timer is the alternative way through.

Which networks does it support?

Facebook, Twitter and Google+.

How often does a reader see the popup?

Once per browser. The plugin remembers it in localStorage.

Can admins control which links are affected?

Yes. Admins can exclude specific URLs and choose which pages are delayed automatically.

Does it need a license?

Yes. It was built as a premium plugin and checks a license key before it runs.

Get in Touch

Reach out for any reason: a role, a project, or a question.

Send a message