Substitutor – A WordPress Plugin

Substitute or insert text directly into the page based on various conditions.

A simple shortcode to easily substitute the right text based on a range of conditions, such as the type of device.

Example:

In your page content, add this text:

Please [substitutor mobile="tap" desktop="click"] the button

This will produce the desired output, which is:

On a mobile device, people will see:
Please tap the button

On a desktop device, people will see:
Please click the button

More info on Github.