VK All in One Expansion Unit - Version 1.0.8

Version Description

Download this release

Release Info

Developer kurudrive
Plugin Icon 128x128 VK All in One Expansion Unit
Version 1.0.8
Comparing to
See all releases

Code changes from version 1.0.7 to 1.0.8

Files changed (4) hide show
  1. plugins/insert_ads.php +4 -4
  2. readme.txt +1 -1
  3. vkExUnit.php +3 -3
  4. vkExUnit_admin.php +2 -1
plugins/insert_ads.php CHANGED
@@ -34,8 +34,8 @@ class vExUnit_Ads {
34
35
public function option_init() {
36
vkExUnit_register_setting(
37
- __('Insert ads', 'vkExUnit'), // tab label.
38
- 'vkExUnit_Ads', // name attr
39
array( $this, 'sanitize_config' ), // sanitaise function name
40
array( $this, 'render_configPage' ) // setting_page function name
41
);
@@ -59,7 +59,7 @@ class vExUnit_Ads {
59
if( $ads[1] ) $class="col-md-6";
60
61
$content = '';
62
- $content .= '<div class="row vkExUnit_AdWord '.$area.'">';
63
foreach($ads as $ad){
64
if(!$ad) break;
65
@@ -67,7 +67,7 @@ class vExUnit_Ads {
67
$content .= $ad;
68
$content .= '</div>';
69
}
70
- $content .= '</div>';
71
72
return $content;
73
}
34
35
public function option_init() {
36
vkExUnit_register_setting(
37
+ __('Insert ads', 'vkExUnit'), // tab label.
38
+ 'vkExUnit_Ads', // name attr
39
array( $this, 'sanitize_config' ), // sanitaise function name
40
array( $this, 'render_configPage' ) // setting_page function name
41
);
59
if( $ads[1] ) $class="col-md-6";
60
61
$content = '';
62
+ $content .= '<aside class="row vkExUnit_insertAds '.$area.'">';
63
foreach($ads as $ad){
64
if(!$ad) break;
65
67
$content .= $ad;
68
$content .= '</div>';
69
}
70
+ $content .= '</aside>';
71
72
return $content;
73
}
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 4.2
6
Tested up to: 4.2
7
- Stable tag: 1.0.7
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 4.2
6
Tested up to: 4.2
7
+ Stable tag: 1.0.8
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: VK All in One Expansion Unit
4
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
5
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- Version: 1.0.7
7
Author: Vektor,Inc.
8
Author URI: http://vektor-inc.co.jp
9
License: GPL2
@@ -126,8 +126,8 @@ if ( isset($options['active_childPageIndex']) && $options['active_childPageIndex
126
if ( isset($options['active_sitemap_page']) && $options['active_sitemap_page'] )
127
require vkExUnit_get_directory() . '/plugins/sitemap_page/sitemap_page.php';
128
129
- if ( isset($options['active_insert_ads']) && $options['active_insert_ads'] )
130
- require vkExUnit_get_directory() . '/plugins/insert_ads.php';
131
132
// page custom field
133
if ( isset($options['active_childPageIndex']) && $options['active_childPageIndex'] || isset($options['active_sitemap_page']) && $options['active_sitemap_page'] )
3
Plugin Name: VK All in One Expansion Unit
4
Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
5
Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ Version: 1.0.8
7
Author: Vektor,Inc.
8
Author URI: http://vektor-inc.co.jp
9
License: GPL2
126
if ( isset($options['active_sitemap_page']) && $options['active_sitemap_page'] )
127
require vkExUnit_get_directory() . '/plugins/sitemap_page/sitemap_page.php';
128
129
+ // if ( isset($options['active_insert_ads']) && $options['active_insert_ads'] )
130
+ // require vkExUnit_get_directory() . '/plugins/insert_ads.php';
131
132
// page custom field
133
if ( isset($options['active_childPageIndex']) && $options['active_childPageIndex'] || isset($options['active_sitemap_page']) && $options['active_sitemap_page'] )
vkExUnit_admin.php CHANGED
@@ -333,7 +333,7 @@
333
</tr>
334
335
336
-
337
<!-- [ Insert ads ] -->
338
<tr<?php echo (isset($options['active_insert_ads']) && $options['active_insert_ads'])? ' class="active"': ' class="inactive"'; ?>>
339
<th scope='row' class='check-column'>
@@ -355,6 +355,7 @@
355
</div><!-- [ /.plugin-description ] -->
356
</td>
357
</tr>
358
359
</tbody>
360
333
</tr>
334
335
336
+ <?php /*
337
<!-- [ Insert ads ] -->
338
<tr<?php echo (isset($options['active_insert_ads']) && $options['active_insert_ads'])? ' class="active"': ' class="inactive"'; ?>>
339
<th scope='row' class='check-column'>
355
</div><!-- [ /.plugin-description ] -->
356
</td>
357
</tr>
358
+ */?>
359
360
</tbody>
361