Small WordPress plugin to create and display an easily customizable modal box.
Find a file
2025-03-12 21:48:48 +01:00
assets bugfix: added missing generator calls for range & number fields 2023-03-16 14:27:06 +01:00
inc fixed PHP 8.1+ incompatibility 2025-03-12 21:48:48 +01:00
languages major refactoring 2023-02-27 00:16:58 +01:00
.gitignore fixed PHP 8.1+ incompatibility 2025-03-12 21:48:48 +01:00
composer.json fixed PHP 8.1+ incompatibility 2025-03-12 21:48:48 +01:00
gd-simple-modal.php fixed PHP 8.1+ incompatibility 2025-03-12 21:48:48 +01:00
index.php Initial commit 2023-02-17 22:23:05 +01:00
README.md fixed PHP 8.1+ incompatibility 2025-03-12 21:48:48 +01:00
uninstall.php Initial commit 2023-02-17 22:23:05 +01:00
wpml-config.xml major refactoring 2023-02-27 00:16:58 +01:00

Description

Simple Modal Box is a small WordPress plugin that provides an easy way to display a modal box with custom content.

The appearance and content of the modal box can be edited through the WordPress backend.

Features

  • WYSIWYG editor for the modal box content
  • Customizable overlay color and transparency
  • Customizable border color, border radius, thickness and style
  • Ability to localize plugin with language files
  • Customizable colors for the modal box background, text and links
  • and more...

Installation

Through WordPress backend:

  • Download the zip file of this repo to your computer
  • Log in to your WordPress admin area, go to "Plugins" -> "Install"
  • Click on "Upload file" and choose the zip you just downloaded
  • Click on "Activate" after the plugin has been uploaded

Manual installation:

  • Download the zip file of this repo to your computer
  • Unpack the zip file
  • Upload the unpacked folder with a FTP program to "/wp-config/plugins" (default path, maybe different for your WP installation)
  • Log in to your WordPress admin area, go to "Plugins" and activate the plugin

Development

All development work is done on this website. This plugin is not published to the official WordPress plugin repository, as I don't have time to support it on their forums.

Note about support

This plugin is distributed AS IS.

I do not support it in any way. If you have issues, you have to solve them on your own.

I won't add any features on request, however you can simply fork this repo and start developing anything you need.

Requirements

Requires PHP >= 8.0 and WordPress >= 6.0

Changelog

v1.0.0

  • Initial Release

v1.0.1

  • Various bugfixes

v1.1.0

  • Refactored backend code to use new common class for registering options pages
  • Renamed options in database - 🔥 Breaks compatibility with v1.0.x but enables future extensions
  • Added possibility to translate some backend fields through wpml-config.xml

v1.2.0

  • Rolled back changes in backend options page because of several problems when saving the modal box content
  • Fixed bug in frontend output that prevented correct rendering of the page HTML

v1.3.0

  • 🧨 Breaking change: 🧨
    Switched the hosting of the plugin development from Github to my self-hosted GitLab instance. The old versions are still available on Github but won't get any further updates. If you installed this plugin via Composer please change the URLs in your composer.json!
  • 🧨 Breaking change: 🧨
    Changed how data is saved to the database. If you're already using an older version you have to uninstall and reinstall the plugin!
  • Refactored options page to use new generic form field generator class
  • Various bugfixes in frontend and backend

v1.3.1

  • Bugfix: Added missing generator calls for range and number inputs
  • Fixed CSS and markup for range input fields

v1.3.2

  • Minor bugfixes for PHP 8.1+ compatibility

Additional information

All my domains (flowzen.de and gitlab.flowzen.de) could have minor errors, since I am developing in my spare time. However, it is usually stable.

Note about versioning: Versions are cut in Major.Minor.Patch schema. Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.