Flexible Modal is a very simple plugin to add modal windows to your WordPress content using shortcodes.
As of April 2026, Flexible Modals is a WordPress block plugin with 30 active installations and a 3.5/5 rating from 4 reviews. It has been downloaded 72K+ times in total. Requires WordPress 3.5+ and PHP false+. Available on WordPress.org since 2014. Last updated 11 years ago — may have compatibility concerns. Top alternative: Spectra Gutenberg Blocks – Website….
Modal windows are interesting way to include extran information on a page. adaptive-modal.js makes it beautiful. You can use this little plugin which uses the same jQuery plugin to creae modal windows easily in any page or post or even on a widget uisng shortcode.
I have also added another functionality into this plugin, which will let you to embed your modal content into your post a page directly.
Upon activation, the plugin will create a custom post type called ‘Modals’. Where you can add your content, which later you can use it on a modal or embed directly into your page or post.
the ‘modal’ shortcode is to create modal windows.
For now the [modal] shortcode comes with four attributes.
id
Your modal id. eg: [modal id=2]Click here[/…
| WordPress | 3.5+ requiredTested up to 3.9.40 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.