Usage

Create Modal

  1. GOTO “Modals” -> “Add New”.
  2. Add some data to Content section. This field mandatory. Title and Footer are optional.
  3. Configure Modal behaviour in “Options” metabox (right sidebar).

Options

  • Select Template: Simple (display only content), Middle (title + content), Full (title + content + footer).
  • Call Selector – jQuery selector of the element which will open Modal by click. (Examples: a[href=”#OpenModal”], a#click_me, a.open-modal).
  • Width – Aliases for standart Bootstrap styles: Large (modal-lg), Middle (modal-md), Small (modal-sm).
  • Max Width – You could provide INT value to limit width of Modal (px).
  • Class – custom class.
  • ID – custom ID.