Version Description
Download this release
Release Info
Developer | kurudrive |
Plugin | VK All in One Expansion Unit |
Version | 6.7.0 |
Comparing to | |
See all releases |
Code changes from version 6.6.9 to 6.7.0
- admin_main_setting_page.php +33 -25
- common_helpers.php +17 -8
- plugins/css_customize/css_customize.php +13 -15
- plugins/sns/function_meta_box.php +4 -4
- plugins_admin/admin_bar.php +35 -27
- plugins_admin/vk-admin/class-vk-admin.php +7 -9
- plugins_admin/vk-admin/images/lightning-pro-bnr.jpg +0 -0
- plugins_admin/vk-admin/images/pale-bnr.jpg +0 -0
- plugins_admin/vk-admin/images/variety-bnr.jpg +0 -0
- readme.txt +1 -1
- vkExUnit.php +1 -1
admin_main_setting_page.php
CHANGED
@@ -4,17 +4,18 @@
|
|
4 |
/* Main Setting Page _ メニューに追加
|
5 |
/*-------------------------------------------*/
|
6 |
function vkExUnit_add_main_setting() {
|
7 |
-
$capability_required =
|
8 |
$custom_page = add_submenu_page(
|
9 |
-
'vkExUnit_setting_page',
|
10 |
-
__( 'Main setting','vkExUnit' ),
|
11 |
-
__( 'Main setting','vkExUnit' ),
|
12 |
-
//
|
13 |
-
|
14 |
-
'vkExUnit_main_setting',
|
15 |
-
'vkExUnit_render_main_frame'
|
16 |
);
|
17 |
-
if ( ! $custom_page ) {
|
|
|
18 |
}
|
19 |
add_action( 'admin_menu', 'vkExUnit_add_main_setting' );
|
20 |
|
@@ -27,21 +28,24 @@ function vkExUnit_render_main_frame() {
|
|
27 |
vkExUnit_save_main_config();
|
28 |
|
29 |
// Left menu area top Title
|
30 |
-
$get_page_title =
|
31 |
|
32 |
// Left menu area top logo
|
33 |
-
$get_logo_html =
|
34 |
|
35 |
// $menu
|
36 |
/*--------------------------------------------------*/
|
37 |
global $vkExUnit_options;
|
38 |
-
if (!isset(
|
|
|
|
|
39 |
$get_menu_html = '';
|
40 |
foreach ( $vkExUnit_options as $vkoption ) {
|
41 |
-
if ( ! isset( $vkoption['render_page'] ) ) {
|
|
|
42 |
// $linkUrl = ($i == 0) ? 'wpwrap':$vkoption['option_name'];
|
43 |
-
$linkUrl
|
44 |
-
$get_menu_html .= '<li id="btn_"'. $vkoption['option_name']. '" class="'
|
45 |
$get_menu_html .= $vkoption['tab_label'];
|
46 |
$get_menu_html .= '</a></li>';
|
47 |
}
|
@@ -53,17 +57,19 @@ function vkExUnit_render_main_frame() {
|
|
53 |
/*-------------------------------------------*/
|
54 |
/* Main Setting Page _ ページのメインエリアの中身
|
55 |
/*-------------------------------------------*/
|
56 |
-
function vkExUnit_the_main_setting_body(){
|
57 |
global $vkExUnit_options;?>
|
58 |
<form method="post" action="">
|
59 |
-
<?php
|
|
|
60 |
if ( is_array( $vkExUnit_options ) ) {
|
61 |
echo '<div>'; // jsでfirst-child取得用
|
62 |
foreach ( $vkExUnit_options as $vkoption ) {
|
63 |
|
64 |
-
if ( empty( $vkoption['render_page'] ) ) {
|
|
|
65 |
|
66 |
-
echo '<section id="'. $vkoption['option_name'] .'">';
|
67 |
|
68 |
call_user_func_array( $vkoption['render_page'], array() );
|
69 |
|
@@ -81,12 +87,14 @@ function vkExUnit_the_main_setting_body(){
|
|
81 |
|
82 |
function vkExUnit_register_setting( $tab_label = 'tab_label', $option_name, $sanitize_callback, $render_page ) {
|
83 |
global $vkExUnit_options;
|
84 |
-
if (!isset(
|
|
|
|
|
85 |
$vkExUnit_options[] =
|
86 |
array(
|
87 |
'option_name' => $option_name,
|
88 |
-
'callback'
|
89 |
-
'tab_label'
|
90 |
'render_page' => $render_page,
|
91 |
);
|
92 |
}
|
@@ -101,7 +109,7 @@ function vkExUnit_main_config_sanitaize( $post ) {
|
|
101 |
foreach ( $vkExUnit_options as $opt ) {
|
102 |
|
103 |
if ( ! empty( $opt['callback'] ) ) {
|
104 |
-
$before = ( ! empty( $post[ $opt['option_name'] ] ) ? $post[ $opt['option_name'] ]: null);
|
105 |
$option = call_user_func_array( $opt['callback'], array( $before ) );
|
106 |
}
|
107 |
|
@@ -114,10 +122,10 @@ function vkExUnit_save_main_config() {
|
|
114 |
|
115 |
// nonce
|
116 |
if ( ! isset( $_POST['_nonce_vkExUnit'] ) ) {
|
117 |
-
return
|
118 |
}
|
119 |
if ( ! wp_verify_nonce( $_POST['_nonce_vkExUnit'], 'standing_on_the_shoulder_of_giants' ) ) {
|
120 |
-
return
|
121 |
}
|
122 |
|
123 |
vkExUnit_main_config_sanitaize( $_POST );
|
4 |
/* Main Setting Page _ メニューに追加
|
5 |
/*-------------------------------------------*/
|
6 |
function vkExUnit_add_main_setting() {
|
7 |
+
// $capability_required = veu_get_capability_required();
|
8 |
$custom_page = add_submenu_page(
|
9 |
+
'vkExUnit_setting_page', // parent
|
10 |
+
__( 'Main setting', 'vkExUnit' ), // Name of page
|
11 |
+
__( 'Main setting', 'vkExUnit' ), // Label in menu
|
12 |
+
'activate_plugins', // veu_get_capability_required()でないのは edit_theme_options権限を付与したユーザーにもアクセスさせないためにactivate_pluginsにしている。
|
13 |
+
// $capability_required, // Capability
|
14 |
+
'vkExUnit_main_setting', // ユニークなこのサブメニューページの識別子
|
15 |
+
'vkExUnit_render_main_frame' // メニューページのコンテンツを出力する関数
|
16 |
);
|
17 |
+
if ( ! $custom_page ) {
|
18 |
+
return; }
|
19 |
}
|
20 |
add_action( 'admin_menu', 'vkExUnit_add_main_setting' );
|
21 |
|
28 |
vkExUnit_save_main_config();
|
29 |
|
30 |
// Left menu area top Title
|
31 |
+
$get_page_title = veu_get_little_short_name() . ' Main setting';
|
32 |
|
33 |
// Left menu area top logo
|
34 |
+
$get_logo_html = veu_get_systemlogo_html();
|
35 |
|
36 |
// $menu
|
37 |
/*--------------------------------------------------*/
|
38 |
global $vkExUnit_options;
|
39 |
+
if ( ! isset( $vkExUnit_options ) ) {
|
40 |
+
$vkExUnit_options = array();
|
41 |
+
}
|
42 |
$get_menu_html = '';
|
43 |
foreach ( $vkExUnit_options as $vkoption ) {
|
44 |
+
if ( ! isset( $vkoption['render_page'] ) ) {
|
45 |
+
continue; }
|
46 |
// $linkUrl = ($i == 0) ? 'wpwrap':$vkoption['option_name'];
|
47 |
+
$linkUrl = $vkoption['option_name'];
|
48 |
+
$get_menu_html .= '<li id="btn_"' . $vkoption['option_name'] . '" class="' . $vkoption['option_name'] . '"><a href="#' . $linkUrl . '">';
|
49 |
$get_menu_html .= $vkoption['tab_label'];
|
50 |
$get_menu_html .= '</a></li>';
|
51 |
}
|
57 |
/*-------------------------------------------*/
|
58 |
/* Main Setting Page _ ページのメインエリアの中身
|
59 |
/*-------------------------------------------*/
|
60 |
+
function vkExUnit_the_main_setting_body() {
|
61 |
global $vkExUnit_options;?>
|
62 |
<form method="post" action="">
|
63 |
+
<?php
|
64 |
+
wp_nonce_field( 'standing_on_the_shoulder_of_giants', '_nonce_vkExUnit' );
|
65 |
if ( is_array( $vkExUnit_options ) ) {
|
66 |
echo '<div>'; // jsでfirst-child取得用
|
67 |
foreach ( $vkExUnit_options as $vkoption ) {
|
68 |
|
69 |
+
if ( empty( $vkoption['render_page'] ) ) {
|
70 |
+
continue; }
|
71 |
|
72 |
+
echo '<section id="' . $vkoption['option_name'] . '">';
|
73 |
|
74 |
call_user_func_array( $vkoption['render_page'], array() );
|
75 |
|
87 |
|
88 |
function vkExUnit_register_setting( $tab_label = 'tab_label', $option_name, $sanitize_callback, $render_page ) {
|
89 |
global $vkExUnit_options;
|
90 |
+
if ( ! isset( $vkExUnit_options ) ) {
|
91 |
+
$vkExUnit_options = array();
|
92 |
+
}
|
93 |
$vkExUnit_options[] =
|
94 |
array(
|
95 |
'option_name' => $option_name,
|
96 |
+
'callback' => $sanitize_callback,
|
97 |
+
'tab_label' => $tab_label,
|
98 |
'render_page' => $render_page,
|
99 |
);
|
100 |
}
|
109 |
foreach ( $vkExUnit_options as $opt ) {
|
110 |
|
111 |
if ( ! empty( $opt['callback'] ) ) {
|
112 |
+
$before = ( ! empty( $post[ $opt['option_name'] ] ) ? $post[ $opt['option_name'] ] : null );
|
113 |
$option = call_user_func_array( $opt['callback'], array( $before ) );
|
114 |
}
|
115 |
|
122 |
|
123 |
// nonce
|
124 |
if ( ! isset( $_POST['_nonce_vkExUnit'] ) ) {
|
125 |
+
return;
|
126 |
}
|
127 |
if ( ! wp_verify_nonce( $_POST['_nonce_vkExUnit'], 'standing_on_the_shoulder_of_giants' ) ) {
|
128 |
+
return;
|
129 |
}
|
130 |
|
131 |
vkExUnit_main_config_sanitaize( $_POST );
|
common_helpers.php
CHANGED
@@ -17,23 +17,32 @@
|
|
17 |
/* basic setting
|
18 |
/*-------------------------------------------*/
|
19 |
|
20 |
-
require_once( vkExUnit_get_directory().'/plugins/template-tags/template-tags.php' );
|
21 |
-
require_once( vkExUnit_get_directory().'/plugins/template-tags/template-tags-veu.php' );
|
22 |
-
require_once( vkExUnit_get_directory().'/plugins/template-tags/template-tags-veu-old.php' );
|
23 |
|
24 |
/*
|
25 |
ExUnit独自の関数
|
26 |
template-tags-veu.php に書かれているのもExUnit固有の関数だが、
|
27 |
ExUnitの機能を複製しているために独立化したプラグインにも使用される関数
|
28 |
*/
|
29 |
-
function
|
30 |
-
|
31 |
-
return $capability_required;
|
32 |
}
|
33 |
|
34 |
-
function
|
35 |
-
$logo
|
36 |
$logo .= '<img src="' . apply_filters( 'vkExUnit_news_image_URL_small', vkExUnit_get_directory_uri( '/images/head_logo_ExUnit.png' ) ) . '" alt="VK ExUnit" />';
|
37 |
$logo .= '</div>';
|
|
|
38 |
return $logo;
|
39 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/* basic setting
|
18 |
/*-------------------------------------------*/
|
19 |
|
20 |
+
require_once( vkExUnit_get_directory() . '/plugins/template-tags/template-tags.php' );
|
21 |
+
require_once( vkExUnit_get_directory() . '/plugins/template-tags/template-tags-veu.php' );
|
22 |
+
require_once( vkExUnit_get_directory() . '/plugins/template-tags/template-tags-veu-old.php' );
|
23 |
|
24 |
/*
|
25 |
ExUnit独自の関数
|
26 |
template-tags-veu.php に書かれているのもExUnit固有の関数だが、
|
27 |
ExUnitの機能を複製しているために独立化したプラグインにも使用される関数
|
28 |
*/
|
29 |
+
function veu_get_capability_required() {
|
30 |
+
return add_filter( 'veu_get_capability_required', 'edit_theme_options' );
|
|
|
31 |
}
|
32 |
|
33 |
+
function veu_get_systemlogo_html() {
|
34 |
+
$logo = '<div class="logo_exUnit">';
|
35 |
$logo .= '<img src="' . apply_filters( 'vkExUnit_news_image_URL_small', vkExUnit_get_directory_uri( '/images/head_logo_ExUnit.png' ) ) . '" alt="VK ExUnit" />';
|
36 |
$logo .= '</div>';
|
37 |
+
$logo = apply_filters( 'veu_get_systemlogo_html', $logo );
|
38 |
return $logo;
|
39 |
}
|
40 |
+
/*
|
41 |
+
7.0 になったら削除
|
42 |
+
*/
|
43 |
+
function vkExUnit_get_capability_required() {
|
44 |
+
return veu_get_capability_required();
|
45 |
+
}
|
46 |
+
function vkExUnit_get_systemlogo() {
|
47 |
+
return veu_get_systemlogo_html();
|
48 |
+
}
|
plugins/css_customize/css_customize.php
CHANGED
@@ -19,32 +19,30 @@ class biz_vektor_css_customize {
|
|
19 |
require_once( vkExUnit_get_directory() . '/plugins/css_customize/css_customize-single.php' );
|
20 |
}
|
21 |
|
22 |
-
|
23 |
-
|
24 |
public function admin_bar( $wp_admin_bar ) {
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
33 |
}
|
34 |
|
35 |
-
|
36 |
-
|
37 |
/*-------------------------------------------*/
|
38 |
/* CSSカスタマイズ」のメニュー
|
39 |
/*-------------------------------------------*/
|
40 |
public function biz_vektor_css_customize_menu() {
|
41 |
-
|
42 |
-
$capability_required = add_filter( 'vkExUnit_ga_page_capability', vkExUnit_get_capability_required() );
|
43 |
add_submenu_page(
|
44 |
'vkExUnit_setting_page',
|
45 |
__( 'CSS Customize', 'vkExUnit' ),
|
46 |
__( 'CSS Customize', 'vkExUnit' ),
|
47 |
-
// $capability_required,
|
48 |
'activate_plugins',
|
49 |
'vkExUnit_css_customize',
|
50 |
array( $this, 'biz_vektor_css_customize_render_page' )
|
19 |
require_once( vkExUnit_get_directory() . '/plugins/css_customize/css_customize-single.php' );
|
20 |
}
|
21 |
|
|
|
|
|
22 |
public function admin_bar( $wp_admin_bar ) {
|
23 |
+
// 「CSSカスタマイズ」は edit_theme_options 権限にはアクセスさせない
|
24 |
+
if ( current_user_can( 'activate_plugins' ) ) {
|
25 |
+
$wp_admin_bar->add_node(
|
26 |
+
array(
|
27 |
+
'parent' => 'veu_adminlink',
|
28 |
+
'id' => 'veu_adminlink_css',
|
29 |
+
'title' => __( 'CSS Customize', 'vkExUnit' ),
|
30 |
+
'href' => admin_url() . 'admin.php?page=vkExUnit_css_customize',
|
31 |
+
)
|
32 |
+
);
|
33 |
+
}
|
34 |
}
|
35 |
|
|
|
|
|
36 |
/*-------------------------------------------*/
|
37 |
/* CSSカスタマイズ」のメニュー
|
38 |
/*-------------------------------------------*/
|
39 |
public function biz_vektor_css_customize_menu() {
|
40 |
+
// $capability_required = veu_get_capability_required();
|
|
|
41 |
add_submenu_page(
|
42 |
'vkExUnit_setting_page',
|
43 |
__( 'CSS Customize', 'vkExUnit' ),
|
44 |
__( 'CSS Customize', 'vkExUnit' ),
|
45 |
+
// $capability_required, // edit_theme_optionsのユーザーにもアクセスさせないため
|
46 |
'activate_plugins',
|
47 |
'vkExUnit_css_customize',
|
48 |
array( $this, 'biz_vektor_css_customize_render_page' )
|
plugins/sns/function_meta_box.php
CHANGED
@@ -19,7 +19,7 @@ class vkExUnit_sns_metabox {
|
|
19 |
|
20 |
protected function run_init() {
|
21 |
add_action( 'admin_menu', array( $this, 'add_custom_field' ) );
|
22 |
-
add_action( 'save_post'
|
23 |
}
|
24 |
|
25 |
|
@@ -34,9 +34,9 @@ class vkExUnit_sns_metabox {
|
|
34 |
global $post;
|
35 |
$disable_autoeyecatch = get_post_meta( get_the_id(), 'vkExUnit_sns_title', true );
|
36 |
|
37 |
-
echo '<input type="hidden" name="_nonce_vkExUnit_sns_title" id="_nonce_vkExUnit_sns_title_noonce" value="'.wp_create_nonce( plugin_basename( __FILE__ ) ).'" />';
|
38 |
-
echo '<input type=text name="vkExUnit_sns_title" value="'. $disable_autoeyecatch .'" size=50 />';
|
39 |
-
echo '<p>'. __( 'if filled this area then override title of OGP and Twitter Card', 'vkExUnit' ).'</p>';
|
40 |
|
41 |
}
|
42 |
|
19 |
|
20 |
protected function run_init() {
|
21 |
add_action( 'admin_menu', array( $this, 'add_custom_field' ) );
|
22 |
+
add_action( 'save_post', array( $this, 'save_custom_field' ) );
|
23 |
}
|
24 |
|
25 |
|
34 |
global $post;
|
35 |
$disable_autoeyecatch = get_post_meta( get_the_id(), 'vkExUnit_sns_title', true );
|
36 |
|
37 |
+
echo '<input type="hidden" name="_nonce_vkExUnit_sns_title" id="_nonce_vkExUnit_sns_title_noonce" value="' . wp_create_nonce( plugin_basename( __FILE__ ) ) . '" />';
|
38 |
+
echo '<input type=text name="vkExUnit_sns_title" value="' . $disable_autoeyecatch . '" size=50 />';
|
39 |
+
echo '<p>' . __( 'if filled this area then override title of OGP and Twitter Card', 'vkExUnit' ) . '</p>';
|
40 |
|
41 |
}
|
42 |
|
plugins_admin/admin_bar.php
CHANGED
@@ -12,31 +12,39 @@
|
|
12 |
add_action( 'admin_bar_menu', 'vkExUnit_adminbar_link', 40 );
|
13 |
function vkExUnit_adminbar_link( $wp_admin_bar ) {
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
12 |
add_action( 'admin_bar_menu', 'vkExUnit_adminbar_link', 40 );
|
13 |
function vkExUnit_adminbar_link( $wp_admin_bar ) {
|
14 |
|
15 |
+
if ( ! current_user_can( 'edit_theme_options' ) ) {
|
16 |
+
return; }
|
17 |
+
|
18 |
+
$args = array(
|
19 |
+
'id' => 'veu_adminlink',
|
20 |
+
'title' => vkExUnit_get_little_short_name(),
|
21 |
+
'href' => admin_url() . 'admin.php?page=vkExUnit_main_setting',
|
22 |
+
'meta' => array(),
|
23 |
+
);
|
24 |
+
$wp_admin_bar->add_node( $args );
|
25 |
+
|
26 |
+
// 「有効化設定」は edit_theme_options 権限にはアクセスさせない
|
27 |
+
if ( current_user_can( 'activate_plugins' ) ) {
|
28 |
+
|
29 |
+
$wp_admin_bar->add_node(
|
30 |
+
array(
|
31 |
+
'parent' => 'veu_adminlink',
|
32 |
+
'id' => 'veu_adminlink_active',
|
33 |
+
'title' => __( 'Active Setting', 'vkExUnit' ),
|
34 |
+
'href' => admin_url() . 'admin.php?page=vkExUnit_setting_page',
|
35 |
+
)
|
36 |
+
);
|
37 |
+
|
38 |
+
}
|
39 |
+
|
40 |
+
$wp_admin_bar->add_node(
|
41 |
+
array(
|
42 |
+
'parent' => 'veu_adminlink',
|
43 |
+
'id' => 'veu_adminlink_main',
|
44 |
+
'title' => __( 'Main Setting', 'vkExUnit' ),
|
45 |
+
'href' => admin_url() . 'admin.php?page=vkExUnit_main_setting',
|
46 |
+
)
|
47 |
+
);
|
48 |
+
|
49 |
+
do_action( 'vkExUnit_action_adminbar', $wp_admin_bar );
|
50 |
}
|
plugins_admin/vk-admin/class-vk-admin.php
CHANGED
@@ -90,15 +90,8 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
|
|
90 |
Display" /></a>';
|
91 |
}
|
92 |
|
93 |
-
//
|
94 |
-
|
95 |
-
if (
|
96 |
-
$theme != 'Lightning' &&
|
97 |
-
$theme != 'lightning' &&
|
98 |
-
$theme != 'Lightning-master' &&
|
99 |
-
$theme != 'Lightning-pro' &&
|
100 |
-
$theme != 'lightning-pro'
|
101 |
-
) {
|
102 |
if ( $lang == 'ja' ) {
|
103 |
$banner .= '<a href="//lightning.nagoya/ja/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning_bnr_ja.jpg" alt="lightning_bnr_ja" /></a>';
|
104 |
} else {
|
@@ -106,6 +99,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
|
|
106 |
} // if ( $lang == 'ja' ) {
|
107 |
} // if ( $theme != 'lightning' ) {
|
108 |
|
|
|
109 |
if ( $lang == 'ja' && $theme != 'bill-vektor' && $theme != 'bill-vektor-master' ) {
|
110 |
$banner .= '<a href="//billvektor.com" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/billvektor_banner.png" alt="見積書・請求書管理用WordPressテーマ" /></a>';
|
111 |
}
|
@@ -350,6 +344,10 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
|
|
350 |
/*--------------------------------------------------*/
|
351 |
// 2016.08.07 ExUnitの有効化ページでは直接 admin_subを呼び出しているので注意
|
352 |
public static function admin_sub() {
|
|
|
|
|
|
|
|
|
353 |
$adminSub = '<div class="adminSub scrTracking">' . "\n";
|
354 |
$adminSub .= '<div class="infoBox">' . Vk_Admin::get_news_body() . '</div>' . "\n";
|
355 |
$adminSub .= '<div class="vk-admin-banner">' . Vk_Admin::get_admin_banner() . '</div>' . "\n";
|
90 |
Display" /></a>';
|
91 |
}
|
92 |
|
93 |
+
// テーマがLightningじゃない場合にLighntingのバナーを表示
|
94 |
+
if ( ! function_exists( 'lightning_get_theme_name' ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
if ( $lang == 'ja' ) {
|
96 |
$banner .= '<a href="//lightning.nagoya/ja/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/lightning_bnr_ja.jpg" alt="lightning_bnr_ja" /></a>';
|
97 |
} else {
|
99 |
} // if ( $lang == 'ja' ) {
|
100 |
} // if ( $theme != 'lightning' ) {
|
101 |
|
102 |
+
$theme = get_template();
|
103 |
if ( $lang == 'ja' && $theme != 'bill-vektor' && $theme != 'bill-vektor-master' ) {
|
104 |
$banner .= '<a href="//billvektor.com" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/billvektor_banner.png" alt="見積書・請求書管理用WordPressテーマ" /></a>';
|
105 |
}
|
344 |
/*--------------------------------------------------*/
|
345 |
// 2016.08.07 ExUnitの有効化ページでは直接 admin_subを呼び出しているので注意
|
346 |
public static function admin_sub() {
|
347 |
+
$display = apply_filters( 'vk_admin_sub_display', true );
|
348 |
+
if ( ! $display ) {
|
349 |
+
return;
|
350 |
+
}
|
351 |
$adminSub = '<div class="adminSub scrTracking">' . "\n";
|
352 |
$adminSub .= '<div class="infoBox">' . Vk_Admin::get_news_body() . '</div>' . "\n";
|
353 |
$adminSub .= '<div class="vk-admin-banner">' . Vk_Admin::get_admin_banner() . '</div>' . "\n";
|
plugins_admin/vk-admin/images/lightning-pro-bnr.jpg
ADDED
Binary file
|
plugins_admin/vk-admin/images/pale-bnr.jpg
ADDED
Binary file
|
plugins_admin/vk-admin/images/variety-bnr.jpg
ADDED
Binary file
|
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.4
|
6 |
Tested up to: 4.9.8
|
7 |
-
Stable tag: 6.
|
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.4
|
6 |
Tested up to: 4.9.8
|
7 |
+
Stable tag: 6.7.0
|
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://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: 6.
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
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: 6.7.0
|
7 |
* Author: Vektor,Inc.
|
8 |
* Text Domain: vkExUnit
|
9 |
* Domain Path: /languages
|