In January 2011 SmugMug introduced a new feature that enabled users to add a photo directly to the SmugMug shopping
cart from external websites. This plugin parses the standard SmugMug photo page and automatically creates a custom
tailored “buy” link to add to your WordPress posts and pages via a shortcode.
Visit the SmugBuy homepage for more information on how to incorporate the plugin into your blog.
For more information on SmugMug head to www.smugmug.com.
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.
- Make sure you have printing enabled in your gallery settings on SmugMug.
- Activate the plugin through the Plugins menu in WordPress.
- Edit the SmugBuy options through the Settings menu in WordPress.
[smugbuy photo="<smugmug photo url>"]or
[smugbuy gallery="<smugmug gallery url>"]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_cLRpFG#!i=919177302&k=auTM7" display="yes"]
- I recently upgraded my SmugBuy plugin, however some of the options are missing. What do I do?
Try deactivating and reactivating SmugBuy from the Plugins administration screen.
- How do I customize the SmugBuy links using CSS?
First, you must enable the use of
smugbuy.cssin the SmugBuy settings screen. Once enabled edit
smugbuy.cssin the Plugins editor screen.
- Why aren’t my SmugBuy links generating properly?
Sometimes using the visual editor can create problems with SmugBuy. If you’re using the visual editor make sure the SmugMug links don’t get linkified. If they do, click on the
unlinkicon on the toolbar, or press
Contributors & Developers
“SmugBuy” is open source software. The following people have contributed to this plugin.Contributors
- 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.