Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Easy Modal |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- easy-modal.php +5 -5
- readme.txt +8 -7
easy-modal.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Modal
|
|
4 |
Plugin URI: https://easy-modal.com
|
5 |
Description: Easily create & style modals with any content. Theme editor to quickly style your modals. Add forms, social media boxes, videos & more.
|
6 |
Author: Wizard Internet Solutions
|
7 |
-
Version: 1.2.
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
*/
|
10 |
if (!defined('EASYMODAL'))
|
@@ -20,7 +20,7 @@ if (!defined('EASYMODAL_URL'))
|
|
20 |
define('EASYMODAL_URL', WP_PLUGIN_URL . '/' . EASYMODAL_SLUG);
|
21 |
|
22 |
if (!defined('EASYMODAL_VERSION'))
|
23 |
-
define('EASYMODAL_VERSION', '1.2.
|
24 |
|
25 |
class Easy_Modal {
|
26 |
protected $api_url = 'http://easy-modal.com/api';
|
@@ -132,14 +132,14 @@ class Easy_Modal {
|
|
132 |
}
|
133 |
public function post_meta_boxes()
|
134 |
{
|
135 |
-
$
|
136 |
-
foreach($
|
137 |
{
|
138 |
add_meta_box(
|
139 |
'easy-modal', // Unique ID
|
140 |
esc_html__( 'Easy Modal', 'easy-modal' ), // Title
|
141 |
array(&$this,'easy_modal_post_modals'), // Callback function
|
142 |
-
$
|
143 |
//'side', // Context
|
144 |
//'default' // Priority
|
145 |
);
|
4 |
Plugin URI: https://easy-modal.com
|
5 |
Description: Easily create & style modals with any content. Theme editor to quickly style your modals. Add forms, social media boxes, videos & more.
|
6 |
Author: Wizard Internet Solutions
|
7 |
+
Version: 1.2.2
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
*/
|
10 |
if (!defined('EASYMODAL'))
|
20 |
define('EASYMODAL_URL', WP_PLUGIN_URL . '/' . EASYMODAL_SLUG);
|
21 |
|
22 |
if (!defined('EASYMODAL_VERSION'))
|
23 |
+
define('EASYMODAL_VERSION', '1.2.2' );
|
24 |
|
25 |
class Easy_Modal {
|
26 |
protected $api_url = 'http://easy-modal.com/api';
|
132 |
}
|
133 |
public function post_meta_boxes()
|
134 |
{
|
135 |
+
$post_types = apply_filters('em_post_types', array('post','page'));
|
136 |
+
foreach($post_types as $post_types)
|
137 |
{
|
138 |
add_meta_box(
|
139 |
'easy-modal', // Unique ID
|
140 |
esc_html__( 'Easy Modal', 'easy-modal' ), // Title
|
141 |
array(&$this,'easy_modal_post_modals'), // Callback function
|
142 |
+
$post_types // Admin page (or post type)
|
143 |
//'side', // Context
|
144 |
//'default' // Priority
|
145 |
);
|
readme.txt
CHANGED
@@ -6,13 +6,11 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
6 |
Tags: modal,modal box,modal form,modal window,popup,popup box,popup form,popup window,ajax forms
|
7 |
Requires at least: 3.2
|
8 |
Tested up to: 3.6
|
9 |
-
Stable tag: 1.2.
|
10 |
Easily create & style modals with any content. Theme editor to quickly style your modals. Add forms, social media boxes, videos, slideshows & more.
|
11 |
|
12 |
== Description ==
|
13 |
This plugin allows you to easily add unlimited Modal windows with just about any content. It accepts shortcodes and has been tested to work with Contact Form 7 custom forms using ajax submission.
|
14 |
-
|
15 |
-
Make Pop Ups, Lightboxes & Modals that look like they match your site.
|
16 |
|
17 |
= Core Features =
|
18 |
* Unlimited Customizable Modals
|
@@ -39,14 +37,14 @@ Make Pop Ups, Lightboxes & Modals that look like they match your site.
|
|
39 |
* Expedited Feature Requests
|
40 |
* Setup Assistance
|
41 |
|
42 |
-
= If you love it, Rate It =
|
43 |
-
If you like the plugin please [rate it](http://wordpress.org/support/view/plugin-reviews/easy-modal "Easy Modal Ratings & Reviews").
|
44 |
|
45 |
-
|
|
|
|
|
46 |
|
47 |
[Wizard Internet Solutions](http://wizardinternetsolutions.com "Website Design & Development") - Developers Site
|
48 |
|
49 |
-
To be notified of plugin updates, [follow us on Twitter](http://twitter.com/EasyModal "
|
50 |
|
51 |
== Installation ==
|
52 |
1. Upload `Easy-Modal` folder to the `/wp-content/plugins/` directory
|
@@ -56,6 +54,9 @@ To be notified of plugin updates, [follow us on Twitter](http://twitter.com/Easy
|
|
56 |
5. Copy and Add ``eModal-#` class from the modals settings page to the object you want to make activate the modal window. Will work on divs, links, list elements and just about anything else.
|
57 |
|
58 |
== Changelog ==
|
|
|
|
|
|
|
59 |
= v1.2.1 =
|
60 |
* Fixes compatibility issues with Ultimate TinyMCE Plugin.
|
61 |
* Added plugin update notes to plugin page when updates are available.
|
6 |
Tags: modal,modal box,modal form,modal window,popup,popup box,popup form,popup window,ajax forms
|
7 |
Requires at least: 3.2
|
8 |
Tested up to: 3.6
|
9 |
+
Stable tag: 1.2.2
|
10 |
Easily create & style modals with any content. Theme editor to quickly style your modals. Add forms, social media boxes, videos, slideshows & more.
|
11 |
|
12 |
== Description ==
|
13 |
This plugin allows you to easily add unlimited Modal windows with just about any content. It accepts shortcodes and has been tested to work with Contact Form 7 custom forms using ajax submission.
|
|
|
|
|
14 |
|
15 |
= Core Features =
|
16 |
* Unlimited Customizable Modals
|
37 |
* Expedited Feature Requests
|
38 |
* Setup Assistance
|
39 |
|
|
|
|
|
40 |
|
41 |
+
If you like the plugin please rate it.
|
42 |
+
|
43 |
+
[Easy Modal Page](http://easy-modal.com "Easy Modal Page - Info, Demo and Discussion") - Info, Demo and Feature Discussion
|
44 |
|
45 |
[Wizard Internet Solutions](http://wizardinternetsolutions.com "Website Design & Development") - Developers Site
|
46 |
|
47 |
+
To be notified of plugin updates, [follow us on Twitter](http://twitter.com/EasyModal "Wizard Internet Solutions on Twitter")!
|
48 |
|
49 |
== Installation ==
|
50 |
1. Upload `Easy-Modal` folder to the `/wp-content/plugins/` directory
|
54 |
5. Copy and Add ``eModal-#` class from the modals settings page to the object you want to make activate the modal window. Will work on divs, links, list elements and just about anything else.
|
55 |
|
56 |
== Changelog ==
|
57 |
+
= v1.2.2 =
|
58 |
+
* Added filter to add meta boxes and em options to custom post types.
|
59 |
+
|
60 |
= v1.2.1 =
|
61 |
* Fixes compatibility issues with Ultimate TinyMCE Plugin.
|
62 |
* Added plugin update notes to plugin page when updates are available.
|