VK All in One Expansion Unit - Version 9.39.0.0

Version Description

[ Specification Change ][ wp title ] Change search result title in case of no keyword [ Specification Change ][ Child Page Index ] To be able to change thumbnail outer html(Change filter specification). [ Bug fix ][ Child Page Index Block ] To be able to select parent page to cureent page

Download this release

Release Info

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

Code changes from version 9.38.0.0 to 9.39.0.0

inc/child-page-index/child-page-index.php CHANGED
@@ -104,7 +104,14 @@ function vkExUnit_childPageIndex_shortcode( $parentId=null, $classes='' ) {
104
  $childPageList_html .= '<a href="' . esc_url( get_permalink( $children->ID ) ) . '" class="childPage_list_box veu_card"><div class="childPage_list_box_inner veu_card_inner">';
105
  $childPageList_html .= '<h3 class="childPage_list_title veu_card_title">' . esc_html( strip_tags( $children->post_title ) ) . '</h3>';
106
  $childPageList_html .= '<div class="childPage_list_body">';
107
- $childPageList_html .= apply_filters( 'veu_child_index_thumbnail', get_the_post_thumbnail( $children->ID, 'thumbnail' ) );
 
 
 
 
 
 
 
108
  $childPageList_html .= '<p class="childPage_list_text">' . $postExcerpt . '</p>';
109
  $childPageList_html .= '<span class="childPage_list_more btn btn-primary btn-xs">' . apply_filters( 'veu_childPage_list_read_more_txt', __( 'Read more', 'vk-all-in-one-expansion-unit' ) ) . '</span>';
110
  $childPageList_html .= '</div>';
104
  $childPageList_html .= '<a href="' . esc_url( get_permalink( $children->ID ) ) . '" class="childPage_list_box veu_card"><div class="childPage_list_box_inner veu_card_inner">';
105
  $childPageList_html .= '<h3 class="childPage_list_title veu_card_title">' . esc_html( strip_tags( $children->post_title ) ) . '</h3>';
106
  $childPageList_html .= '<div class="childPage_list_body">';
107
+ $childPageList_html .= apply_filters( 'veu_child_index_thumbnail', get_the_post_thumbnail( $children->ID, 'thumbnail' ), $children->ID );
108
+ /*
109
+ Customize example
110
+ add_filter( 'veu_child_index_thumbnail', function( $return, $id ){
111
+ $return = '<div class="xxx">' . get_the_post_thumbnail( $id, 'thumbnail' ) . '</div>';
112
+ return $return;
113
+ }, 10, 2 );
114
+ */
115
  $childPageList_html .= '<p class="childPage_list_text">' . $postExcerpt . '</p>';
116
  $childPageList_html .= '<span class="childPage_list_more btn btn-primary btn-xs">' . apply_filters( 'veu_childPage_list_read_more_txt', __( 'Read more', 'vk-all-in-one-expansion-unit' ) ) . '</span>';
117
  $childPageList_html .= '</div>';
inc/template-tags/package/template-tags.php CHANGED
@@ -200,7 +200,10 @@ if ( ! function_exists( 'vk_get_page_description' ) ) {
200
  function vk_get_page_description() {
201
  global $wp_query;
202
  $post = $wp_query->get_queried_object();
203
- if ( is_front_page() ) {
 
 
 
204
  if ( isset( $post->post_excerpt ) && $post->post_excerpt ) {
205
  $page_description = get_the_excerpt();
206
  } else {
200
  function vk_get_page_description() {
201
  global $wp_query;
202
  $post = $wp_query->get_queried_object();
203
+ if ( is_search() ) {
204
+ $page_description = '';
205
+ }
206
+ elseif ( is_front_page() ) {
207
  if ( isset( $post->post_excerpt ) && $post->post_excerpt ) {
208
  $page_description = get_the_excerpt();
209
  } else {
inc/wp-title.php CHANGED
@@ -58,7 +58,11 @@ function vkExUnit_get_wp_head_title() {
58
 
59
  // Search
60
  } elseif ( is_search() ) {
61
- $title = sprintf( __( 'Search Results for : %s', 'vk-all-in-one-expansion-unit' ), get_search_query() ) . $sep . get_bloginfo( 'name' );
 
 
 
 
62
  // 404
63
  } elseif ( is_404() ) {
64
  $title = __( 'Not found', 'vk-all-in-one-expansion-unit' ) . $sep . get_bloginfo( 'name' );
58
 
59
  // Search
60
  } elseif ( is_search() ) {
61
+ if ( get_search_query() ){
62
+ $title = sprintf( __( 'Search Results for : %s', 'vk-all-in-one-expansion-unit' ), get_search_query() ) . $sep . get_bloginfo( 'name' );
63
+ } else {
64
+ $title = sprintf( __( 'Search Results', 'vk-all-in-one-expansion-unit' ), get_search_query() ) . $sep . get_bloginfo( 'name' );
65
+ }
66
  // 404
67
  } elseif ( is_404() ) {
68
  $title = __( 'Not found', 'vk-all-in-one-expansion-unit' ) . $sep . get_bloginfo( 'name' );
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.1
7
- Stable tag: 9.38.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -81,6 +81,11 @@ e.g.
81
 
82
  == Changelog ==
83
 
 
 
 
 
 
84
  = 9.38.0.0 =
85
  [ Add function ][ contact section ] Add link target setting
86
  [ bug fix ] fix when plugin VK Blocks activation that ExUnit widget activation setting was delete
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.1
7
+ Stable tag: 9.39.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.39.0.0 =
85
+ [ Specification Change ][ wp title ] Change search result title in case of no keyword
86
+ [ Specification Change ][ Child Page Index ] To be able to change thumbnail outer html(Change filter specification).
87
+ [ Bug fix ][ Child Page Index Block ] To be able to select parent page to cureent page
88
+
89
  = 9.38.0.0 =
90
  [ Add function ][ contact section ] Add link target setting
91
  [ bug fix ] fix when plugin VK Blocks activation that ExUnit widget activation setting was delete
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.38.0.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.39.0.0
7
  * Author: Vektor,Inc.
8
  * Text Domain: vk-all-in-one-expansion-unit
9
  * Domain Path: /languages