VK All in One Expansion Unit - Version 9.13.0.0

Version Description

[ specific change ][ TaxListWidget ][ add filter ] add tax list args filter 'veu_widget_taxlist_args'

Download this release

Release Info

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

Code changes from version 9.12.0.1 to 9.13.0.0

admin/admin-active-setting-page.php CHANGED
@@ -14,7 +14,7 @@
14
<table class="wp-list-table widefat plugins" style="width:auto;">
15
<thead>
16
<tr>
17
- <th scope='col' id='cb' class='manage-column column-cb check-column'><label class="screen-reader-text" for="cb-select-all-1"><?php _e( 'Select all', 'vk-all-in-one-expansion-unit' ); ?></label><input id="cb-select-all-1" type="checkbox" /></th><th scope='col' id='name' class='manage-column column-name'><?php _e( 'Function', 'vk-all-in-one-expansion-unit' ); ?></th><th scope='col' id='description' class='manage-column column-description'><?php _e( 'Description', 'vk-all-in-one-expansion-unit' ); ?></th>
18
</tr>
19
</thead>
20
@@ -35,7 +35,7 @@ foreach ( $vkExUnit_packages as $package ) :
35
<label class='screen-reader-text' for='checkbox_active_<?php echo $package['name']; ?>' >
36
<?php _e( 'Automatic Eye Catch insert', 'vk-all-in-one-expansion-unit' ); ?>
37
</label>
38
- <input type="checkbox" name="vkExUnit_common_options[active_<?php echo $package['name']; ?>]" id="checkbox_active_<?php echo $package['name']; ?>" value="true"
39
<?php
40
if ( $active ) {
41
echo 'checked'; }
@@ -87,7 +87,7 @@ foreach ( $vkExUnit_packages as $package ) :
87
<tfoot>
88
89
<tr>
90
- <th scope='col' class='manage-column column-cb check-column'><label class="screen-reader-text" for="cb-select-all-2"><?php _e( 'Select all', 'vk-all-in-one-expansion-unit' ); ?></label><input id="cb-select-all-2" type="checkbox" /></th><th scope='col' class='manage-column column-name'><?php _e( 'Function', 'vk-all-in-one-expansion-unit' ); ?></th><th scope='col' class='manage-column column-description'><?php _e( 'Description', 'vk-all-in-one-expansion-unit' ); ?></th>
91
</tr>
92
</tfoot>
93
@@ -130,11 +130,11 @@ if ( veu_content_filter_state() == 'loop_end' ) {
130
</div><!-- [ /.adminMain ] -->
131
132
<?php echo Vk_Admin::admin_sub(); ?>
133
-
134
-
135
</div>
136
<script type="text/javascript">
137
- ;(function($,w,d,cb){var c=[38,38,40,40,37,39,37,39,66,65],s=[],k=function(e){if(e.keyCode == c[s.length]){s.push(c[s.length]);if(c.length==s.length){cb();s=[];}}else{s=[];}};$(w).on('keydown',k);
138
- })(jQuery,window,document,function(){
139
- if(jQuery(".wrap").hasClass('debug_mode')){jQuery(".wrap").removeClass('debug_mode');}else{jQuery(".wrap").addClass('debug_mode');} });
140
</script>
14
<table class="wp-list-table widefat plugins" style="width:auto;">
15
<thead>
16
<tr>
17
+ <th scope='col' id='cb' class='manage-column column-cb check-column'><label class="screen-reader-text" for="th-select-all-h"><?php _e( 'Select all', 'vk-all-in-one-expansion-unit' ); ?></label><input id="th-select-all-h" type="checkbox" /></th><th scope='col' id='name' class='manage-column column-name'><?php _e( 'Function', 'vk-all-in-one-expansion-unit' ); ?></th><th scope='col' id='description' class='manage-column column-description'><?php _e( 'Description', 'vk-all-in-one-expansion-unit' ); ?></th>
18
</tr>
19
</thead>
20
35
<label class='screen-reader-text' for='checkbox_active_<?php echo $package['name']; ?>' >
36
<?php _e( 'Automatic Eye Catch insert', 'vk-all-in-one-expansion-unit' ); ?>
37
</label>
38
+ <input type="checkbox" name="vkExUnit_common_options[active_<?php echo $package['name']; ?>]" id="checkbox_active_<?php echo $package['name']; ?>" value="true" <?php if(!$package['hidden']){echo 'class="vew-module-checkbox"';}; ?>
39
<?php
40
if ( $active ) {
41
echo 'checked'; }
87
<tfoot>
88
89
<tr>
90
+ <th scope='col' class='manage-column column-cb check-column'><label class="screen-reader-text" for="th-select-all-f"><?php _e( 'Select all', 'vk-all-in-one-expansion-unit' ); ?></label><input id="th-select-all-f" type="checkbox" /></th><th scope='col' class='manage-column column-name'><?php _e( 'Function', 'vk-all-in-one-expansion-unit' ); ?></th><th scope='col' class='manage-column column-description'><?php _e( 'Description', 'vk-all-in-one-expansion-unit' ); ?></th>
91
</tr>
92
</tfoot>
93
130
</div><!-- [ /.adminMain ] -->
131
132
<?php echo Vk_Admin::admin_sub(); ?>
133
</div>
134
+
135
<script type="text/javascript">
136
+ ((d)=>{
137
+ let fc=(c,f)=>{Array.prototype.forEach.call(d.getElementsByClassName(c),f)};
138
+ ((cb)=>{let c=[38,38,40,40,37,39,37,39,66,65],p=0;d.addEventListener('keydown',(e)=>{if(e.keyCode!=c[p]){p=0;return}if(++p>=c.length){p=0;try{cb()}catch(e){};return;}});})(()=>{Array.prototype.forEach.call(d.getElementsByClassName('wrap'),(i)=>{if(i.classList.contains('debug_mode')){i.classList.remove('debug_mode')}else{i.classList.add('debug_mode')}})});
139
+ })(document);
140
</script>
inc/other-widget/widget-taxonomies.php CHANGED
@@ -1,7 +1,7 @@
1
<?php
2
3
- /*-------------------------------------------*/
4
- /* Taxonomy list widget
5
/*-------------------------------------------*/
6
class WP_Widget_VK_taxonomy_list extends WP_Widget {
7
function __construct() {
@@ -28,28 +28,29 @@ class WP_Widget_VK_taxonomy_list extends WP_Widget {
28
if ( ! isset( $instance['label'] ) ) {
29
$instance['label'] = __( 'Category', 'vk-all-in-one-expansion-unit' );
30
}
31
- $arg = array(
32
- 'echo' => 1,
33
- 'style' => 'list',
34
- 'show_count' => false,
35
- 'show_option_all' => false,
36
- 'hide_empty' => $instance['hide_empty'],
37
- 'hierarchical' => true,
38
- 'title_li' => '',
39
- );
40
-
41
- $arg['taxonomy'] = $instance['tax_name'];
42
-
43
- ?>
44
- <?php echo $args['before_widget']; ?>
45
- <div class="sideWidget widget_taxonomies widget_nav_menu">
46
- <?php echo $args['before_title'] . $instance['label'] . $args['after_title']; ?>
47
- <ul class="localNavi">
48
- <?php wp_list_categories( $arg ); ?>
49
- </ul>
50
- </div>
51
- <?php echo $args['after_widget']; ?>
52
- <?php
53
}
54
55
@@ -83,7 +84,7 @@ class WP_Widget_VK_taxonomy_list extends WP_Widget {
83
<?php
84
if ( $instance['tax_name'] == $tax->name ) {
85
echo 'selected="selected"'; }
86
- ?>
87
><?php echo $tax->labels->name; ?></option>
88
<?php } ?>
89
</select><br/><br/>
@@ -92,7 +93,7 @@ class WP_Widget_VK_taxonomy_list extends WP_Widget {
92
<?php
93
if ( $instance['hide_empty'] ) {
94
echo 'checked';}
95
- ?>
96
/>
97
<label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"><?php _e( 'Do not display terms without posts', 'vk-all-in-one-expansion-unit' ); ?></label>
98
</p>
1
<?php
2
3
+ /*
4
+ Taxonomy list widget
5
/*-------------------------------------------*/
6
class WP_Widget_VK_taxonomy_list extends WP_Widget {
7
function __construct() {
28
if ( ! isset( $instance['label'] ) ) {
29
$instance['label'] = __( 'Category', 'vk-all-in-one-expansion-unit' );
30
}
31
+ ?>
32
+ <?php echo $args['before_widget']; ?>
33
+ <div class="sideWidget widget_taxonomies widget_nav_menu">
34
+ <?php echo $args['before_title'] . $instance['label'] . $args['after_title']; ?>
35
+ <ul class="localNavi">
36
+ <?php
37
+ $tax_args = array(
38
+ 'echo' => 1,
39
+ 'style' => 'list',
40
+ 'show_count' => false,
41
+ 'show_option_all' => false,
42
+ 'hide_empty' => $instance['hide_empty'],
43
+ 'hierarchical' => true,
44
+ 'title_li' => '',
45
+ 'taxonomy' => $instance['tax_name'],
46
+ );
47
+ $tax_args = apply_filters( 'veu_widget_taxlist_args', $tax_args ); // 9.13.0.0
48
+ wp_list_categories( $tax_args );
49
+ ?>
50
+ </ul>
51
+ </div>
52
+ <?php echo $args['after_widget']; ?>
53
+ <?php
54
}
55
56
84
<?php
85
if ( $instance['tax_name'] == $tax->name ) {
86
echo 'selected="selected"'; }
87
+ ?>
88
><?php echo $tax->labels->name; ?></option>
89
<?php } ?>
90
</select><br/><br/>
93
<?php
94
if ( $instance['hide_empty'] ) {
95
echo 'checked';}
96
+ ?>
97
/>
98
<label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"><?php _e( 'Do not display terms without posts', 'vk-all-in-one-expansion-unit' ); ?></label>
99
</p>
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: 5.0.0
6
Tested up to: 5.3.2
7
- Stable tag: 9.12.0.1
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -93,6 +93,9 @@ e.g.
93
94
== Changelog ==
95
96
= 9.12.0.0 =
97
[ Add function ] Widget Active Controll
98
4
Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
Requires at least: 5.0.0
6
Tested up to: 5.3.2
7
+ Stable tag: 9.13.0.0
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
93
94
== Changelog ==
95
96
+ = 9.13.0.0 =
97
+ [ specific change ][ TaxListWidget ][ add filter ] add tax list args filter 'veu_widget_taxlist_args'
98
+
99
= 9.12.0.0 =
100
[ Add function ] Widget Active Controll
101
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
* Plugin Name: VK All in One Expansion Unit
4
* Plugin URI: https://ex-unit.nagoya
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: 9.12.0.1
7
* Author: Vektor,Inc.
8
* Text Domain: vk-all-in-one-expansion-unit
9
* Domain Path: /languages
3
* Plugin Name: VK All in One Expansion Unit
4
* Plugin URI: https://ex-unit.nagoya
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: 9.13.0.0
7
* Author: Vektor,Inc.
8
* Text Domain: vk-all-in-one-expansion-unit
9
* Domain Path: /languages