getButterfly Logo getButterfly

The development version of ImagePress introduced shortcode widgets. This means you can add a shortcode to a text widget.

The previous widgets showed the most liked/voted images and the most popular ones (based on views). The shortcode does, basically, the same thing, the only difference being the reduced number of database queries.

After ImagePress updates, your widgets will no longer be available, so just create a text widget and add the [imagepress] shortcode:

Use the shortcode tag [imagepress mode="likes"] in a text widget to display most liked/voted images.
Use the shortcode tag [imagepress mode="views"] in a text widget to display most viewed images.
Use the shortcode tag [imagepress mode="likes/views" count="10"] to adjust the number of displayed images.

ImagePress Widget Shortcode

Subscribe to getButterfly Blog

Once a week or so we send an email with our best content. We never bug you, we just send you our latest piece of content.

If you found any value in this post, agree, disagree, or have anything to add - please do. I use comments as my #1 signal for what to write about. Read our comment policy before commenting! Comments such as "Thank you!", "Awesome!", "You're the man!" are either marked as spam or stripped from URL.

Leave a Reply

Your email address will not be published. Required fields are marked *