VK All in One Expansion Unit - Version 9.47.0.0

Version Description

[ Specification Change ] Dashboard information adjustment.

Download this release

Release Info

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

Code changes from version 9.46.1.0 to 9.47.0.0

admin/vk-admin/package/class-vk-admin.php CHANGED
@@ -204,9 +204,15 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
204
 
205
  public static function get_news_from_rest_api() {
206
 
207
- $html = '<h4 class="vk-metabox-sub-title">';
208
- $html .= 'Vektor WordPress Information';
209
- $html .= '<a href="https://www.vektor-inc.co.jp/info-cat/vk-wp-info/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
 
 
 
 
 
 
210
  $html .= '</h4>';
211
  $html .= '<ul id="vk-wp-info" class="vk-metabox-post-list"></ul>';
212
 
@@ -242,7 +248,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
242
  jQuery(document).ready(function($){
243
 
244
  // お知らせ
245
- $.getJSON( "https://vektor-inc.co.jp/wp-json/wp/v2/info?info-cat=111&per_page=5",
246
  function(results) {
247
  // 取得したJSONの内容をループする
248
  $.each(results, function(i, item) {
@@ -254,6 +260,19 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
254
  });
255
  });
256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  // ブログ
258
  $.getJSON( "https://www.vektor-inc.co.jp/wp-json/wp/v2/posts/?categories=55&per_page=3",
259
  function(results) {
204
 
205
  public static function get_news_from_rest_api() {
206
 
207
+ $html = '<h4 class="vk-metabox-sub-title">';
208
+ $html .= 'Vektor製品更新情報';
209
+ $html .= '<a href="https://www.vektor-inc.co.jp/product-update/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
210
+ $html .= '</h4>';
211
+ $html .= '<ul id="vk-product-update" class="vk-metabox-post-list"></ul>';
212
+
213
+ $html .= '<h4 class="vk-metabox-sub-title">';
214
+ $html .= 'ベクトルからのお知らせ';
215
+ $html .= '<a href="https://www.vektor-inc.co.jp/info/?rel=vkadmin" target="_blank" class="vk-metabox-more-link">記事一覧<span aria-hidden="true" class="dashicons dashicons-external"></span></a>';
216
  $html .= '</h4>';
217
  $html .= '<ul id="vk-wp-info" class="vk-metabox-post-list"></ul>';
218
 
248
  jQuery(document).ready(function($){
249
 
250
  // お知らせ
251
+ $.getJSON( "https://vektor-inc.co.jp/wp-json/wp/v2/info/?per_page=3",
252
  function(results) {
253
  // 取得したJSONの内容をループする
254
  $.each(results, function(i, item) {
260
  });
261
  });
262
 
263
+ // 製品更新情報
264
+ $.getJSON( "https://vektor-inc.co.jp/wp-json/wp/v2/product-update/?per_page=5",
265
+ function(results) {
266
+ // 取得したJSONの内容をループする
267
+ $.each(results, function(i, item) {
268
+ // 日付のデータを取得
269
+ var date = new Date(item.date_gmt);
270
+ var formate_date = date.toLocaleDateString();
271
+ // JSONの内容の要素を</ul>の前に出力する
272
+ $("ul#vk-product-update").append('<li><span class="date">'+ formate_date +'</span><a href="' + item.link + '?rel=vkadmin" target="_blank">' + item.title.rendered + '</a></li>');
273
+ });
274
+ });
275
+
276
  // ブログ
277
  $.getJSON( "https://www.vektor-inc.co.jp/wp-json/wp/v2/posts/?categories=55&per_page=3",
278
  function(results) {
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.5.3
7
- Stable tag: 9.46.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -81,6 +81,9 @@ e.g.
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 9.46.1.0 =
85
  [ Bug fix ] fix term color can't edit.
86
 
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.5.3
7
+ Stable tag: 9.47.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
81
 
82
  == Changelog ==
83
 
84
+ = 9.47.0.0 =
85
+ [ Specification Change ] Dashboard information adjustment.
86
+
87
  = 9.46.1.0 =
88
  [ Bug fix ] fix term color can't edit.
89
 
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.46.1.0
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.47.0.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
9
  * Domain Path: /languages