WordPress.org

Ready to get started?Download WordPress

Plugin Directory

JM HTML5 Responsive Gallery

A plugin meant to replace poor native WordPress gallery markup with HTML5 and to add some responsive CSS.

  1. Upload plugin files to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Now your gallery has HTML5 markup and your images a little more responsive

  4. How to use this plugin ? *There are no setting available because it is meant to be customized with your own script, CSS etc... and above all I wanted this plugin to be light. *But I got this comment on support :

Could you write some few lines on how to use your plugin. As a developer it is so easy to assume so many things.

*And this is true, you might need some guidelines.

Markup

Find a example without having to add ul and li markup. Anyway it's really easy to change markup according to your needs.

CSS and JS

Now look for "function enqueue_my_files()" (line 140).

I use this amazing function that allows you to call scripts and CSS only if the shortcode gallery is used (performance). To add your own CSS, you just have to modify jm-hmtl5-responsive-gallery.css which is in the folder /css

But what if you want to add your own js ? It's simple, just decomment lines 149 and add your script. You can add JavaScript or jQuery in /js/jm-html5-responsive-gallery-example.js

Compatible up to: 3.9
Last Updated: 2014-4-17
Downloads: 5,044

Ratings

3 stars
3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,2,0