Version Description
- Fixed: Rotate (slide) option not working properly with code ads
Download this release
Release Info
Developer | mekshq |
Plugin | Meks Easy Ads Widget |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0 to 2.0.1
- css/admin-style.css +1 -1
- inc/class-ads-widget.php +5 -3
- meks-easy-ads-widget.php +2 -2
- readme.txt +7 -4
css/admin-style.css
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
.mks-ads-field-width {
|
3 |
width: 70%;
|
4 |
}
|
@@ -6,6 +5,7 @@
|
|
6 |
.mks-ads-select-image-btn{
|
7 |
width: 28%;
|
8 |
text-align: center;
|
|
|
9 |
}
|
10 |
|
11 |
|
|
|
1 |
.mks-ads-field-width {
|
2 |
width: 70%;
|
3 |
}
|
5 |
.mks-ads-select-image-btn{
|
6 |
width: 28%;
|
7 |
text-align: center;
|
8 |
+
min-width: 90px;
|
9 |
}
|
10 |
|
11 |
|
inc/class-ads-widget.php
CHANGED
@@ -102,9 +102,11 @@ class MKS_Ads_Widget extends WP_Widget {
|
|
102 |
</li>
|
103 |
<?php else: ?>
|
104 |
<?php if( $ad['type'] === 'code' && !empty( $ad['code'] ) ) : ?>
|
105 |
-
<
|
106 |
-
|
107 |
-
|
|
|
|
|
108 |
<?php endif; ?>
|
109 |
<?php endif; ?>
|
110 |
<?php
|
102 |
</li>
|
103 |
<?php else: ?>
|
104 |
<?php if( $ad['type'] === 'code' && !empty( $ad['code'] ) ) : ?>
|
105 |
+
<li data-showind="<?php echo $show_ind; ?>">
|
106 |
+
<div <?php echo $ad_size; ?>>
|
107 |
+
<?php echo do_shortcode($ad['code']); ?>
|
108 |
+
</div>
|
109 |
+
</li>
|
110 |
<?php endif; ?>
|
111 |
<?php endif; ?>
|
112 |
<?php
|
meks-easy-ads-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Meks Easy Ads Widget
|
|
4 |
Plugin URI: http://mekshq.com
|
5 |
Description: Display unlimited number of ads inside your WordPress widget. Specify custom ads size, randomize, rotate, enjoy!
|
6 |
Author: Meks
|
7 |
-
Version: 2.0
|
8 |
Author URI: http://mekshq.com
|
9 |
Text Domain: meks-easy-ads-widget
|
10 |
Domain Path: /languages
|
@@ -30,7 +30,7 @@ Domain Path: /languages
|
|
30 |
|
31 |
define ('MKS_ADS_WIDGET_URL', trailingslashit(plugin_dir_url(__FILE__)));
|
32 |
define ('MKS_ADS_WIDGET_DIR', trailingslashit(plugin_dir_path(__FILE__)));
|
33 |
-
define ('MKS_ADS_WIDGET_VER', '2.0');
|
34 |
|
35 |
/* Initialize Widget */
|
36 |
if(!function_exists('mks_ads_widget_init')):
|
4 |
Plugin URI: http://mekshq.com
|
5 |
Description: Display unlimited number of ads inside your WordPress widget. Specify custom ads size, randomize, rotate, enjoy!
|
6 |
Author: Meks
|
7 |
+
Version: 2.0.1
|
8 |
Author URI: http://mekshq.com
|
9 |
Text Domain: meks-easy-ads-widget
|
10 |
Domain Path: /languages
|
30 |
|
31 |
define ('MKS_ADS_WIDGET_URL', trailingslashit(plugin_dir_url(__FILE__)));
|
32 |
define ('MKS_ADS_WIDGET_DIR', trailingslashit(plugin_dir_path(__FILE__)));
|
33 |
+
define ('MKS_ADS_WIDGET_VER', '2.0.1');
|
34 |
|
35 |
/* Initialize Widget */
|
36 |
if(!function_exists('mks_ads_widget_init')):
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mekshq
|
|
3 |
Donate link: http://mekshq.com/
|
4 |
Tags: ad, ads, affiliate, niche, advertising, advertisement, marketing, sidebar, widget
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.0
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
@@ -46,10 +46,13 @@ For any questions, error reports and suggestions please email support@mekshq.com
|
|
46 |
|
47 |
== Changelog ==
|
48 |
|
|
|
|
|
|
|
49 |
= 2.0 =
|
50 |
-
* Added a
|
51 |
* New ad type: you can paste code for ads instead of image ads
|
52 |
-
* Added a
|
53 |
* Added "remove" ad button
|
54 |
|
55 |
= 1.2.2 =
|
3 |
Donate link: http://mekshq.com/
|
4 |
Tags: ad, ads, affiliate, niche, advertising, advertisement, marketing, sidebar, widget
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.8
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
46 |
|
47 |
== Changelog ==
|
48 |
|
49 |
+
= 2.0.1 =
|
50 |
+
* Fixed: Rotate (slide) option not working properly with code ads
|
51 |
+
|
52 |
= 2.0 =
|
53 |
+
* Added a possibility to upload an image from media library
|
54 |
* New ad type: you can paste code for ads instead of image ads
|
55 |
+
* Added a possibility to reorder (drag and drop) ads
|
56 |
* Added "remove" ad button
|
57 |
|
58 |
= 1.2.2 =
|