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.

Oh my prints


Connect a post or page to an object for sale on /
If a work is not for sale it points to your shop.

Clicks on the shop/photo link are counted and shown as a column in the page/posts overview so you can see how many users clicked on
the link.

After installing this plugin you have to put the widget on the pages with sellable photo’s, paintings and the like.
In the page or posts on the photo you will find a field to save the artcode. Pages with an artcode het the “for sale” texts
as given in the widget settings. All other photo’s get the description.
In the description you can use an for the link to the ohmyprint site. As this link works through an ajax call there are
some attributes needed and all those are filled in on the %s spot. After clicking the page is loaded in a new tab/window.

in the posts and pages overview there will be a column “sale clicks” which shows the number of times the widget is clicked.
If the “for sale” link was followed on an photo which is not for sale an ‘*’ is added to the counter.

Btw. This plugin has no connection with the company behind “Oh My Print” or “Werk aan de muur”. They don’t have an api or any programmer support and this
plugin basically just redirects your users to the right page. To bad for the lack of api, I would love to show some real statistics..

Since version 1.1 there’s also a shortcode to use:

[ohmyprints]This photo is for sale! Click here to go to the sales page.[/ohmyprints]

The text will only be shown when there’s an artcode for the page. The will be changed into an link with the right info as needed.


For an example of the plugin in action see:

I use this widget together with WooSidebars ( so I can easy controle where the widget ends up..
The WooSidebars widget isn’t tested for 4.1 but works without problems for me.
In my case it’s only loaded for photo’s in the “for sale” category.


  • Widget as the user sees it
  • The widget settings
  • the artcode window
  • the sale clicks overview.
  • where to find the artcode.


  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widget to a widgetarea and adjust the fields if needed.
  4. Go to the pages/posts you want to connect and add the artcode.


Why did you write this widget?

To hopefully stimulate sales.

I would like some sales statistics on the admin screen

Yep.. me too.. but no api.

the artcode is an image. Can’t cut and paste?!

Well, yes.. but the same code is also part of the URL. And there you CAN cut and past!

Contributors & Developers

“Oh my prints” is open source software. The following people have contributed to this plugin.


Translate “Oh my prints” into your language.

Interested in development?

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



Some changes to the basic_plugin_class which, regretfully, isn’t allowed to have it’s own plugin anymore.


Fixes for WP 4.3


I noticed that the english version of the site disappeared. As I’m not sure it ever will show up again, I added a selection to the widget where
you can force which language to use. The default is “site language” which works as before. The alternatives are NL, EN, DE and FR.


  • added shortcode
  • few minor fixes.


  • First release