Document Gallery for Real Media Library


This plugin needs version > 4.3.2 of the Document Gallery plugin.

Watch the following video for a brief demonstration of Document Gallery in action:

Just install this plugin and you will be able to use the following shortcode: [dg id=-1 rml_folder=28]. The rml_folder attribute is the ID of the folder.

How do you get the folder ID? Simply use the Real Media Library shortcode generator (visual editor toolbar) and select your folder. Then generate the shortcode and have a look at the fid attribute which represents your folder id.

This plugin is an extension for the WP Real Media Library plugin that allows you to create folders in media library.
This plugin needs version >= 3.0 of the WP Real Media Library plugin.


  1. Goto your wordpress backend
  2. Navigate to Plugins > Add new
  3. Search for “Document Gallery for Real Media Library”
  4. “Install”


Why are folders grayed out in the RML shortcode generator dialog?

The Real Media Library shortcode generator does not allow all folders after installation. This is an extra option you must set in Settings > Media “Allow all folders for folder gallery”.

Contributors & Developers

“Document Gallery for Real Media Library” is open source software. The following people have contributed to this plugin.




  • Initial Release.