VK Blocks - Version 0.47.0

Version Description

  • [ Add Function ][ Post List(Pro) ] add order by title / add order desc/asc
Download this release

Release Info

Developer vektor-inc
Plugin Icon 128x128 VK Blocks
Version 0.47.0
Comparing to
See all releases

Code changes from version 0.46.1 to 0.47.0

inc/vk-blocks/view/post-list.php CHANGED
@@ -129,7 +129,7 @@ class VkBlocksPostList {
129
  'paged' => 1,
130
  // 0で全件取得
131
  'posts_per_page' => intval( $attributes['numberPosts'] ),
132
- 'order' => 'DESC',
133
  'orderby' => $attributes['orderby'],
134
  'offset' => $offset,
135
  'post__not_in' => $post__not_in,
129
  'paged' => 1,
130
  // 0で全件取得
131
  'posts_per_page' => intval( $attributes['numberPosts'] ),
132
+ 'order' => $attributes['order'],
133
  'orderby' => $attributes['orderby'],
134
  'offset' => $offset,
135
  'post__not_in' => $post__not_in,
inc/vk-blocks/vk-blocks-functions.php CHANGED
@@ -309,6 +309,10 @@ function vkblocks_blocks_assets() {
309
  'type' => 'string',
310
  'default' => '[]',
311
  ),
 
 
 
 
312
  'orderby' => array(
313
  'type' => 'string',
314
  'default' => 'date',
309
  'type' => 'string',
310
  'default' => '[]',
311
  ),
312
+ 'order' => array(
313
+ 'type' => 'string',
314
+ 'default' => 'DESC',
315
+ ),
316
  'orderby' => array(
317
  'type' => 'string',
318
  'default' => 'date',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: Gutenberg,FAQ,alert
5
  Requires at least: 5.0
6
  Tested up to: 5.5.1
7
- Stable tag: 0.46.1
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -62,6 +62,8 @@ e.g.
62
 
63
  == Changelog ==
64
 
 
 
65
 
66
  = 0.46.1 =
67
  * [ BugFix ][ New FAQ ] Fix accordion system on enable Tree Shaking
4
  Tags: Gutenberg,FAQ,alert
5
  Requires at least: 5.0
6
  Tested up to: 5.5.1
7
+ Stable tag: 0.47.0
8
  Requires PHP: 5.6.0
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
62
 
63
  == Changelog ==
64
 
65
+ = 0.47.0 =
66
+ * [ Add Function ][ Post List(Pro) ] add order by title / add order desc/asc
67
 
68
  = 0.46.1 =
69
  * [ BugFix ][ New FAQ ] Fix accordion system on enable Tree Shaking
vk-blocks.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: VK Blocks
4
  * Plugin URI: https://github.com/vektor-inc/vk-blocks
5
  * Description: This is a plugin that extends Gutenberg's blocks.
6
- * Version: 0.46.1
7
  * Author: Vektor,Inc.
8
  * Author URI: https://vektor-inc.co.jp
9
  * Text Domain: vk-blocks
3
  * Plugin Name: VK Blocks
4
  * Plugin URI: https://github.com/vektor-inc/vk-blocks
5
  * Description: This is a plugin that extends Gutenberg's blocks.
6
+ * Version: 0.47.0
7
  * Author: Vektor,Inc.
8
  * Author URI: https://vektor-inc.co.jp
9
  * Text Domain: vk-blocks