UPDATE: I am no longer maintaining SmugBuy as I am no longer a SmugMug customer. If you would like to take over SmugBuy, please contact me.
SmugBuy is a WordPress plugin that automatically generates a SmugMug “buy” link based on a SmugMug photo URL. The appropriate “buy” link is automatically inserted into WordPress posts and pages with a shortcode.
Administration Screen (click to make larger):
Example Post (click to make larger):
- Make sure you have printing enabled in your gallery settings on SmugMug.
- Upload smugbuy.php to the /wp-content/plugins/ directory.
- Activate the plugin through the Plugins menu in WordPress.
- Edit the SmugBuy options through the Settings menu in WordPress.
[smugbuy photo=""]in the post or page where you’d like your “buy” link to show up.
Example (photo w/o display):
Example (photo w/ display):
[smugbuy photo="http://prints.chrismartino.com/Galleries/ForYourWall/12948111_n28si#812797367_X3w3G" display="yes"]
If you’d like your site listed here, contact me!
For SmugBuy support, please post a message on one of the following:
- 1.1.4 used a PHP function that was only available in PHP 5.3 and above. This version is compatible with PHP 5.0 and greater. An upgrade isn't necessary if you're running PHP 5.3 or higher.
- Code cleanup.
- SmugMug changed the URL structure to improve SEO. This version of SmugBuy is compatible with the new URLs. It is also backward compatible with the old style URLs.
- Added some support options in the admin screen.
- Verified compatibility with WordPress 3.3.1.
- Added option to open the "buy" link in a new window.
- Verified compatibility with WordPress 3.1.
- Added the ability to customize the links using a css file. The feature is disabled by default and can be enabled in the SmugBuy options panel.
- Added gallery support.
- Added the ability to display the image along with the "buy" link.
- Added "Settings" link on the plugin page.
- Changed method for obtaining the smugmug url, thus elimating the "smugbuy_url" option.
- Initial release.
To support this plugin and it’s development, please consider purchasing a fine art print from me. Prints start at $10 USD and will look great displayed on your wall or desk.