This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Android Shortcode


Linking to Android Market apps is somewhat problematic. Because Android Market links only work from Android devices, the most common way to link to an Android app is to offer a QR code of the app link that can be scanned with an app like Barcode Scanner.

However, when browsing from an Android device, a direct link to the Android Market is preferred. What works well for Android devices does not suit the rest and viceversa.

WP Android Shortcode solves this problem by using the [android] shortcode to convert Android Market links to the best option based on the platform. Android devices get a direct link to the Android Market, while the rest gets the corresponding QR code. In both cases a nifty Android Market badge is used to clearly indicate that this is a link to an Android app.



[android href=”market://search?q=pname:com.example”]

[android href=”market://search?q=pname:com.example” title=”Your app name”]


  1. Upload the wp-android-shortcode folder to the /wp-content/plugins/ directory, or download through the Plugins menu in WordPress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the [android] shortcode in your post content


What is a shortcode?

A shortcode is a WordPress-specific code that lets you do more by writing less. They can be used in posts and pages (by default) and are marked by square brackets like [this].

This plugin adds the [android] shortcode to WordPress.

Can I use the [android] shortcode in widgets or my template?

Shortcodes are only enabled in posts and pages by default. However, they can be enabled for widgets and templates with a little code. See this post for more info:

Contributors & Developers

“WP Android Shortcode” is open source software. The following people have contributed to this plugin.


Translate “WP Android Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Internationalization
  • Added Spanish and Catalan localization
  • Changed deprecated eregi function to preg_match


  • First version