VK Blocks - Version 0.50.3

Version Description

  • [ Other ] version only
Download this release

Release Info

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

Code changes from version 0.49.8 to 0.50.3

gulpfile.js CHANGED
@@ -24,15 +24,30 @@ gulp.task( 'helper-js', function (done) {
24
  done();
25
  });
26
 
27
- gulp.task('text-domain', function (done) {
28
- gulp.src(['./inc/term-color/package/*'])
29
- .pipe(replace(', \'vk_term_color_textdomain\'', ', \'vk-blocks\''))
30
- .pipe(gulp.dest('./inc/term-color/package/'));
31
- gulp.src(['./inc/vk-components/package/*'])
32
- .pipe(replace(', \'vk_components_textdomain\'', ', \'vk-blocks\''))
33
- .pipe(gulp.dest('./inc/vk-components/package/'));
 
 
34
  done();
35
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
  gulp.task("sass", function() {
38
  return (
@@ -139,16 +154,18 @@ gulp.task("watch", function() {
139
  });
140
 
141
  //Build : Development
142
- gulp.task("build-dev", gulp.series("js-dev", "sass", "helper-js", "sass_editor","sass_bootstrap","sass_vk_components", "dist_swiper_js", "dist_swiper_css"));
 
143
 
144
  // Build : Production
145
- gulp.task("build", gulp.series("js", "sass", "helper-js", "sass_editor","sass_bootstrap","sass_vk_components", "dist_swiper_js", "dist_swiper_css"));
 
146
 
147
  // Default Tasks
148
  gulp.task("default", gulp.series("watch"));
149
 
150
  // replace_text_domain
151
- gulp.task("replace_text_domain", function(done) {
152
  // font-awesome.
153
  gulp.src(["./inc/font-awesome/package/*.php"])
154
  .pipe(replace("'vk_font_awesome_version_textdomain'", "'vk-blocks'"))
@@ -164,7 +181,10 @@ gulp.task("replace_text_domain", function(done) {
164
  // vk-components.
165
  gulp.src(["./inc/vk-components/package/*.php"])
166
  .pipe(replace("'vk_components_textdomain'","'vk-blocks'"))
167
- .pipe(gulp.dest("./inc/vk-components/package/"));
 
 
 
168
  done();
169
  });
170
 
24
  done();
25
  });
26
 
27
+ gulp.task( 'helper-js-pro', function (done) {
28
+ gulp.src('src/blocks/_pro/animation/enque-front.js')
29
+ .pipe(jsmin())
30
+ .pipe(rename('vk-animation.min.js'))
31
+ .pipe(gulp.dest('./inc/vk-blocks/build/'));
32
+ gulp.src('src/blocks/_pro/slider/enque-front.js')
33
+ .pipe(jsmin())
34
+ .pipe(rename('vk-slider.min.js'))
35
+ .pipe(gulp.dest('./inc/vk-blocks/build/'));
36
  done();
37
+ });
38
+
39
+ // gulp.task('text-domain', function (done) {
40
+ // gulp.src(['./inc/term-color/package/*'])
41
+ // .pipe(replace(', \'vk_term_color_textdomain\'', ', \'vk-blocks\''))
42
+ // .pipe(gulp.dest('./inc/term-color/package/'));
43
+ // gulp.src(['./inc/vk-components/package/*'])
44
+ // .pipe(replace(', \'vk_components_textdomain\'', ', \'vk-blocks\''))
45
+ // .pipe(gulp.dest('./inc/vk-components/package/'));
46
+ // gulp.src(['./inc/vk-css-optimize/package/*'])
47
+ // .pipe(replace(', \'css_optimize_textdomain\'', ', \'vk-blocks\''))
48
+ // .pipe(gulp.dest('./inc/vk-css-optimize/package/'));
49
+ // done();
50
+ // });
51
 
52
  gulp.task("sass", function() {
53
  return (
154
  });
155
 
156
  //Build : Development
157
+ gulp.task("build:dev:free", gulp.series("js-dev", "sass", "helper-js", "sass_editor","sass_bootstrap","sass_vk_components", "dist_swiper_js", "dist_swiper_css"));
158
+ gulp.task("build:dev:pro", gulp.series("js-dev", "sass", "helper-js", "helper-js-pro", "sass_editor","sass_bootstrap","sass_vk_components", "dist_swiper_js", "dist_swiper_css"));
159
 
160
  // Build : Production
161
+ gulp.task("build:free", gulp.series("js", "sass", "helper-js", "sass_editor","sass_bootstrap","sass_vk_components", "dist_swiper_js", "dist_swiper_css"));
162
+ gulp.task("build:pro", gulp.series("js", "sass", "helper-js", "helper-js-pro", "sass_editor","sass_bootstrap","sass_vk_components", "dist_swiper_js", "dist_swiper_css"));
163
 
164
  // Default Tasks
165
  gulp.task("default", gulp.series("watch"));
166
 
167
  // replace_text_domain
168
+ gulp.task("text-domain", function(done) {
169
  // font-awesome.
170
  gulp.src(["./inc/font-awesome/package/*.php"])
171
  .pipe(replace("'vk_font_awesome_version_textdomain'", "'vk-blocks'"))
181
  // vk-components.
182
  gulp.src(["./inc/vk-components/package/*.php"])
183
  .pipe(replace("'vk_components_textdomain'","'vk-blocks'"))
184
+ .pipe(gulp.dest("./inc/vk-components/package/"));
185
+ gulp.src(["./inc/vk-css-optimize/package/*.php"])
186
+ .pipe(replace("'css_optimize_textdomain'","'vk-blocks'"))
187
+ .pipe(gulp.dest("./inc/vk-css-optimize/package/"));
188
  done();
189
  });
190
 
inc/saved-block-version.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Do not load directly.
4
+ defined( 'ABSPATH' ) || die();
5
+
6
+ function vkblocks_register_saved_block_version_postmeta(){
7
+
8
+ register_post_meta( 'post', '_vkb_saved_block_version', array(
9
+ 'show_in_rest' => true,
10
+ 'single' => true,
11
+ 'type' => 'string',
12
+ 'default' => "",
13
+ ) );
14
+ };
15
+ add_action( 'init', 'vkblocks_register_saved_block_version_postmeta', 10, 0 );
16
+
17
+ function vkblocks_add_saved_block_version( $post_id, $post, $update ) {
18
+
19
+ if(function_exists('vkblocks_get_version')){
20
+ update_post_meta( $post_id, '_vkb_saved_block_version', vkblocks_get_version() );
21
+ } else {
22
+ update_post_meta( $post_id, '_vkb_saved_block_version', "" );
23
+ }
24
+ }
25
+ add_action( 'save_post', 'vkblocks_add_saved_block_version', 10,3 );
inc/vk-admin/package/class-vk-admin.php CHANGED
@@ -100,11 +100,11 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
100
  // プラグイン VK Block Patterns を有効化していない人にバナーを表示
101
  if ( ! self::plugin_exists( 'vk-block-patterns/vk-block-patterns.php' ) ) {
102
  if ( $lang == 'ja' ) {
103
- $bnr_file_name = 'vk-block-patterns_bnr.jpg';
104
  } else {
105
- $bnr_file_name = 'vk-block-patterns_bnr.jpg';
106
  }
107
- $banner .= '<a href="//wordpress.org/plugins/vk-block-patterns/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="VK Block Patterns" /></a>';
108
  }
109
 
110
  // プラグイン Link Target Controller を有効化していない人にバナーを表示
@@ -114,7 +114,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
114
  } else {
115
  $bnr_file_name = 'vk-link-target-controller_notxt_bnr.jpg';
116
  }
117
- $banner .= '<a href="//wordpress.org/plugins/vk-link-target-controller/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="Link Target Controller" /></a>';
118
  }
119
 
120
  // プラグイン VK Aost Author Display を有効化していない人にバナーを表示
@@ -124,7 +124,7 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
124
  } else {
125
  $bnr_file_name = 'post_author_display_bnr_en.jpg';
126
  }
127
- $banner .= '<a href="//wordpress.org/plugins/vk-post-author-display/" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="VK Post Author
128
  Display" /></a>';
129
  }
130
 
100
  // プラグイン VK Block Patterns を有効化していない人にバナーを表示
101
  if ( ! self::plugin_exists( 'vk-block-patterns/vk-block-patterns.php' ) ) {
102
  if ( $lang == 'ja' ) {
103
+ $bnr_file_name = 'vk-block-patterns_bnr_ja.jpg';
104
  } else {
105
+ $bnr_file_name = 'vk-block-patterns_bnr_en.jpg';
106
  }
107
+ $banner .= '<a href="'.admin_url('plugin-install.php?s=vk+block+patterns&tab=search&type=term').'" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="VK Block Patterns" /></a>';
108
  }
109
 
110
  // プラグイン Link Target Controller を有効化していない人にバナーを表示
114
  } else {
115
  $bnr_file_name = 'vk-link-target-controller_notxt_bnr.jpg';
116
  }
117
+ $banner .= '<a href="' . admin_url( 'plugin-install.php?s=vk+link+target+controller&tab=search&type=term' ) . '" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="Link Target Controller" /></a>';
118
  }
119
 
120
  // プラグイン VK Aost Author Display を有効化していない人にバナーを表示
124
  } else {
125
  $bnr_file_name = 'post_author_display_bnr_en.jpg';
126
  }
127
+ $banner .= '<a href="' . admin_url( 'plugin-install.php?s=VK+Post+Author+Display&tab=search&type=term' ) . '" target="_blank" class="admin_banner"><img src="' . $dir_url . 'images/' . $bnr_file_name . '" alt="VK Post Author
128
  Display" /></a>';
129
  }
130
 
inc/vk-admin/package/images/vk-block-patterns_bnr_en.jpg ADDED
Binary file
inc/vk-admin/package/images/vk-block-patterns_bnr_ja.jpg ADDED
Binary file
inc/vk-blocks-config.php CHANGED
@@ -30,6 +30,8 @@ if ( ! function_exists( 'vkblocks_active' ) ) {
30
  require_once 'term-color/term-color-config.php';
31
  require_once 'template-tags/package/template-tags.php';
32
  require_once 'vk-css-optimize/vk-css-optimize-config.php';
 
 
33
 
34
 
35
  if ( ! vkblocks_is_lightning() ) {
30
  require_once 'term-color/term-color-config.php';
31
  require_once 'template-tags/package/template-tags.php';
32
  require_once 'vk-css-optimize/vk-css-optimize-config.php';
33
+ require_once 'saved-block-version.php';
34
+ require_once plugin_dir_path( __DIR__ ) . 'inc/vk-customize-helpers/vk-customize-helpers-config.php';
35
 
36
 
37
  if ( ! vkblocks_is_lightning() ) {
inc/vk-blocks/admin/admin.php CHANGED
@@ -10,7 +10,6 @@ if ( ! function_exists('vk_blocks_setting') ) {
10
  <form method="post" action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ) ;?>">
11
  <?php wp_nonce_field( 'vkb-nonce-key', 'vkb-setting-page' ); ?>
12
  <?php
13
- require_once dirname( __FILE__ ) . '/admin-css-optimize.php';
14
  require_once dirname( __FILE__ ) . '/admin-block-patterns.php';
15
  require_once dirname( __FILE__ ) . '/admin-balloon.php';
16
  do_action( 'vk_blocks_pro_admin' );
@@ -52,7 +51,7 @@ function vk_blocks_setting_page() {
52
  $get_logo_html = '<img src="'.plugin_dir_url( __FILE__ ).'/images/vk-blocks-logo_ol.svg'.'" alt="VK Blocks" />';
53
  $get_logo_html = apply_filters( 'vk_blocks_logo_html', $get_logo_html );
54
 
55
- $get_menu_html = '<li><a href="#css-optimize-setting">' . __( 'CSS Optimize Setting', 'vk-blocks' ) . '</a></li>';
56
  $get_menu_html .= '<li><a href="#block-template-setting">' . __( 'Block Template Setting', 'vk-blocks' ) . '</a></li>';
57
  $get_menu_html .= '<li><a href="#balloon-image-setting">' . __( 'Balloon Image Setting', 'vk-blocks' ) . '</a></li>';
58
  $get_menu_html .= apply_filters( 'vk_blocks_pro_menu', '' );
10
  <form method="post" action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ) ;?>">
11
  <?php wp_nonce_field( 'vkb-nonce-key', 'vkb-setting-page' ); ?>
12
  <?php
 
13
  require_once dirname( __FILE__ ) . '/admin-block-patterns.php';
14
  require_once dirname( __FILE__ ) . '/admin-balloon.php';
15
  do_action( 'vk_blocks_pro_admin' );
51
  $get_logo_html = '<img src="'.plugin_dir_url( __FILE__ ).'/images/vk-blocks-logo_ol.svg'.'" alt="VK Blocks" />';
52
  $get_logo_html = apply_filters( 'vk_blocks_logo_html', $get_logo_html );
53
 
54
+ $get_menu_html = '';
55
  $get_menu_html .= '<li><a href="#block-template-setting">' . __( 'Block Template Setting', 'vk-blocks' ) . '</a></li>';
56
  $get_menu_html .= '<li><a href="#balloon-image-setting">' . __( 'Balloon Image Setting', 'vk-blocks' ) . '</a></li>';
57
  $get_menu_html .= apply_filters( 'vk_blocks_pro_menu', '' );
inc/vk-blocks/build/languages/vk-blocks-ja-vk-blocks-build-js.json CHANGED
@@ -1 +1 @@
1
- {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja_JP"},"Theoretical Physicist":[""],"Profile":["プロフィール"],"Albert Einstein":[""],"14 March 1879 – 18 April 1955":[""],"Lorem ipsum dolor":[""],"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ":[""],"Lorem ipsum":[""],"Icon":["アイコン"],"If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.":["他のアイコンを使いたい場合は Font Awesome のアイコンリストから選んでタグを入力してください。"],"Ex) <i class=\"fas fa-arrow-circle-right\"></i>":["例) <i class=“fas fa-arrow-circle-right”></i>"],"Font Awesome icon list":["Font Awesome アイコンリスト"],"Select Icon":["アイコンを選択"],"Font Awesome":["Font Awesome:"],"Enter Font Awesome Class.":["Font Awesome の class 名を入力してください。"],"Ex) fas fa-arrow-circle-right":["例) fas fa-arrow-circle-right"],"Animation":["アニメーション"],"Animation Settings":["アニメーション設定"],"Animation effect":["アニメーションの効果"],"Fade In":["フェードイン"],"Slide Up":["スライドアップ"],"Slide Left":["スライド左"],"Slide Right":["スライド右"],"Left Right":["左右"],"Up Down":["上下"],"Trembling Y":["ぶるぶる(Y方向)"],"Trembling X":["ぶるぶる(X方向)"],"Pounding":["どきどき"],"Shaking":["ゆらゆら"],"Animation speed":["アニメーションの速度"],"Very Slow":["非常に遅い"],"Slow":["遅い"],"Fast":["速い"],"Very Fast":["非常に速い"],"Animation range":["アニメーションの距離"],"Short":["短い"],"Normal":["標準"],"Long":["長い"],"Card Item":["カードアイテム"],"URL":["URL"],"https://example.com":["https://example.com"],"Select image":["画像を選択"],"Delete Image":["画像を削除"],"Title":["タイトルを入力"],"Image Height":["画像高さ"],"Slide Height for each device.":["デバイス毎の高さ"],"Display item":["表示要素"],"Excerpt Text":["抜粋"],"Warning! When you hidden this item, you will lose the content.":["注意!この項目を非表示にすると入力されていた内容は失われます。"],"Image":["画像"],"Button":["ボタン"],"Button option":["ボタンオプション"],"Click each card block to set the target url. You can find the url form at it's sidebar.":["ボタンのリンク先は各カードブロックをクリックすると、サイドバーにURL入力フォームが表示されます。"],"Button text":["ボタンの文字"],"Card":["カード"],"Ignore this post":["表示中の投稿をリストから除外する"],"Child page list":["子ページリスト"],"Current page":["現在のページ"],"Display conditions":["表示条件"],"Parent":["親ページ"],"Grid Column Item":["グリッドカラムアイテム"],"Grid Column":["グリッドカラム"],"Layout Columns":["カラムレイアウト"],"Icon Card Item":["アイコンカードアイテム"],"PR Block Setting":["PR Block 設定"],"Link URL:":["リンクURL:"],"Open link new tab.":["リンクを別ウィンドウで開く"],"Icon ( Font Awesome )":["アイコン ( Font Awesome )"],"Icon Background:":["アイコン背景:"],"Solid color":["ベタ塗り"],"No background":["背景なし"],"Input Title":["タイトルを入力"],"Input Content":["文章を入力してください"],"Columns":["カラム"],"Align":["表示位置"],"Text":["テキスト"],"Icon Card":["アイコンカード"],"Background Setting":["背景設定"],"Color Setting":["色設定"],"Color will overcome background image. If you want to display image, clear background color or set opacity 0.":["色を指定すると画像よりも優先されます。画像を表示したい場合は、背景色をクリアするか、不透明度を0に設定します。"],"Opacity Setting":["透過設定"],"Background Image PC":["背景画像 ( PC )"],"Background Image Tablet":["背景画像 ( タブレット )"],"Background Image Mobile":["背景画像背景画像 ( モバイル )"],"Background image Position":["背景画像の位置"],"normal":["標準"],"Fixed (Not fixed on iPhone)":["固定(iPhoneでは固定されません)"],"Parallax (Non-guaranteed)":["パララックス(非保証)"],"Layout Setting":["レイアウト設定"],"Width":["幅"],"Full Wide":["全幅"],"Padding (Left and Right)":["余白 (左右)"],"Fit to the Content area":["コンテンツエリアに合わせる"],"Add padding to the Outer area":["アウターエリア内に余白を追加する"],"Remove padding from the Outer area":["アウターエリア内の余白を無くす"],"Padding (Top and Bottom)":["余白 (上下)"],"Use default padding":["標準の余白を使用"],"Do not use default padding":["標準の余白を使用しない"],"* If you select \"Do not use\" that, please set yourself it such as a spacer block.":["*「使用しない」を選択した場合はスペーサーブロックなどで任意に設定してください。"],"Divider Setting":["区切りの設定"],"Type":["タイプ"],"Tilt":["傾斜"],"Curve":["カーブ"],"Wave":["波状"],"Triangle":["三角"],"Upper Divider Level":["上部区切りレベル"],"Lower Divider Level":["下部区切りレベル"],"Border Setting":["枠線の設定"],"Border will disappear when divider effect is applied.":["枠線は区切りレベルを適用すると表示されなくなります。"],"Border type":["枠線の種類"],"None":["なし"],"Solid":["直線"],"Dotted":["点線"],"Dashed":["Dashed"],"Double":["二重線"],"Groove":["Groove"],"Ridge":["Ridge"],"Inset":["Inset"],"Outset":["Outset"],"Border width":["枠線の幅"],"Border radius":["枠線のRの大きさ"],"Outer":["Outer"],"Filter by PostTypes":["投稿タイプ"],"Filter by Taxonomy Terms":["分類"],"Number of Posts":["表示件数"],"Order":["表示順"],"ASC":["昇順"],"DESC":["降順"],"Order by":["表示順"],"Published Date":["公開日"],"Modefied Date":["更新日"],"Random":["ランダム"],"offset":["オフセット数"],"Post list":["投稿リスト"],"Vertical align":["縦揃え"],"Background Image Size":["背景画像サイズ"],"cover":["カバー"],"repeat":["リピート"],"Slider Item":["スライダーアイテム"],"Fit to the Container area":["コンテナエリアに合わせる"],"Add padding to the Slider area":["スライダーアイテムエリア内に余白を追加する"],"Remove padding from the Slider area":["スライダーアイテムエリア内の余白を無くす"],"Height":["高さ"],"Slider Settings":["スライド設定"],"Effect ":["エフェクト"],"Slide":["スライド"],"Fade":["フェード"],"Loop ":["繰り返し"],"AutoPlay":["自動再生"],"Display Time":["表示時間"],"Change Speed":["切り替え時間"],"Display Pagination":["ページネーションの表示"],"Slider":["スライダー"],"Slider is do not move in edit screen.":["スライダーは編集画面では動きません。公開画面でプレビューしてください。"],"Step Item":["ステップ要素"],"Step Mark":["ステップマーク"],"If Font Awesome tags entered, it will overrides the number.":["Font Awesome の class 名が入力されている場合は数字は上書きされます。"],"Ex,6:00AM":["例) 午前 6:00"],"Color":["色"],"Style":["スタイル"],"Outlined":["アウトライン"],"Default":["標準"],"Step":["ステップ"],"First Dot Number":["ステップの開始番号"],"Table of Contents":["目次"],"No frame":["枠無し"],"Default Display Status":["初期表示状態"],"OPEN":["OPEN"],"CLOSE":["CLOSE"],"Timeline Item":["タイムライン要素"],"label":["ラベル"],"Timeline":["タイムライン"],"Alert":["アラート"],"Style Settings":["スタイル設定"],"Success":["Success"],"Info":["Info"],"Warning":["Warning"],"Danger":["Danger"],"Balloon setting":["フキダシ設定"],"Position":["位置"],"Please specify the layout of the balloon.":["吹き出しの配置を指定してください。"],"Left":["左"],"Right":["右"],"Please select the type of balloon.":["吹き出しのタイプを指定してください。"],"Serif":["セリフ"],"Thinking":["吹き出し"],"Image Style":["画像スタイル"],"Rounded":["角丸"],"Circle":["丸抜き"],"Background color of speech balloon":["吹き出しの背景色"],"Default Icon Setting":["デフォルトアイコン設定"],"You can register default icons from Settings > VK Blocks in Admin.":["管理画面の 設定 > VK Blocks から よく使うアイコンを登録する事ができます。"],"Animation setting":["アニメーション設定"],"Please select the type of animation.":["アニメーションのタイプを指定してください。"],"Trembling":["ぶるぶる"],"Upload image":["画像をアップロード"],"Ballon":["吹き出し"],"Icon Name":["アイコンの名前"],"Please enter a title.":["見出しを入力してください。"],"Orange":["オレンジ"],"Blue":["青"],"Green":["緑"],"Black":["黒"],"Background Color":["背景色"],"Transparent":["透過"],"White":["白"],"Border Box":["枠線ボックス"],"Solid Angle Tab":["直線 ピン角 タブ"],"Solid Round Tab":["直線 角丸 タブ"],"Solid Angle Banner":["直線 ピン角 バナー"],"Solid Angle Onborder":["直線 ピンカド 線上"],"Solid Angle Inner":["直線 ピン角 内側"],"Solid Angle iconFeature":["直線 ピン角 アイコン"],"Border Color":["線の色"],"Red":["赤"],"Button setting":["ボタン設定"],"Sub Caption":["サブテキスト"],"Button URL":["ボタン URL"],"Button Size:":["ボタンサイズ:"],"Large":["大"],"Small":["小"],"Button Position:":["ボタンの位置:"],"Center":["中央"],"Wide":["幅広"],"Block":["全幅"],"Button Style:":["ボタンスタイル:"],"Text only":["テキストのみ"],"If you select \"No background\", that you need to select a Custom Color.":["もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"],"Default Color:":["標準色:"],"Primary":["Primary"],"Secondary":["Secondary"],"Light":["Light"],"Dark":["Dark"],"Custom Color":["カスタムカラー"],"This custom color overrides the default color. If you want to use the default color, click the clear button.":["このカスタムカラーはデフォルトのカラーを上書きします。 デフォルトの色を使用したい場合は、クリアボタンをクリックしてください。"],"Before text":["文字の前"],"After text":["文字の後"],"Input text":["文字を入力"],"If you want to be collapsing this block, you can set it at Setting > VK Blocks":["このブロックを折りたたみたい場合は 設定 > VK Blocks から指定できます"],"You can be collapsing this block at VK Blocks Pro":["Pro版は回答部分を開閉式にできます"],"Accordion Setting":["アコーディオン設定"],"Please enter a question.":["質問を入力してください。"],"Classic FAQ":["旧 FAQ"],"Bgfill Circle":["背景塗り 円形"],"Bgfill Square":["背景塗り ピン角"],"Bgfill Rounded":["背景塗り 角丸"],"Border Circle":["枠線 円形"],"Border Square":["枠線 ピン角"],"Border Rounded":["枠線 角丸"],"FAQ Answer":["FAQ 回答"],"FAQ Question":["FAQ 質問"],"New FAQ":["新 FAQ"],"Flow":["フロー"],"Display of arrow":["矢印の表示"],"Arrow display":["矢印を表示する"],"Arrow hidden":["矢印を表示しない"],"Input title":["タイトルを入力"],"Input content":["説明を入力"],"Stitch":["スティッチ"],"Border Top Bottom":["直線 上下"],"Shadow":["シャドウ"],"Solid Roundcorner":["直線 角丸"],"Dotted border bottom black":["点線 下線 黒"],"Both ends":["左右線"],"Brackets black":["括弧 黒"],"Plain":["装飾無し"],"Background fill lightgray":["背景塗り 灰色"],"Double border top and bottom black":["二重線 上下線 黒"],"Double border bottom black":["二重線 下線 黒"],"Solid border top and bottom black":["直線 上下 黒"],"Solid border bottom black":["直線 下線 黒"],"Heading style":["見出しスタイル"],"Margin Setting":["余白設定"],"Margin bottom size of after hedding (rem)":["見出しテキストの下部の余白 (rem)"],"Margin bottom size of after this block (rem)":["このブロック全体の下部の余白 (rem)"],"Heading Settings":["見出し設定"],"Level":["レベル"],"Text Alignment":["テキストの水平位置"],"Text Color":["文字の色"],"Font Awesome Icon Settings":["Font Awesome アイコン設定"],"Icon Color":["アイコンの色"],"Sub Text Settings":["サブテキスト設定"],"Display":["表示"],"Hide":["非表示"],"Text size (rem)":["文字サイズ (rem)"],"Heading":["見出し"],"Input title…":["タイトルを入力"],"Input sub text…":["サブテキストを入力"],"Heading %d":["見出し %d"],"Hidden Settings":["非表示設定"],"Hidden at screel size":["非表示にする画面サイズ"],"Note : This function is display hidden only. Actually Block is output to HTML.Pleade don't use you must not bisible item.Don't use it for blocks you really don't want to display.":["注意 : この機能はあくまでHTMLに出力される要素を非表示にするだけです。本当に見せてはいけない要素には使わないでください。"],"Hidden ( Screen size : all )":["非表示 ( 画面サイズ : all )"],"Hidden ( Screen size : xs )":["非表示 ( 画面サイズ : xs )"],"Hidden ( Screen size : sm )":["非表示 ( 画面サイズ : sm )"],"Hidden ( Screen size : md )":["非表示 ( 画面サイズ : md )"],"Hidden ( Screen size : lg )":["非表示 ( 画面サイズ : lg )"],"Hidden ( Screen size : xl )":["非表示 ( 画面サイズ : xl )"],"Hidden ( Screen size : xxl )":["非表示 ( 画面サイズ : xxl )"],"If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.":["複数のブロックを非表示にする場合は、最初にグループブロックに設定し、そのグループブロックに対して非表示にします。"],"Highlight Color":["ハイライトカラー"],"Highlighter":["蛍光マーカー"],"Photo frame":["フォトフレーム"],"Photo frame Tilt Right":["フォトフレーム傾き右"],"Photo frame Tilt Left":["フォトフレーム傾き左"],"Wave01":["流体シェイプ1"],"Wave02":["流体シェイプ2"],"Wave03":["流体シェイプ3"],"Wave04":["流体シェイプ4"],"Border":["枠線"],"Arrow":["矢印"],"Check":["チェック"],"Check Square":["チェック-四角"],"Check Circle":["チェック-丸"],"Handpoint":["指"],"Pencil":["鉛筆"],"Smile":["笑顔"],"Frown":["不満顔"],"Numbered Circle":["数字-丸"],"Numbered Square":["数字-四角"],"List Icon Color":["リストアイコンの色"],"PR Blocks":["PR Blocks"],"PR Block1 Setting":["PR Block1 設定"],"Icon 1":["アイコン 1"],"When you have an image. Image is displayed with priority":["画像を設定した場合は画像が優先して表示されます。"],"PR Image 1":["PR 画像 1"],"PR Block2 Setting":["PR Block2 設定"],"Icon 2":["アイコン 2"],"PR Image 2":["PR 画像 2"],"PR Block3 Setting":["PR Block3 設定"],"Icon 3":["アイコン 3"],"When you have an image. Image is displayed with priority.":["画像を設定した場合は画像が優先して表示されます。"],"PR Image 3":["PR 画像 3"],"Title Color":["見出しの色"],"Content Color":["本文の色"],"Image Border Color":["画像の線の色"],"Button Setting":["ボタン設定"],"Button Text":["ボタンの文字"],"Link URL":["リンクURL"],"Button Type":["ボタンタイプ"],"Ghost":["ゴーストボタン"],"Button Color":["ボタンの色"],"Layout Type":["レイアウトタイプ"],"PR Content":["PR Content"],"Input title.":["タイトルを入力してください。"],"Input content.":["本文を入力してください。"],"Responsive BR ":["画面サイズ毎の改行 "],"height":["height"],"margin-top":["margin-top"],"Space Type":["余白タイプ"],"Responsive Spacer":["レスポンシブスペーサー"],"Height for each device.":["デバイス毎の高さ"],"Staff name":["名前"],"Name caption":["名前のキャプション"],"Role position":["役職"],"Profile title":["プロフィールタイトル"],"Profile text":["プロフィールテキスト"],"Staff":["スタッフ"],"Layout":["レイアウト"],"Image left":["画像 左"],"Image border":["画像の線"],"Alt text":["画像の代替テキスト"],"Set the alt text for profile image":["プロフィール画像の代替テキストを設定します"],"Your Name":["名前"],"Caption":["キャプション"],"Unit Type":["単位"],"px":["px"],"em":["em"],"rem":["rem"],"vw":["vw"],"PC":["PC"],"Tablet":["タブレット"],"Mobile":["モバイル"],"Card ( No border )":["カード(線なし)"],"Card ( Image Round )":["カード(画像丸抜き)"],"Card Horizontal":["カード(水平)"],"Media":["メディア"],"Text 1 Column":["テキスト1カラム"],"Display type and columns":["表示タイプとカラム"],"Display type":["表示タイプ"],"Column ( Screen size : Extra small )":["カラム ( 画面サイズ : Extra small )"],"Column ( Screen size : Small )":["カラム ( 画面サイズ : Small )"],"Column ( Screen size : Medium )":["カラム ( 画面サイズ : Medium )"],"Column ( Screen size : Large )":["カラム ( 画面サイズ : Large )"],"Column ( Screen size : Extra large )":["カラム ( 画面サイズ : Extra large )"],"Column ( Screen size : XX large )":["カラム ( 画面サイズ : XX Large )"],"Term name":["分類名"],"Excerpt":["抜粋"],"Date":["日付"],"New mark":["新着表示"],"New mark option":["新着表示オプション"],"Number of days to display the new post mark":["新着表示日数"],"New post mark":["新着表示"],"Button align":["ボタンの位置"],"Link target":["リンクターゲット"],"Open in new tab":["リンクを別ウィンドウで開く"],"Link rel":["rel属性"],"VK Blocks Templates":["VK Blocks テンプレート"],"Delete":["削除"],"Balloon Image Name":["吹き出し画像の名前"],"CSS Optimize Setting":["CSS最適化設定"],"Nothing to do":["何もしない"],"Optimize VK Blocks CSS ( Tree Shaking )":["VK Blocks のCSSを最適化する(Tree Shaking)"],"Optimize VK Blocks CSS ( Tree Shaking + Preload )":["VK Blocks のCSSを最適化する ( Tree Shaking + Preload )"],"Disable accordion":["アコーディオン無効"],"Enable accordion and default open":["アコーディオン有効 / 初期状態で開く"],"Enable accordion and default close":["アコーディオン有効 / 初期状態で閉じる"],"Display Block Template Setting":["ブロックテンプレート表示設定"],"Block Template Setting":["ブロックテンプレート設定"],"Disabled Blocks module. Because VK-Blocks Plugin running.":["VK-Blocksと競合するため、VK All in One Expansion UnitのBlock機能を停止しました。"],"Deactivated VK-Blocks Plugin. Because VK-Blocks Pro running.":["Pro版VK-Blocksが起動しているため、VK-Blocksを停止しました。"],"You can register frequently used icon images for speech bubble blocks.":["よく使う吹き出し用のアイコン画像を登録する事ができます。"],"If you change image or name that please click Save Changes button.":["画像を変更したら「変更を保存」ボタンをクリックしてください。"],"Balloon Image Setting":["吹き出し画像設定"],"Select":["選択"]}}}
1
+ {"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja_JP"},"Theoretical Physicist":[""],"Profile":["プロフィール"],"Albert Einstein":[""],"14 March 1879 – 18 April 1955":[""],"Lorem ipsum dolor":[""],"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ":[""],"Lorem ipsum":[""],"Icon":["アイコン"],"If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.":["他のアイコンを使いたい場合は Font Awesome のアイコンリストから選んでタグを入力してください。"],"Ex) <i class=\"fas fa-arrow-circle-right\"></i>":["例) <i class=“fas fa-arrow-circle-right”></i>"],"Font Awesome icon list":["Font Awesome アイコンリスト"],"Select Icon":["アイコンを選択"],"Font Awesome":["Font Awesome:"],"Enter Font Awesome Class.":["Font Awesome の class 名を入力してください。"],"Ex) fas fa-arrow-circle-right":["例) fas fa-arrow-circle-right"],"Animation":["アニメーション"],"Animation Settings":["アニメーション設定"],"Animation effect":["アニメーションの効果"],"Fade In":["フェードイン"],"Slide Up":["スライドアップ"],"Slide Left":["スライド左"],"Slide Right":["スライド右"],"Left Right":["左右"],"Up Down":["上下"],"Trembling Y":["ぶるぶる(Y方向)"],"Trembling X":["ぶるぶる(X方向)"],"Pounding":["どきどき"],"Shaking":["ゆらゆら"],"Animation speed":["アニメーションの速度"],"Very Slow":["非常に遅い"],"Slow":["遅い"],"Fast":["速い"],"Very Fast":["非常に速い"],"Animation range":["アニメーションの距離"],"Short":["短い"],"Normal":["標準"],"Long":["長い"],"Card Item":["カードアイテム"],"URL":["URL"],"https://example.com":["https://example.com"],"Select image":["画像を選択"],"Delete Image":["画像を削除"],"Title":["タイトルを入力"],"Image Height":["画像高さ"],"Slide Height for each device.":["デバイス毎の高さ"],"Display item":["表示要素"],"Excerpt Text":["抜粋"],"Warning! When you hidden this item, you will lose the content.":["注意!この項目を非表示にすると入力されていた内容は失われます。"],"Image":["画像"],"Button":["ボタン"],"Button option":["ボタンオプション"],"Click each card block to set the target url. You can find the url form at it's sidebar.":["ボタンのリンク先は各カードブロックをクリックすると、サイドバーにURL入力フォームが表示されます。"],"Button text":["ボタンの文字"],"Card":["カード"],"Display conditions":["表示条件"],"Parent":["親ページ"],"Ignore this post":["表示中の投稿をリストから除外する"],"Child page list":["子ページリスト"],"Current page":["現在のページ"],"Grid Column Item":["グリッドカラムアイテム"],"Grid Column":["グリッドカラム"],"Layout Columns":["カラムレイアウト"],"Icon Card Item":["アイコンカードアイテム"],"PR Block Setting":["PR Block 設定"],"Link URL:":["リンクURL:"],"Open link new tab.":["リンクを別ウィンドウで開く"],"Icon ( Font Awesome )":["アイコン ( Font Awesome )"],"Icon Background:":["アイコン背景:"],"Solid color":["ベタ塗り"],"No background":["背景なし"],"Input Title":["タイトルを入力"],"Input Content":["文章を入力してください"],"Columns":["カラム"],"Align":["表示位置"],"Text":["テキスト"],"Icon Card":["アイコンカード"],"Background Setting":["背景設定"],"Color Setting":["色設定"],"Color will overcome background image. If you want to display image, clear background color or set opacity 0.":["色を指定すると画像よりも優先されます。画像を表示したい場合は、背景色をクリアするか、不透明度を0に設定します。"],"Opacity Setting":["透過設定"],"Background Image PC":["背景画像 ( PC )"],"Background Image Tablet":["背景画像 ( タブレット )"],"Background Image Mobile":["背景画像背景画像 ( モバイル )"],"Background image Position":["背景画像の位置"],"normal":["標準"],"Fixed (Not fixed on iPhone)":["固定(iPhoneでは固定されません)"],"Parallax (Non-guaranteed)":["パララックス(非保証)"],"Layout Setting":["レイアウト設定"],"Width":["幅"],"Full Wide":["全幅"],"Padding (Left and Right)":["余白 (左右)"],"Fit to the Content area":["コンテンツエリアに合わせる"],"Add padding to the Outer area":["アウターエリア内に余白を追加する"],"Remove padding from the Outer area":["アウターエリア内の余白を無くす"],"Padding (Top and Bottom)":["余白 (上下)"],"Use default padding":["標準の余白を使用"],"Do not use default padding":["標準の余白を使用しない"],"* If you select \"Do not use\" that, please set yourself it such as a spacer block.":["*「使用しない」を選択した場合はスペーサーブロックなどで任意に設定してください。"],"Divider Setting":["区切りの設定"],"Type":["タイプ"],"Tilt":["傾斜"],"Curve":["カーブ"],"Wave":["波状"],"Triangle":["三角"],"Upper Divider Level":["上部区切りレベル"],"Lower Divider Level":["下部区切りレベル"],"Border Setting":["枠線の設定"],"Border will disappear when divider effect is applied.":["枠線は区切りレベルを適用すると表示されなくなります。"],"Border type":["枠線の種類"],"None":["なし"],"Solid":["直線"],"Dotted":["点線"],"Dashed":["Dashed"],"Double":["二重線"],"Groove":["Groove"],"Ridge":["Ridge"],"Inset":["Inset"],"Outset":["Outset"],"Border width":["枠線の幅"],"Border radius":["枠線のRの大きさ"],"Outer":["Outer"],"Filter by PostTypes":["投稿タイプ"],"Filter by Taxonomy Terms":["分類"],"Number of Posts":["表示件数"],"Order":["表示順"],"ASC":["昇順"],"DESC":["降順"],"Order by":["表示順"],"Published Date":["公開日"],"Modefied Date":["更新日"],"Random":["ランダム"],"offset":["オフセット数"],"Post list":["投稿リスト"],"Vertical align":["縦揃え"],"Background Image Size":["背景画像サイズ"],"cover":["カバー"],"repeat":["リピート"],"Slider Item":["スライダーアイテム"],"Fit to the Container area":["コンテナエリアに合わせる"],"Add padding to the Slider area":["スライダーアイテムエリア内に余白を追加する"],"Remove padding from the Slider area":["スライダーアイテムエリア内の余白を無くす"],"Height":["高さ"],"Slider Settings":["スライド設定"],"Effect ":["エフェクト"],"Slide":["スライド"],"Fade":["フェード"],"Loop ":["繰り返し"],"AutoPlay":["自動再生"],"Display Time":["表示時間"],"Change Speed":["切り替え時間"],"Display Pagination":["ページネーションの表示"],"Slider":["スライダー"],"Slider is do not move in edit screen.":["スライダーは編集画面では動きません。公開画面でプレビューしてください。"],"Step Item":["ステップ要素"],"Step Mark":["ステップマーク"],"If Font Awesome tags entered, it will overrides the number.":["Font Awesome の class 名が入力されている場合は数字は上書きされます。"],"Ex,6:00AM":["例) 午前 6:00"],"Color":["色"],"Style":["スタイル"],"Outlined":["アウトライン"],"Default":["標準"],"Step":["ステップ"],"First Dot Number":["ステップの開始番号"],"Table of Contents":["目次"],"No frame":["枠無し"],"Default Display Status":["初期表示状態"],"OPEN":["OPEN"],"CLOSE":["CLOSE"],"Timeline Item":["タイムライン要素"],"label":["ラベル"],"Timeline":["タイムライン"],"Alert":["アラート"],"Style Settings":["スタイル設定"],"Success":["Success"],"Info":["Info"],"Warning":["Warning"],"Danger":["Danger"],"Balloon setting":["フキダシ設定"],"Position":["位置"],"Please specify the layout of the balloon.":["吹き出しの配置を指定してください。"],"Left":["左"],"Right":["右"],"Please select the type of balloon.":["吹き出しのタイプを指定してください。"],"Serif":["セリフ"],"Thinking":["吹き出し"],"Image Style":["画像スタイル"],"Rounded":["角丸"],"Circle":["丸抜き"],"Background color of speech balloon":["吹き出しの背景色"],"Default Icon Setting":["デフォルトアイコン設定"],"You can register default icons from Settings > VK Blocks in Admin.":["管理画面の 設定 > VK Blocks から よく使うアイコンを登録する事ができます。"],"Animation setting":["アニメーション設定"],"Please select the type of animation.":["アニメーションのタイプを指定してください。"],"Trembling":["ぶるぶる"],"Upload image":["画像をアップロード"],"Ballon":["吹き出し"],"Icon Name":["アイコンの名前"],"Please enter a title.":["見出しを入力してください。"],"Orange":["オレンジ"],"Blue":["青"],"Green":["緑"],"Black":["黒"],"Background Color":["背景色"],"Transparent":["透過"],"White":["白"],"Border Box":["枠線ボックス"],"Solid Angle Tab":["直線 ピン角 タブ"],"Solid Round Tab":["直線 角丸 タブ"],"Solid Angle Banner":["直線 ピン角 バナー"],"Solid Angle Onborder":["直線 ピンカド 線上"],"Solid Angle Inner":["直線 ピン角 内側"],"Solid Angle iconFeature":["直線 ピン角 アイコン"],"Border Color":["線の色"],"Red":["赤"],"Button setting":["ボタン設定"],"Sub Caption":["サブテキスト"],"Button URL":["ボタン URL"],"Button Size:":["ボタンサイズ:"],"Large":["大"],"Small":["小"],"Button Position:":["ボタンの位置:"],"Center":["中央"],"Wide":["幅広"],"Block":["全幅"],"Button Style:":["ボタンスタイル:"],"Text only":["テキストのみ"],"If you select \"No background\", that you need to select a Custom Color.":["もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"],"Default Color:":["標準色:"],"Primary":["Primary"],"Secondary":["Secondary"],"Light":["Light"],"Dark":["Dark"],"Custom Color":["カスタムカラー"],"This custom color overrides the default color. If you want to use the default color, click the clear button.":["このカスタムカラーはデフォルトのカラーを上書きします。 デフォルトの色を使用したい場合は、クリアボタンをクリックしてください。"],"Before text":["文字の前"],"After text":["文字の後"],"Input text":["文字を入力"],"If you want to be collapsing this block, you can set it at Setting > VK Blocks":["このブロックを折りたたみたい場合は 設定 > VK Blocks から指定できます"],"You can be collapsing this block at VK Blocks Pro":["Pro版は回答部分を開閉式にできます"],"Accordion Setting":["アコーディオン設定"],"Please enter a question.":["質問を入力してください。"],"Classic FAQ":["旧 FAQ"],"Bgfill Circle":["背景塗り 円形"],"Bgfill Square":["背景塗り ピン角"],"Bgfill Rounded":["背景塗り 角丸"],"Border Circle":["枠線 円形"],"Border Square":["枠線 ピン角"],"Border Rounded":["枠線 角丸"],"FAQ Answer":["FAQ 回答"],"FAQ Question":["FAQ 質問"],"New FAQ":["新 FAQ"],"Flow":["フロー"],"Display of arrow":["矢印の表示"],"Arrow display":["矢印を表示する"],"Arrow hidden":["矢印を表示しない"],"Input title":["タイトルを入力"],"Input content":["説明を入力"],"Stitch":["スティッチ"],"Border Top Bottom":["直線 上下"],"Shadow":["シャドウ"],"Solid Roundcorner":["直線 角丸"],"Dotted border bottom black":["点線 下線 黒"],"Both ends":["左右線"],"Brackets black":["括弧 黒"],"Plain":["装飾無し"],"Background fill lightgray":["背景塗り 灰色"],"Double border top and bottom black":["二重線 上下線 黒"],"Double border bottom black":["二重線 下線 黒"],"Solid border top and bottom black":["直線 上下 黒"],"Solid border bottom black":["直線 下線 黒"],"Heading style":["見出しスタイル"],"Margin Setting":["余白設定"],"Margin bottom size of after hedding (rem)":["見出しテキストの下部の余白 (rem)"],"Margin bottom size of after this block (rem)":["このブロック全体の下部の余白 (rem)"],"Heading Settings":["見出し設定"],"Level":["レベル"],"Text Alignment":["テキストの水平位置"],"Text Color":["文字の色"],"Font Awesome Icon Settings":["Font Awesome アイコン設定"],"Icon Color":["アイコンの色"],"Sub Text Settings":["サブテキスト設定"],"Display":["表示"],"Hide":["非表示"],"Text size (rem)":["文字サイズ (rem)"],"Heading":["見出し"],"Input title…":["タイトルを入力"],"Input sub text…":["サブテキストを入力"],"Heading %d":["見出し %d"],"Hidden Settings":["非表示設定"],"Hidden at screel size":["非表示にする画面サイズ"],"Note : This function is display hidden only. Actually Block is output to HTML.Pleade don't use you must not bisible item.Don't use it for blocks you really don't want to display.":["注意 : この機能はあくまでHTMLに出力される要素を非表示にするだけです。本当に見せてはいけない要素には使わないでください。"],"Hidden ( Screen size : all )":["非表示 ( 画面サイズ : all )"],"Hidden ( Screen size : xs )":["非表示 ( 画面サイズ : xs )"],"Hidden ( Screen size : sm )":["非表示 ( 画面サイズ : sm )"],"Hidden ( Screen size : md )":["非表示 ( 画面サイズ : md )"],"Hidden ( Screen size : lg )":["非表示 ( 画面サイズ : lg )"],"Hidden ( Screen size : xl )":["非表示 ( 画面サイズ : xl )"],"Hidden ( Screen size : xxl )":["非表示 ( 画面サイズ : xxl )"],"If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.":["複数のブロックを非表示にする場合は、最初にグループブロックに設定し、そのグループブロックに対して非表示にします。"],"Highlight Color":["ハイライトカラー"],"Highlighter":["蛍光マーカー"],"Photo frame":["フォトフレーム"],"Photo frame Tilt Right":["フォトフレーム傾き右"],"Photo frame Tilt Left":["フォトフレーム傾き左"],"Wave01":["流体シェイプ1"],"Wave02":["流体シェイプ2"],"Wave03":["流体シェイプ3"],"Wave04":["流体シェイプ4"],"Border":["枠線"],"Arrow":["矢印"],"Check":["チェック"],"Check Square":["チェック-四角"],"Check Circle":["チェック-丸"],"Handpoint":["指"],"Pencil":["鉛筆"],"Smile":["笑顔"],"Frown":["不満顔"],"Numbered Circle":["数字-丸"],"Numbered Square":["数字-四角"],"List Icon Color":["リストアイコンの色"],"PR Blocks":["PR Blocks"],"PR Block1 Setting":["PR Block1 設定"],"Icon 1":["アイコン 1"],"When you have an image. Image is displayed with priority":["画像を設定した場合は画像が優先して表示されます。"],"PR Image 1":["PR 画像 1"],"PR Block2 Setting":["PR Block2 設定"],"Icon 2":["アイコン 2"],"PR Image 2":["PR 画像 2"],"PR Block3 Setting":["PR Block3 設定"],"Icon 3":["アイコン 3"],"When you have an image. Image is displayed with priority.":["画像を設定した場合は画像が優先して表示されます。"],"PR Image 3":["PR 画像 3"],"Title Color":["見出しの色"],"Content Color":["本文の色"],"Image Border Color":["画像の線の色"],"Button Setting":["ボタン設定"],"Button Text":["ボタンの文字"],"Link URL":["リンクURL"],"Button Type":["ボタンタイプ"],"Ghost":["ゴーストボタン"],"Button Color":["ボタンの色"],"Layout Type":["レイアウトタイプ"],"PR Content":["PR Content"],"Input title.":["タイトルを入力してください。"],"Input content.":["本文を入力してください。"],"Responsive BR ":["画面サイズ毎の改行 "],"height":["height"],"margin-top":["margin-top"],"Space Type":["余白タイプ"],"Responsive Spacer":["レスポンシブスペーサー"],"Height for each device.":["デバイス毎の高さ"],"Staff name":["名前"],"Name caption":["名前のキャプション"],"Role position":["役職"],"Profile title":["プロフィールタイトル"],"Profile text":["プロフィールテキスト"],"Staff":["スタッフ"],"Layout":["レイアウト"],"Image left":["画像 左"],"Image border":["画像の線"],"Alt text":["画像の代替テキスト"],"Set the alt text for profile image":["プロフィール画像の代替テキストを設定します"],"Your Name":["名前"],"Caption":["キャプション"],"Unit Type":["単位"],"px":["px"],"em":["em"],"rem":["rem"],"vw":["vw"],"PC":["PC"],"Tablet":["タブレット"],"Mobile":["モバイル"],"Card ( No border )":["カード(線なし)"],"Card ( Image Round )":["カード(画像丸抜き)"],"Card Horizontal":["カード(水平)"],"Media":["メディア"],"Text 1 Column":["テキスト1カラム"],"Display type and columns":["表示タイプとカラム"],"Display type":["表示タイプ"],"Column ( Screen size : Extra small )":["カラム ( 画面サイズ : Extra small )"],"Column ( Screen size : Small )":["カラム ( 画面サイズ : Small )"],"Column ( Screen size : Medium )":["カラム ( 画面サイズ : Medium )"],"Column ( Screen size : Large )":["カラム ( 画面サイズ : Large )"],"Column ( Screen size : Extra large )":["カラム ( 画面サイズ : Extra large )"],"Column ( Screen size : XX large )":["カラム ( 画面サイズ : XX Large )"],"Term name":["分類名"],"Excerpt":["抜粋"],"Date":["日付"],"New mark":["新着表示"],"New mark option":["新着表示オプション"],"Number of days to display the new post mark":["新着表示日数"],"New post mark":["新着表示"],"Button align":["ボタンの位置"],"Link target":["リンクターゲット"],"Open in new tab":["リンクを別ウィンドウで開く"],"Link rel":["rel属性"],"VK Blocks Templates":["VK Blocks テンプレート"],"Delete":["削除"],"Balloon Image Name":["吹き出し画像の名前"],"CSS Optimize Setting":["CSS最適化設定"],"Nothing to do":["何もしない"],"Optimize VK Blocks CSS ( Tree Shaking )":["VK Blocks のCSSを最適化する(Tree Shaking)"],"Optimize VK Blocks CSS ( Tree Shaking + Preload )":["VK Blocks のCSSを最適化する ( Tree Shaking + Preload )"],"Disable accordion":["アコーディオン無効"],"Enable accordion and default open":["アコーディオン有効 / 初期状態で開く"],"Enable accordion and default close":["アコーディオン有効 / 初期状態で閉じる"],"Display Block Template Setting":["ブロックテンプレート表示設定"],"Block Template Setting":["ブロックテンプレート設定"],"Disabled Blocks module. Because VK-Blocks Plugin running.":["VK-Blocksと競合するため、VK All in One Expansion UnitのBlock機能を停止しました。"],"Deactivated VK-Blocks Plugin. Because VK-Blocks Pro running.":["Pro版VK-Blocksが起動しているため、VK-Blocksを停止しました。"],"You can register frequently used icon images for speech bubble blocks.":["よく使う吹き出し用のアイコン画像を登録する事ができます。"],"If you change image or name that please click Save Changes button.":["画像を変更したら「変更を保存」ボタンをクリックしてください。"],"Balloon Image Setting":["吹き出し画像設定"],"Select":["選択"]}}}
inc/vk-blocks/build/languages/vk-blocks-ja.po CHANGED
@@ -36,8 +36,8 @@ msgid "Lorem ipsum dolor"
36
  msgstr ""
37
 
38
  #: src/blocks/_helper/example-data.js:3
39
- #: src/blocks/_pro/card-item/component.js:170
40
- #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:157
41
  #: src/blocks/_pro/card-item/deprecated/index.js:1200
42
  msgid ""
43
  "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "
@@ -90,94 +90,94 @@ msgstr "Font Awesome の class 名を入力してください。"
90
  msgid "Ex) fas fa-arrow-circle-right"
91
  msgstr "例) fas fa-arrow-circle-right"
92
 
93
- #: src/blocks/_pro/animation/block.js:33
94
  msgid "Animation"
95
  msgstr "アニメーション"
96
 
97
- #: src/blocks/_pro/animation/block.js:50
98
  msgid "Animation Settings"
99
  msgstr "アニメーション設定"
100
 
101
- #: src/blocks/_pro/animation/block.js:51
102
  msgid "Animation effect"
103
  msgstr "アニメーションの効果"
104
 
105
- #: src/blocks/_pro/animation/block.js:56
106
  msgid "Fade In"
107
  msgstr "フェードイン"
108
 
109
- #: src/blocks/_pro/animation/block.js:57
110
  msgid "Slide Up"
111
  msgstr "スライドアップ"
112
 
113
- #: src/blocks/_pro/animation/block.js:58
114
  msgid "Slide Left"
115
  msgstr "スライド左"
116
 
117
- #: src/blocks/_pro/animation/block.js:59
118
  msgid "Slide Right"
119
  msgstr "スライド右"
120
 
121
- #: src/blocks/_pro/animation/block.js:60
122
  msgid "Left Right"
123
  msgstr "左右"
124
 
125
- #: src/blocks/_pro/animation/block.js:61
126
  msgid "Up Down"
127
  msgstr "上下"
128
 
129
- #: src/blocks/_pro/animation/block.js:62
130
  msgid "Trembling Y"
131
  msgstr "ぶるぶる(Y方向)"
132
 
133
- #: src/blocks/_pro/animation/block.js:63 src/blocks/balloon/block.js:230
134
  msgid "Trembling X"
135
  msgstr "ぶるぶる(X方向)"
136
 
137
- #: src/blocks/_pro/animation/block.js:64 src/blocks/balloon/block.js:234
138
  msgid "Pounding"
139
  msgstr "どきどき"
140
 
141
- #: src/blocks/_pro/animation/block.js:65 src/blocks/balloon/block.js:238
142
  msgid "Shaking"
143
  msgstr "ゆらゆら"
144
 
145
- #: src/blocks/_pro/animation/block.js:68
146
  msgid "Animation speed"
147
  msgstr "アニメーションの速度"
148
 
149
- #: src/blocks/_pro/animation/block.js:73
150
  msgid "Very Slow"
151
  msgstr "非常に遅い"
152
 
153
- #: src/blocks/_pro/animation/block.js:74
154
  msgid "Slow"
155
  msgstr "遅い"
156
 
157
- #: src/blocks/_pro/animation/block.js:76
158
  msgid "Fast"
159
  msgstr "速い"
160
 
161
- #: src/blocks/_pro/animation/block.js:77
162
  msgid "Very Fast"
163
  msgstr "非常に速い"
164
 
165
- #: src/blocks/_pro/animation/block.js:80
166
  msgid "Animation range"
167
  msgstr "アニメーションの距離"
168
 
169
- #: src/blocks/_pro/animation/block.js:85
170
  msgid "Short"
171
  msgstr "短い"
172
 
173
- #: src/blocks/_pro/animation/block.js:86 src/blocks/_pro/outer/block.js:181
174
- #: src/blocks/_pro/slider/block.js:120 src/blocks/balloon/block.js:183
175
  #: src/blocks/button/block.js:169 src/blocks/faq/block.js:67
176
  #: src/blocks/faq2/block.js:57
177
  msgid "Normal"
178
  msgstr "標準"
179
 
180
- #: src/blocks/_pro/animation/block.js:87
181
  msgid "Long"
182
  msgstr "長い"
183
 
@@ -193,11 +193,12 @@ msgstr "URL"
193
  msgid "https://example.com"
194
  msgstr "https://example.com"
195
 
196
- #: src/blocks/_pro/card-item/component.js:102
197
- #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:90
198
  #: src/blocks/_pro/card-item/deprecated/index.js:1132
199
  #: src/blocks/balloon/block.js:259 src/blocks/flow/block.js:105
200
- #: src/blocks/pr-blocks/block.js:168 src/blocks/pr-content/component.js:157
 
201
  #: src/blocks/pr-content/deprecated/component-deprecated.js:102
202
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:116
203
  #: src/blocks/pr-content/deprecated/componentV1.js:185
@@ -206,17 +207,17 @@ msgstr "https://example.com"
206
  msgid "Select image"
207
  msgstr "画像を選択"
208
 
209
- #: src/blocks/_pro/card-item/component.js:115
210
- #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:103
211
  #: src/blocks/_pro/card-item/deprecated/index.js:1145
212
  #: src/components/advanced-media-upload/index.js:32
213
  msgid "Delete Image"
214
  msgstr "画像を削除"
215
 
216
- #: src/blocks/_pro/card-item/component.js:216
217
- #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:199
218
  #: src/blocks/_pro/card-item/deprecated/index.js:1246
219
- #: src/blocks/_pro/card/block.js:145 src/blocks/_pro/icon-card/block.js:106
220
  #: src/blocks/_pro/post-list/block.js:155
221
  msgid "Title"
222
  msgstr "タイトルを入力"
@@ -225,7 +226,7 @@ msgstr "タイトルを入力"
225
  msgid "Image Height"
226
  msgstr "画像高さ"
227
 
228
- #: src/blocks/_pro/card/block.js:118 src/blocks/_pro/slider/block.js:138
229
  msgid "Slide Height for each device."
230
  msgstr "デバイス毎の高さ"
231
 
@@ -276,7 +277,16 @@ msgstr "ボタンの文字"
276
  msgid "Card"
277
  msgstr "カード"
278
 
279
- #: src/blocks/_pro/child-page/block.js:108
 
 
 
 
 
 
 
 
 
280
  #: src/blocks/_pro/post-list/block.js:171
281
  msgid "Ignore this post"
282
  msgstr "表示中の投稿をリストから除外する"
@@ -285,19 +295,10 @@ msgstr "表示中の投稿をリストから除外する"
285
  msgid "Child page list"
286
  msgstr "子ページリスト"
287
 
288
- #: src/blocks/_pro/child-page/block.js:64
289
  msgid "Current page"
290
  msgstr "現在のページ"
291
 
292
- #: src/blocks/_pro/child-page/block.js:94
293
- #: src/blocks/_pro/post-list/block.js:108
294
- msgid "Display conditions"
295
- msgstr "表示条件"
296
-
297
- #: src/blocks/_pro/child-page/block.js:97
298
- msgid "Parent"
299
- msgstr "親ページ"
300
-
301
  #: src/blocks/_pro/grid-column-item/block.js:20
302
  msgid "Grid Column Item"
303
  msgstr "グリッドカラムアイテム"
@@ -318,12 +319,12 @@ msgstr "アイコンカードアイテム"
318
  msgid "PR Block Setting"
319
  msgstr "PR Block 設定"
320
 
321
- #: src/blocks/_pro/icon-card-item/block.js:42 src/blocks/pr-blocks/block.js:306
322
  msgid "Link URL:"
323
  msgstr "リンクURL:"
324
 
325
  #: src/blocks/_pro/icon-card-item/block.js:49 src/blocks/button/block.js:148
326
- #: src/blocks/pr-blocks/block.js:313 src/blocks/pr-content/block.js:140
327
  msgid "Open link new tab."
328
  msgstr "リンクを別ウィンドウで開く"
329
 
@@ -333,21 +334,21 @@ msgstr "リンクを別ウィンドウで開く"
333
  msgid "Icon ( Font Awesome )"
334
  msgstr "アイコン ( Font Awesome )"
335
 
336
- #: src/blocks/_pro/icon-card-item/block.js:75 src/blocks/pr-blocks/block.js:337
337
  msgid "Icon Background:"
338
  msgstr "アイコン背景:"
339
 
340
  #: src/blocks/_pro/icon-card-item/block.js:78 src/blocks/button/block.js:233
341
- #: src/blocks/pr-blocks/block.js:340
342
  msgid "Solid color"
343
  msgstr "ベタ塗り"
344
 
345
  #: src/blocks/_pro/icon-card-item/block.js:79 src/blocks/button/block.js:241
346
- #: src/blocks/pr-blocks/block.js:341
347
  msgid "No background"
348
  msgstr "背景なし"
349
 
350
- #: src/blocks/_pro/icon-card-item/component.js:53
351
  #: src/blocks/_pro/icon-card-item/deprecated.js:129
352
  #: src/blocks/pr-blocks/component-block.js:183
353
  #: src/blocks/pr-blocks/deprecated/component-block.js:144
@@ -355,7 +356,7 @@ msgstr "背景なし"
355
  msgid "Input Title"
356
  msgstr "タイトルを入力"
357
 
358
- #: src/blocks/_pro/icon-card-item/component.js:60
359
  #: src/blocks/_pro/icon-card-item/deprecated.js:136
360
  #: src/blocks/pr-blocks/component-block.js:190
361
  #: src/blocks/pr-blocks/deprecated/component-block.js:151
@@ -363,20 +364,20 @@ msgstr "タイトルを入力"
363
  msgid "Input Content"
364
  msgstr "文章を入力してください"
365
 
366
- #: src/blocks/_pro/icon-card/block.js:100
367
  msgid "Columns"
368
  msgstr "カラム"
369
 
370
- #: src/blocks/_pro/icon-card/block.js:105
371
- #: src/components/card-align-control/index.js:29
372
  msgid "Align"
373
  msgstr "表示位置"
374
 
375
- #: src/blocks/_pro/icon-card/block.js:109
376
  msgid "Text"
377
  msgstr "テキスト"
378
 
379
- #: src/blocks/_pro/icon-card/block.js:39
380
  msgid "Icon Card"
381
  msgstr "アイコンカード"
382
 
@@ -434,11 +435,11 @@ msgstr "パララックス(非保証)"
434
  msgid "Layout Setting"
435
  msgstr "レイアウト設定"
436
 
437
- #: src/blocks/_pro/outer/block.js:172 src/blocks/_pro/slider/block.js:109
438
  msgid "Width"
439
  msgstr "幅"
440
 
441
- #: src/blocks/_pro/outer/block.js:189 src/blocks/_pro/slider/block.js:128
442
  msgid "Full Wide"
443
  msgstr "全幅"
444
 
@@ -654,51 +655,51 @@ msgstr "スライダーアイテムエリア内に余白を追加する"
654
  msgid "Remove padding from the Slider area"
655
  msgstr "スライダーアイテムエリア内の余白を無くす"
656
 
657
- #: src/blocks/_pro/slider/block.js:134
658
  msgid "Height"
659
  msgstr "高さ"
660
 
661
- #: src/blocks/_pro/slider/block.js:143
662
  msgid "Slider Settings"
663
  msgstr "スライド設定"
664
 
665
- #: src/blocks/_pro/slider/block.js:146
666
  msgid "Effect "
667
  msgstr "エフェクト"
668
 
669
- #: src/blocks/_pro/slider/block.js:151
670
  msgid "Slide"
671
  msgstr "スライド"
672
 
673
- #: src/blocks/_pro/slider/block.js:152
674
  msgid "Fade"
675
  msgstr "フェード"
676
 
677
- #: src/blocks/_pro/slider/block.js:156
678
  msgid "Loop "
679
  msgstr "繰り返し"
680
 
681
- #: src/blocks/_pro/slider/block.js:163
682
  msgid "AutoPlay"
683
  msgstr "自動再生"
684
 
685
- #: src/blocks/_pro/slider/block.js:170
686
  msgid "Display Time"
687
  msgstr "表示時間"
688
 
689
- #: src/blocks/_pro/slider/block.js:176
690
  msgid "Change Speed"
691
  msgstr "切り替え時間"
692
 
693
- #: src/blocks/_pro/slider/block.js:183
694
  msgid "Display Pagination"
695
  msgstr "ページネーションの表示"
696
 
697
- #: src/blocks/_pro/slider/block.js:48
698
  msgid "Slider"
699
  msgstr "スライダー"
700
 
701
- #: src/blocks/_pro/slider/block.js:52
702
  msgid "Slider is do not move in edit screen."
703
  msgstr "スライダーは編集画面では動きません。公開画面でプレビューしてください。"
704
 
@@ -895,7 +896,8 @@ msgid "Trembling"
895
  msgstr "ぶるぶる"
896
 
897
  #: src/blocks/balloon/block.js:264 src/blocks/flow/block.js:106
898
- #: src/blocks/pr-blocks/block.js:164 src/blocks/pr-content/component.js:164
 
899
  #: src/blocks/pr-content/deprecated/component-deprecated.js:106
900
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:120
901
  #: src/blocks/pr-content/deprecated/componentV1.js:192
@@ -1433,51 +1435,51 @@ msgstr "数字-四角"
1433
  msgid "List Icon Color"
1434
  msgstr "リストアイコンの色"
1435
 
1436
- #: src/blocks/pr-blocks/block.js:100
1437
  msgid "PR Blocks"
1438
  msgstr "PR Blocks"
1439
 
1440
- #: src/blocks/pr-blocks/block.js:179
1441
  msgid "PR Block1 Setting"
1442
  msgstr "PR Block1 設定"
1443
 
1444
- #: src/blocks/pr-blocks/block.js:194
1445
  msgid "Icon 1"
1446
  msgstr "アイコン 1"
1447
 
1448
- #: src/blocks/pr-blocks/block.js:224
1449
  msgid "When you have an image. Image is displayed with priority"
1450
  msgstr "画像を設定した場合は画像が優先して表示されます。"
1451
 
1452
- #: src/blocks/pr-blocks/block.js:226
1453
  msgid "PR Image 1"
1454
  msgstr "PR 画像 1"
1455
 
1456
- #: src/blocks/pr-blocks/block.js:242
1457
  msgid "PR Block2 Setting"
1458
  msgstr "PR Block2 設定"
1459
 
1460
- #: src/blocks/pr-blocks/block.js:257
1461
  msgid "Icon 2"
1462
  msgstr "アイコン 2"
1463
 
1464
- #: src/blocks/pr-blocks/block.js:288
1465
  msgid "PR Image 2"
1466
  msgstr "PR 画像 2"
1467
 
1468
- #: src/blocks/pr-blocks/block.js:304
1469
  msgid "PR Block3 Setting"
1470
  msgstr "PR Block3 設定"
1471
 
1472
- #: src/blocks/pr-blocks/block.js:319
1473
  msgid "Icon 3"
1474
  msgstr "アイコン 3"
1475
 
1476
- #: src/blocks/pr-blocks/block.js:348
1477
  msgid "When you have an image. Image is displayed with priority."
1478
  msgstr "画像を設定した場合は画像が優先して表示されます。"
1479
 
1480
- #: src/blocks/pr-blocks/block.js:350
1481
  msgid "PR Image 3"
1482
  msgstr "PR 画像 3"
1483
 
@@ -1525,14 +1527,16 @@ msgstr "レイアウトタイプ"
1525
  msgid "PR Content"
1526
  msgstr "PR Content"
1527
 
1528
- #: src/blocks/pr-content/component.js:200
 
1529
  #: src/blocks/pr-content/deprecated/component-deprecated.js:122
1530
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:136
1531
  #: src/blocks/pr-content/deprecated/componentV1.js:228
1532
  msgid "Input title."
1533
  msgstr "タイトルを入力してください。"
1534
 
1535
- #: src/blocks/pr-content/component.js:208
 
1536
  #: src/blocks/pr-content/deprecated/component-deprecated.js:130
1537
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:144
1538
  #: src/blocks/pr-content/deprecated/componentV1.js:236
36
  msgstr ""
37
 
38
  #: src/blocks/_helper/example-data.js:3
39
+ #: src/blocks/_pro/card-item/component.js:171
40
+ #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:158
41
  #: src/blocks/_pro/card-item/deprecated/index.js:1200
42
  msgid ""
43
  "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "
90
  msgid "Ex) fas fa-arrow-circle-right"
91
  msgstr "例) fas fa-arrow-circle-right"
92
 
93
+ #: src/blocks/_pro/animation/block.js:34
94
  msgid "Animation"
95
  msgstr "アニメーション"
96
 
97
+ #: src/blocks/_pro/animation/block.js:51
98
  msgid "Animation Settings"
99
  msgstr "アニメーション設定"
100
 
101
+ #: src/blocks/_pro/animation/block.js:52
102
  msgid "Animation effect"
103
  msgstr "アニメーションの効果"
104
 
105
+ #: src/blocks/_pro/animation/block.js:57
106
  msgid "Fade In"
107
  msgstr "フェードイン"
108
 
109
+ #: src/blocks/_pro/animation/block.js:58
110
  msgid "Slide Up"
111
  msgstr "スライドアップ"
112
 
113
+ #: src/blocks/_pro/animation/block.js:59
114
  msgid "Slide Left"
115
  msgstr "スライド左"
116
 
117
+ #: src/blocks/_pro/animation/block.js:60
118
  msgid "Slide Right"
119
  msgstr "スライド右"
120
 
121
+ #: src/blocks/_pro/animation/block.js:61
122
  msgid "Left Right"
123
  msgstr "左右"
124
 
125
+ #: src/blocks/_pro/animation/block.js:62
126
  msgid "Up Down"
127
  msgstr "上下"
128
 
129
+ #: src/blocks/_pro/animation/block.js:63
130
  msgid "Trembling Y"
131
  msgstr "ぶるぶる(Y方向)"
132
 
133
+ #: src/blocks/_pro/animation/block.js:64 src/blocks/balloon/block.js:230
134
  msgid "Trembling X"
135
  msgstr "ぶるぶる(X方向)"
136
 
137
+ #: src/blocks/_pro/animation/block.js:65 src/blocks/balloon/block.js:234
138
  msgid "Pounding"
139
  msgstr "どきどき"
140
 
141
+ #: src/blocks/_pro/animation/block.js:66 src/blocks/balloon/block.js:238
142
  msgid "Shaking"
143
  msgstr "ゆらゆら"
144
 
145
+ #: src/blocks/_pro/animation/block.js:69
146
  msgid "Animation speed"
147
  msgstr "アニメーションの速度"
148
 
149
+ #: src/blocks/_pro/animation/block.js:74
150
  msgid "Very Slow"
151
  msgstr "非常に遅い"
152
 
153
+ #: src/blocks/_pro/animation/block.js:75
154
  msgid "Slow"
155
  msgstr "遅い"
156
 
157
+ #: src/blocks/_pro/animation/block.js:77
158
  msgid "Fast"
159
  msgstr "速い"
160
 
161
+ #: src/blocks/_pro/animation/block.js:78
162
  msgid "Very Fast"
163
  msgstr "非常に速い"
164
 
165
+ #: src/blocks/_pro/animation/block.js:81
166
  msgid "Animation range"
167
  msgstr "アニメーションの距離"
168
 
169
+ #: src/blocks/_pro/animation/block.js:86
170
  msgid "Short"
171
  msgstr "短い"
172
 
173
+ #: src/blocks/_pro/animation/block.js:87 src/blocks/_pro/outer/block.js:181
174
+ #: src/blocks/_pro/slider/block.js:95 src/blocks/balloon/block.js:183
175
  #: src/blocks/button/block.js:169 src/blocks/faq/block.js:67
176
  #: src/blocks/faq2/block.js:57
177
  msgid "Normal"
178
  msgstr "標準"
179
 
180
+ #: src/blocks/_pro/animation/block.js:88
181
  msgid "Long"
182
  msgstr "長い"
183
 
193
  msgid "https://example.com"
194
  msgstr "https://example.com"
195
 
196
+ #: src/blocks/_pro/card-item/component.js:103
197
+ #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:91
198
  #: src/blocks/_pro/card-item/deprecated/index.js:1132
199
  #: src/blocks/balloon/block.js:259 src/blocks/flow/block.js:105
200
+ #: src/blocks/pr-blocks/block.js:169 src/blocks/pr-content/component.js:157
201
+ #: src/blocks/pr-content/deprecated/0.43.0/component.js:157
202
  #: src/blocks/pr-content/deprecated/component-deprecated.js:102
203
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:116
204
  #: src/blocks/pr-content/deprecated/componentV1.js:185
207
  msgid "Select image"
208
  msgstr "画像を選択"
209
 
210
+ #: src/blocks/_pro/card-item/component.js:116
211
+ #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:104
212
  #: src/blocks/_pro/card-item/deprecated/index.js:1145
213
  #: src/components/advanced-media-upload/index.js:32
214
  msgid "Delete Image"
215
  msgstr "画像を削除"
216
 
217
+ #: src/blocks/_pro/card-item/component.js:217
218
+ #: src/blocks/_pro/card-item/deprecated/0.20.2/component.js:200
219
  #: src/blocks/_pro/card-item/deprecated/index.js:1246
220
+ #: src/blocks/_pro/card/block.js:145 src/blocks/_pro/icon-card/block.js:107
221
  #: src/blocks/_pro/post-list/block.js:155
222
  msgid "Title"
223
  msgstr "タイトルを入力"
226
  msgid "Image Height"
227
  msgstr "画像高さ"
228
 
229
+ #: src/blocks/_pro/card/block.js:118 src/blocks/_pro/slider/block.js:113
230
  msgid "Slide Height for each device."
231
  msgstr "デバイス毎の高さ"
232
 
277
  msgid "Card"
278
  msgstr "カード"
279
 
280
+ #: src/blocks/_pro/child-page/block.js:101
281
+ #: src/blocks/_pro/post-list/block.js:108
282
+ msgid "Display conditions"
283
+ msgstr "表示条件"
284
+
285
+ #: src/blocks/_pro/child-page/block.js:104
286
+ msgid "Parent"
287
+ msgstr "親ページ"
288
+
289
+ #: src/blocks/_pro/child-page/block.js:115
290
  #: src/blocks/_pro/post-list/block.js:171
291
  msgid "Ignore this post"
292
  msgstr "表示中の投稿をリストから除外する"
295
  msgid "Child page list"
296
  msgstr "子ページリスト"
297
 
298
+ #: src/blocks/_pro/child-page/block.js:66
299
  msgid "Current page"
300
  msgstr "現在のページ"
301
 
 
 
 
 
 
 
 
 
 
302
  #: src/blocks/_pro/grid-column-item/block.js:20
303
  msgid "Grid Column Item"
304
  msgstr "グリッドカラムアイテム"
319
  msgid "PR Block Setting"
320
  msgstr "PR Block 設定"
321
 
322
+ #: src/blocks/_pro/icon-card-item/block.js:42 src/blocks/pr-blocks/block.js:307
323
  msgid "Link URL:"
324
  msgstr "リンクURL:"
325
 
326
  #: src/blocks/_pro/icon-card-item/block.js:49 src/blocks/button/block.js:148
327
+ #: src/blocks/pr-blocks/block.js:314 src/blocks/pr-content/block.js:140
328
  msgid "Open link new tab."
329
  msgstr "リンクを別ウィンドウで開く"
330
 
334
  msgid "Icon ( Font Awesome )"
335
  msgstr "アイコン ( Font Awesome )"
336
 
337
+ #: src/blocks/_pro/icon-card-item/block.js:75 src/blocks/pr-blocks/block.js:338
338
  msgid "Icon Background:"
339
  msgstr "アイコン背景:"
340
 
341
  #: src/blocks/_pro/icon-card-item/block.js:78 src/blocks/button/block.js:233
342
+ #: src/blocks/pr-blocks/block.js:341
343
  msgid "Solid color"
344
  msgstr "ベタ塗り"
345
 
346
  #: src/blocks/_pro/icon-card-item/block.js:79 src/blocks/button/block.js:241
347
+ #: src/blocks/pr-blocks/block.js:342
348
  msgid "No background"
349
  msgstr "背景なし"
350
 
351
+ #: src/blocks/_pro/icon-card-item/component.js:67
352
  #: src/blocks/_pro/icon-card-item/deprecated.js:129
353
  #: src/blocks/pr-blocks/component-block.js:183
354
  #: src/blocks/pr-blocks/deprecated/component-block.js:144
356
  msgid "Input Title"
357
  msgstr "タイトルを入力"
358
 
359
+ #: src/blocks/_pro/icon-card-item/component.js:88
360
  #: src/blocks/_pro/icon-card-item/deprecated.js:136
361
  #: src/blocks/pr-blocks/component-block.js:190
362
  #: src/blocks/pr-blocks/deprecated/component-block.js:151
364
  msgid "Input Content"
365
  msgstr "文章を入力してください"
366
 
367
+ #: src/blocks/_pro/icon-card/block.js:101
368
  msgid "Columns"
369
  msgstr "カラム"
370
 
371
+ #: src/blocks/_pro/icon-card/block.js:106
372
+ #: src/components/card-align-control/index.js:30
373
  msgid "Align"
374
  msgstr "表示位置"
375
 
376
+ #: src/blocks/_pro/icon-card/block.js:110
377
  msgid "Text"
378
  msgstr "テキスト"
379
 
380
+ #: src/blocks/_pro/icon-card/block.js:40
381
  msgid "Icon Card"
382
  msgstr "アイコンカード"
383
 
435
  msgid "Layout Setting"
436
  msgstr "レイアウト設定"
437
 
438
+ #: src/blocks/_pro/outer/block.js:172 src/blocks/_pro/slider/block.js:84
439
  msgid "Width"
440
  msgstr "幅"
441
 
442
+ #: src/blocks/_pro/outer/block.js:189 src/blocks/_pro/slider/block.js:103
443
  msgid "Full Wide"
444
  msgstr "全幅"
445
 
655
  msgid "Remove padding from the Slider area"
656
  msgstr "スライダーアイテムエリア内の余白を無くす"
657
 
658
+ #: src/blocks/_pro/slider/block.js:109
659
  msgid "Height"
660
  msgstr "高さ"
661
 
662
+ #: src/blocks/_pro/slider/block.js:118
663
  msgid "Slider Settings"
664
  msgstr "スライド設定"
665
 
666
+ #: src/blocks/_pro/slider/block.js:121
667
  msgid "Effect "
668
  msgstr "エフェクト"
669
 
670
+ #: src/blocks/_pro/slider/block.js:126
671
  msgid "Slide"
672
  msgstr "スライド"
673
 
674
+ #: src/blocks/_pro/slider/block.js:127
675
  msgid "Fade"
676
  msgstr "フェード"
677
 
678
+ #: src/blocks/_pro/slider/block.js:131
679
  msgid "Loop "
680
  msgstr "繰り返し"
681
 
682
+ #: src/blocks/_pro/slider/block.js:138
683
  msgid "AutoPlay"
684
  msgstr "自動再生"
685
 
686
+ #: src/blocks/_pro/slider/block.js:145
687
  msgid "Display Time"
688
  msgstr "表示時間"
689
 
690
+ #: src/blocks/_pro/slider/block.js:151
691
  msgid "Change Speed"
692
  msgstr "切り替え時間"
693
 
694
+ #: src/blocks/_pro/slider/block.js:158
695
  msgid "Display Pagination"
696
  msgstr "ページネーションの表示"
697
 
698
+ #: src/blocks/_pro/slider/block.js:49
699
  msgid "Slider"
700
  msgstr "スライダー"
701
 
702
+ #: src/blocks/_pro/slider/block.js:53
703
  msgid "Slider is do not move in edit screen."
704
  msgstr "スライダーは編集画面では動きません。公開画面でプレビューしてください。"
705
 
896
  msgstr "ぶるぶる"
897
 
898
  #: src/blocks/balloon/block.js:264 src/blocks/flow/block.js:106
899
+ #: src/blocks/pr-blocks/block.js:165 src/blocks/pr-content/component.js:164
900
+ #: src/blocks/pr-content/deprecated/0.43.0/component.js:164
901
  #: src/blocks/pr-content/deprecated/component-deprecated.js:106
902
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:120
903
  #: src/blocks/pr-content/deprecated/componentV1.js:192
1435
  msgid "List Icon Color"
1436
  msgstr "リストアイコンの色"
1437
 
1438
+ #: src/blocks/pr-blocks/block.js:101
1439
  msgid "PR Blocks"
1440
  msgstr "PR Blocks"
1441
 
1442
+ #: src/blocks/pr-blocks/block.js:180
1443
  msgid "PR Block1 Setting"
1444
  msgstr "PR Block1 設定"
1445
 
1446
+ #: src/blocks/pr-blocks/block.js:195
1447
  msgid "Icon 1"
1448
  msgstr "アイコン 1"
1449
 
1450
+ #: src/blocks/pr-blocks/block.js:225
1451
  msgid "When you have an image. Image is displayed with priority"
1452
  msgstr "画像を設定した場合は画像が優先して表示されます。"
1453
 
1454
+ #: src/blocks/pr-blocks/block.js:227
1455
  msgid "PR Image 1"
1456
  msgstr "PR 画像 1"
1457
 
1458
+ #: src/blocks/pr-blocks/block.js:243
1459
  msgid "PR Block2 Setting"
1460
  msgstr "PR Block2 設定"
1461
 
1462
+ #: src/blocks/pr-blocks/block.js:258
1463
  msgid "Icon 2"
1464
  msgstr "アイコン 2"
1465
 
1466
+ #: src/blocks/pr-blocks/block.js:289
1467
  msgid "PR Image 2"
1468
  msgstr "PR 画像 2"
1469
 
1470
+ #: src/blocks/pr-blocks/block.js:305
1471
  msgid "PR Block3 Setting"
1472
  msgstr "PR Block3 設定"
1473
 
1474
+ #: src/blocks/pr-blocks/block.js:320
1475
  msgid "Icon 3"
1476
  msgstr "アイコン 3"
1477
 
1478
+ #: src/blocks/pr-blocks/block.js:349
1479
  msgid "When you have an image. Image is displayed with priority."
1480
  msgstr "画像を設定した場合は画像が優先して表示されます。"
1481
 
1482
+ #: src/blocks/pr-blocks/block.js:351
1483
  msgid "PR Image 3"
1484
  msgstr "PR 画像 3"
1485
 
1527
  msgid "PR Content"
1528
  msgstr "PR Content"
1529
 
1530
+ #: src/blocks/pr-content/component.js:198
1531
+ #: src/blocks/pr-content/deprecated/0.43.0/component.js:200
1532
  #: src/blocks/pr-content/deprecated/component-deprecated.js:122
1533
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:136
1534
  #: src/blocks/pr-content/deprecated/componentV1.js:228
1535
  msgid "Input title."
1536
  msgstr "タイトルを入力してください。"
1537
 
1538
+ #: src/blocks/pr-content/component.js:206
1539
+ #: src/blocks/pr-content/deprecated/0.43.0/component.js:208
1540
  #: src/blocks/pr-content/deprecated/component-deprecated.js:130
1541
  #: src/blocks/pr-content/deprecated/component-no-boder-color.js:144
1542
  #: src/blocks/pr-content/deprecated/componentV1.js:236
inc/vk-blocks/build/vk-components.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.vk_posts .vk_post-col-xs-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xs-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xs-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xs-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xs-12{width:calc(100% - 30px)}@media (min-width:576px){.vk_posts .vk_post-col-sm-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-sm-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-sm-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-sm-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-sm-12{width:calc(100% - 30px)}}@media (min-width:768px){.vk_posts .vk_post-col-md-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-md-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-md-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-md-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-md-12{width:calc(100% - 30px)}}@media (min-width:992px){.vk_posts .vk_post-col-lg-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-lg-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-lg-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-lg-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-lg-12{width:calc(100% - 30px)}}@media (min-width:1200px){.vk_posts .vk_post-col-xl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xl-12{width:calc(100% - 30px)}}@media (min-width:1400px){.vk_posts .vk_post-col-xxl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xxl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xxl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xxl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xxl-12{width:calc(100% - 30px)}}.vk_posts{margin-left:-15px;margin-right:-15px;display:flex;flex-wrap:wrap;clear:both}.vk_post{margin-left:15px;margin-right:15px}.vk_post a:hover{text-decoration:none}.vk_post_imgOuter{position:relative}.vk_post_imgOuter a{display:block;overflow:hidden}.vk_post_imgOuter_singleTermLabel{font-size:10px;padding:.3em .8em;position:absolute;right:0;top:0;z-index:100}.vk_post .vk_post_title{font-size:14px;line-height:1.4;font-weight:700;margin-bottom:0}.vk_post .vk_post_title a{color:#333}.vk_post_title_new{margin-left:.4em;font-size:.8em;white-space:nowrap;color:red}.vk_post .vk_post_excerpt{margin-top:.8em;font-size:12px;line-height:1.6;opacity:.8}.vk_post .vk_post_date{font-size:11px;margin-top:.5em;color:#666}.vk_post .vk_post_btn{font-size:12px;text-decoration:none}.vk_post_imgOuter{position:relative;background-size:cover;background-position:center 50%;border-bottom:1px solid #e5e5e5}.vk_post_imgOuter>a::after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,0);transition-duration:.3s}.vk_post_imgOuter a:hover .card-img-overlay::after{background:rgba(0,0,0,.5)}.vk_post_imgOuter a{height:100%}.vk_post_imgOuter_img{position:absolute;left:-9999px}.vk_post .vk_post_imgOuter:before{content:"";display:block;padding-top:62%}.vk_post.card-horizontal .vk_post_imgOuter{height:100%;border-bottom:none;border-right:1px solid #e5e5e5}.vk_post.card-horizontal .vk_post_imgOuter:before{padding-top:0}.vk_post.card-horizontal.card-horizontal-reverse .vk_post_imgOuter{border-right:none;border-left:1px solid #e5e5e5}.vk_post-btn-display .vk_post_body{position:relative;height:100%}.vk_post-btn-display .vk_post_btnOuter{margin-top:1em;position:absolute;bottom:0}.vk_post-btn-display.media .vk_post_body{padding-bottom:45px}.vk_post-btn-display.media .vk_post_btnOuter{width:100%}.vk_post-btn-display.card .vk_post_body{padding-bottom:65px}.vk_post-btn-display.card .vk_post_btnOuter{width:calc(100% - 2.5rem);bottom:1.25rem}.vk_post-btn-display .card-text:nth-last-child(2){margin-bottom:0}@media (min-width:576px){.mainSection .vk_post-col-sm-12 .vk_post_title{font-size:16px}.mainSection .vk_post-col-sm-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-sm-12.media{padding:1.5rem 0}.mainSection .vk_post-col-sm-12.media:first-child{border-top:1px solid #e5e5e5}.mainSection .vk_post-col-sm-12.media .media-img{margin-right:1.4rem}}@media (min-width:768px){.mainSection .vk_post-col-md-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-md-12 .vk_post_excerpt{font-size:14px}}@media (min-width:992px){.mainSection .vk_post-col-lg-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-lg-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-lg-12.media{padding:1.8rem 0}.mainSection .vk_post-col-lg-12.media .media-img{margin-right:1.8rem}}@media (min-width:1200px){.mainSection .vk_post-col-xl-12 .vk_post_title{font-size:21px}.mainSection .vk_post-col-xl-12 .vk_post_excerpt{font-size:14px}}@media (min-width:1400px){.mainSection .vk_post-col-xxl-12 .vk_post_title{font-size:26px}.mainSection .vk_post-col-xxl-12 .vk_post_excerpt{font-size:14px}}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_title{font-size:1rem}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_excerpt{font-size:12px}.vk_post.card{padding:0;margin-bottom:30px;box-sizing:border-box;max-width:100%}.vk_post.card .vk_post_btnOuter{width:calc(100% - 2.5rem)}.card{overflow:hidden;box-shadow:none}.card-meta{font-size:12px}.card-img-use-bg{position:relative;left:-9999px}.card a{color:inherit}.card a.btn-primary{color:#fff}.card-noborder.card{border:none;background:0 0}.card-noborder .vk_post_imgOuter{border:none}.card-noborder .card-body{padding-left:0;padding-right:0}.card-noborder.vk_post-btn-display .card-body{padding-bottom:2.8rem}.card-noborder.vk_post-btn-display .vk_post_btnOuter{width:100%;bottom:0}.card-imageRound .vk_post_imgOuter{margin-left:auto;margin-right:auto;width:150px;height:150px;border-radius:50%;background-position:center center}.card-imageRound .vk_post_imgOuter::before{padding-top:150px}.card-imageRound .card-img-overlay::after{border-radius:50%}@media (max-width:575.98px){.card.vk_post-col-xs-12{margin-bottom:20px}}@media (min-width:576px) and (max-width:767.98px){.card.vk_post-col-sm-12{margin-bottom:20px}}@media (min-width:768px) and (max-width:991.98px){.card.vk_post-col-md-12{margin-bottom:20px}}@media (min-width:992px) and (max-width:1199.98px){.card.vk_post-col-lg-12{margin-bottom:20px}}@media (min-width:1200px){.card.vk_post-col-xl-12{margin-bottom:20px}}@media (min-width:1400px){.card.vk_post-col-xxl-12{margin-bottom:20px}}@media (max-width:575.98px){.card-horizontal.vk_post-col-xs-12{margin-bottom:15px}}@media (min-width:576px) and (max-width:767.98px){.card-horizontal.vk_post-col-sm-12{margin-bottom:15px}}@media (min-width:768px) and (max-width:991.98px){.card-horizontal.vk_post-col-md-12{margin-bottom:15px}}@media (min-width:992px) and (max-width:1199.98px){.card-horizontal.vk_post-col-lg-12{margin-bottom:15px}}@media (min-width:1200px){.card-horizontal.vk_post-col-xl-12{margin-bottom:15px}}@media (min-width:1400px){.card-horizontal.vk_post-col-xxl-12{margin-bottom:15px}}@media (max-width:575.98px){.card-imageRound.vk_post-col-xs-12,.card-noborder.vk_post-col-xs-12{margin-bottom:40px}}@media (min-width:576px) and (max-width:767.98px){.card-imageRound.vk_post-col-sm-12,.card-noborder.vk_post-col-sm-12{margin-bottom:40px}}@media (min-width:768px) and (max-width:991.98px){.card-imageRound.vk_post-col-md-12,.card-noborder.vk_post-col-md-12{margin-bottom:40px}}@media (min-width:992px) and (max-width:1199.98px){.card-imageRound.vk_post-col-lg-12,.card-noborder.vk_post-col-lg-12{margin-bottom:40px}}@media (min-width:1200px){.card-imageRound.vk_post-col-xl-12,.card-noborder.vk_post-col-xl-12{margin-bottom:40px}}@media (min-width:1400px){.card-imageRound.vk_post-col-xxl-12,.card-noborder.vk_post-col-xxl-12{margin-bottom:40px}}.card-horizontal-inner{height:100%}.card-horizontal-inner::after{content:"";display:block;clear:both}.card-horizontal-inner-row{height:100%}.card-horizontal-img-right-row{flex-direction:row-reverse}.card-horizontal-reverse .row{flex-direction:row-reverse}.card-horizontal .card-body{height:100%}.card-sm .card-body{padding:1rem 1.2rem}.card-sm .card-title{font-size:.8rem}.card-sm .card-text{font-size:.8rem;line-height:1.4}.card-sm .card-meta{font-size:.7rem;line-height:1.1}.card-post .card-body{padding-bottom:1.5em}.vk_post.media{width:100%;padding:1em 0;margin:0 15px;border-bottom:1px solid #e5e5e5}.media:first-child{border-top:1px solid #e5e5e5}.media-img{border:1px solid #e5e5e5;padding:1px;margin-right:1rem}.vk_post .media-img{width:35%}.vk_post .media-body{width:65%}.media.vk_post-col-xs-6:first-child,.media.vk_post-col-xs-6:nth-child(2){border-top:1px solid #e5e5e5}@media (min-width:576px) and (max-width:767.98px){.media.vk_post-col-sm-3:nth-child(2),.media.vk_post-col-sm-3:nth-child(3),.media.vk_post-col-sm-3:nth-child(4),.media.vk_post-col-sm-4:nth-child(2),.media.vk_post-col-sm-4:nth-child(3),.media.vk_post-col-sm-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:768px) and (max-width:991.98px){.media.vk_post-col-md-3:nth-child(2),.media.vk_post-col-md-3:nth-child(3),.media.vk_post-col-md-3:nth-child(4),.media.vk_post-col-md-4:nth-child(2),.media.vk_post-col-md-4:nth-child(3),.media.vk_post-col-md-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:992px) and (max-width:1199.98px){.media.vk_post-col-lg-3:nth-child(2),.media.vk_post-col-lg-3:nth-child(3),.media.vk_post-col-lg-3:nth-child(4),.media.vk_post-col-lg-4:nth-child(2),.media.vk_post-col-lg-4:nth-child(3),.media.vk_post-col-lg-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1200px){.media.vk_post-col-xl-3:nth-child(2),.media.vk_post-col-xl-3:nth-child(3),.media.vk_post-col-xl-3:nth-child(4),.media.vk_post-col-xl-4:nth-child(2),.media.vk_post-col-xl-4:nth-child(3),.media.vk_post-col-xl-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1400px){.media.vk_post-col-xxl-3:nth-child(2),.media.vk_post-col-xxl-3:nth-child(3),.media.vk_post-col-xxl-3:nth-child(4),.media.vk_post-col-xxl-4:nth-child(2),.media.vk_post-col-xxl-4:nth-child(3),.media.vk_post-col-xxl-6:nth-child(2){border-top:1px solid #e5e5e5}}.media{border-bottom:1px solid #e5e5e5;padding:1rem 0;margin-top:0}.media>div{width:100%}.media .postList_thumbnail{width:160px;margin-bottom:.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.media .postList_thumbnail img{width:100%;height:auto;border:1px solid #fff}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:20px;line-height:1.4em;margin-top:0;margin-bottom:.4em;font-weight:400;background:0 0;box-shadow:none;padding:0}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0;font-size:14px;line-height:150%}.media .entry-meta_updated{display:none}.media .entry-meta_items_author{display:none}.media a.media-body_excerpt{color:#464646;display:block;overflow:hidden}@media (max-width:767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:.5em}}@media (max-width:500px){.media .postList_thumbnail{width:100px}}.vk_posts-layout-postListText{margin-bottom:.8rem}.postListText{padding:.8rem 0 .7rem;border-bottom:1px dotted #ccc;display:block;overflow:hidden;width:100%}.postListText_date{font-size:1rem;white-space:nowrap;font-size:14px;display:block;float:left;min-width:115px;margin-right:1em}.postListText_singleTermLabel{padding:0;display:block;float:left;min-width:150px;margin-right:1em;margin-top:2px}.postListText_singleTermLabel_inner{display:block;overflow:hidden;font-size:12px;white-space:nowrap;padding:0 1rem;line-height:16px;border-radius:2px;text-align:center}.postListText_title{font-size:14px;display:block;overflow:hidden;margin:0;padding-top:.2rem;clear:both}@media (min-width:992px){.postListText_title{padding-top:0;clear:none}}.postListText_title a{color:var(--text-color)}.postListText_title a:hover{text-decoration:underline}.vk_posts .postListText_title{line-height:1.6}@media (min-width:576px){.mainSection .postListText.vk_post-col-sm-12 .vk_post_title{font-size:16px;font-weight:400}}
1
+ @charset "UTF-8";.vk_posts .vk_post-col-xs-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xs-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xs-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xs-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xs-12{width:calc(100% - 30px)}@media (min-width:576px){.vk_posts .vk_post-col-sm-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-sm-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-sm-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-sm-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-sm-12{width:calc(100% - 30px)}}@media (min-width:768px){.vk_posts .vk_post-col-md-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-md-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-md-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-md-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-md-12{width:calc(100% - 30px)}}@media (min-width:992px){.vk_posts .vk_post-col-lg-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-lg-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-lg-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-lg-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-lg-12{width:calc(100% - 30px)}}@media (min-width:1200px){.vk_posts .vk_post-col-xl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xl-12{width:calc(100% - 30px)}}@media (min-width:1400px){.vk_posts .vk_post-col-xxl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xxl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xxl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xxl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xxl-12{width:calc(100% - 30px)}}.vk_posts{margin-left:-15px;margin-right:-15px;display:flex;flex-wrap:wrap;clear:both}.vk_post{margin-left:15px;margin-right:15px}.vk_post a:hover{text-decoration:none}.vk_post_imgOuter{position:relative}.vk_post_imgOuter a{display:block;overflow:hidden}.vk_post_imgOuter_singleTermLabel{font-size:10px;padding:.3em .8em;position:absolute;right:0;top:0;z-index:100}.vk_post .vk_post_title{font-size:14px;line-height:1.4;font-weight:700;margin-bottom:0}.vk_post .vk_post_title a{color:#333}.vk_post_title_new{margin-left:.4em;font-size:.8em;white-space:nowrap;color:red}.vk_post .vk_post_excerpt{margin-top:.8em;font-size:12px;line-height:1.6;opacity:.8}.vk_post .vk_post_date{font-size:11px;margin-top:.5em;color:#666}.vk_post .vk_post_btn{font-size:12px;text-decoration:none}.vk_post_imgOuter{position:relative;background-size:cover;background-position:center 50%;border-bottom:1px solid #e5e5e5}.vk_post_imgOuter>a::after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,0);transition-duration:.3s}.vk_post_imgOuter a:hover .card-img-overlay::after{background:rgba(0,0,0,.5)}.vk_post_imgOuter a{height:100%}.vk_post_imgOuter_img{position:absolute;left:-9999px}.vk_post .vk_post_imgOuter:before{content:"";display:block;padding-top:62%}.vk_post.card-horizontal .vk_post_imgOuter{height:100%;border-bottom:none;border-right:1px solid #e5e5e5}.vk_post.card-horizontal .vk_post_imgOuter:before{padding-top:0}.vk_post.card-horizontal.card-horizontal-reverse .vk_post_imgOuter{border-right:none;border-left:1px solid #e5e5e5}.vk_post-btn-display .vk_post_body{position:relative;height:100%}.vk_post-btn-display .vk_post_btnOuter{margin-top:1em;position:absolute;bottom:0}.vk_post-btn-display.media .vk_post_body{padding-bottom:45px}.vk_post-btn-display.media .vk_post_btnOuter{width:100%}.vk_post-btn-display.card .vk_post_body{padding-bottom:65px}.vk_post-btn-display.card .vk_post_btnOuter{width:calc(100% - 2.5rem);bottom:1.25rem}.vk_post-btn-display .card-text:nth-last-child(2){margin-bottom:0}@media (min-width:576px){.mainSection .vk_post-col-sm-12 .vk_post_title{font-size:16px}.mainSection .vk_post-col-sm-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-sm-12.media{padding:1.5rem 0}.mainSection .vk_post-col-sm-12.media:first-child{border-top:1px solid #e5e5e5}.mainSection .vk_post-col-sm-12.media .media-img{margin-right:1.4rem}}@media (min-width:768px){.mainSection .vk_post-col-md-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-md-12 .vk_post_excerpt{font-size:14px}}@media (min-width:992px){.mainSection .vk_post-col-lg-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-lg-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-lg-12.media{padding:1.8rem 0}.mainSection .vk_post-col-lg-12.media .media-img{margin-right:1.8rem}}@media (min-width:1200px){.mainSection .vk_post-col-xl-12 .vk_post_title{font-size:21px}.mainSection .vk_post-col-xl-12 .vk_post_excerpt{font-size:14px}}@media (min-width:1400px){.mainSection .vk_post-col-xxl-12 .vk_post_title{font-size:26px}.mainSection .vk_post-col-xxl-12 .vk_post_excerpt{font-size:14px}}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_title{font-size:1rem}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_excerpt{font-size:12px}.vk_post.card{padding:0;margin-bottom:30px;box-sizing:border-box;max-width:100%}.vk_post.card .vk_post_btnOuter{width:calc(100% - 2.5rem)}.card{overflow:hidden;box-shadow:none}.card-meta{font-size:12px}.card-img-use-bg{position:relative;left:-9999px}.card a{color:inherit}.card a.btn-primary{color:#fff}.card-noborder.card{border:none;background:0 0}.card-noborder .vk_post_imgOuter{border:none}.card-noborder .card-body{padding-left:0;padding-right:0}.card-noborder.vk_post-btn-display .card-body{padding-bottom:2.8rem}.card-noborder.vk_post-btn-display .vk_post_btnOuter{width:100%;bottom:0}.card-imageRound .vk_post_imgOuter{margin-left:auto;margin-right:auto;width:150px;height:150px;border-radius:50%;background-position:center center}.card-imageRound .vk_post_imgOuter::before{padding-top:150px}.card-imageRound .card-img-overlay::after{border-radius:50%}@media (max-width:575.98px){.card.vk_post-col-xs-12{margin-bottom:20px}}@media (min-width:576px) and (max-width:767.98px){.card.vk_post-col-sm-12{margin-bottom:20px}}@media (min-width:768px) and (max-width:991.98px){.card.vk_post-col-md-12{margin-bottom:20px}}@media (min-width:992px) and (max-width:1199.98px){.card.vk_post-col-lg-12{margin-bottom:20px}}@media (min-width:1200px){.card.vk_post-col-xl-12{margin-bottom:20px}}@media (min-width:1400px){.card.vk_post-col-xxl-12{margin-bottom:20px}}@media (max-width:575.98px){.card-horizontal.vk_post-col-xs-12{margin-bottom:15px}}@media (min-width:576px) and (max-width:767.98px){.card-horizontal.vk_post-col-sm-12{margin-bottom:15px}}@media (min-width:768px) and (max-width:991.98px){.card-horizontal.vk_post-col-md-12{margin-bottom:15px}}@media (min-width:992px) and (max-width:1199.98px){.card-horizontal.vk_post-col-lg-12{margin-bottom:15px}}@media (min-width:1200px){.card-horizontal.vk_post-col-xl-12{margin-bottom:15px}}@media (min-width:1400px){.card-horizontal.vk_post-col-xxl-12{margin-bottom:15px}}@media (max-width:575.98px){.card-imageRound.vk_post-col-xs-12,.card-noborder.vk_post-col-xs-12{margin-bottom:40px}}@media (min-width:576px) and (max-width:767.98px){.card-imageRound.vk_post-col-sm-12,.card-noborder.vk_post-col-sm-12{margin-bottom:40px}}@media (min-width:768px) and (max-width:991.98px){.card-imageRound.vk_post-col-md-12,.card-noborder.vk_post-col-md-12{margin-bottom:40px}}@media (min-width:992px) and (max-width:1199.98px){.card-imageRound.vk_post-col-lg-12,.card-noborder.vk_post-col-lg-12{margin-bottom:40px}}@media (min-width:1200px){.card-imageRound.vk_post-col-xl-12,.card-noborder.vk_post-col-xl-12{margin-bottom:40px}}@media (min-width:1400px){.card-imageRound.vk_post-col-xxl-12,.card-noborder.vk_post-col-xxl-12{margin-bottom:40px}}.card-horizontal-inner{height:100%}.card-horizontal-inner::after{content:"";display:block;clear:both}.card-horizontal-inner-row{height:100%}.card-horizontal-img-right-row{flex-direction:row-reverse}.card-horizontal-reverse .row{flex-direction:row-reverse}.card-horizontal .card-body{height:100%}.card-sm .card-body{padding:1rem 1.2rem}.card-sm .card-title{font-size:.8rem}.card-sm .card-text{font-size:.8rem;line-height:1.4}.card-sm .card-meta{font-size:.7rem;line-height:1.1}.card-post .card-body{padding-bottom:1.5em}.vk_post.media{width:100%;padding:1em 0;margin:0 15px;border-bottom:1px solid #e5e5e5}.media:first-child{border-top:1px solid #e5e5e5}.media-img{border:1px solid #e5e5e5;padding:1px;margin-right:1rem}.vk_post .media-img{width:35%}.vk_post .media-body{width:65%}.media.vk_post{border-top:1px solid #e5e5e5}@media (max-width:575.98px){.media.vk_post-col-xs-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:576px) and (max-width:767.98px){.media.vk_post-col-sm-3:nth-child(2),.media.vk_post-col-sm-3:nth-child(3),.media.vk_post-col-sm-3:nth-child(4),.media.vk_post-col-sm-4:nth-child(2),.media.vk_post-col-sm-4:nth-child(3),.media.vk_post-col-sm-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:768px) and (max-width:991.98px){.media.vk_post-col-md-3:nth-child(2),.media.vk_post-col-md-3:nth-child(3),.media.vk_post-col-md-3:nth-child(4),.media.vk_post-col-md-4:nth-child(2),.media.vk_post-col-md-4:nth-child(3),.media.vk_post-col-md-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:992px) and (max-width:1199.98px){.media.vk_post-col-lg-3:nth-child(2),.media.vk_post-col-lg-3:nth-child(3),.media.vk_post-col-lg-3:nth-child(4),.media.vk_post-col-lg-4:nth-child(2),.media.vk_post-col-lg-4:nth-child(3),.media.vk_post-col-lg-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1200px){.media.vk_post-col-xl-3:nth-child(2),.media.vk_post-col-xl-3:nth-child(3),.media.vk_post-col-xl-3:nth-child(4),.media.vk_post-col-xl-4:nth-child(2),.media.vk_post-col-xl-4:nth-child(3),.media.vk_post-col-xl-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1400px){.media.vk_post-col-xxl-3:nth-child(2),.media.vk_post-col-xxl-3:nth-child(3),.media.vk_post-col-xxl-3:nth-child(4),.media.vk_post-col-xxl-4:nth-child(2),.media.vk_post-col-xxl-4:nth-child(3),.media.vk_post-col-xxl-6:nth-child(2){border-top:1px solid #e5e5e5}}.media{border-bottom:1px solid #e5e5e5;padding:1rem 0;margin-top:0}.media>div{width:100%}.media .postList_thumbnail{width:160px;margin-bottom:.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.media .postList_thumbnail img{width:100%;height:auto;border:1px solid #fff}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:20px;line-height:1.4em;margin-top:0;margin-bottom:.4em;font-weight:400;background:0 0;box-shadow:none;padding:0}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0;font-size:14px;line-height:150%}.media .entry-meta_updated{display:none}.media .entry-meta_items_author{display:none}.media a.media-body_excerpt{color:#464646;display:block;overflow:hidden}@media (max-width:767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:.5em}}@media (max-width:500px){.media .postList_thumbnail{width:100px}}.vk_posts-layout-postListText{margin-bottom:.8rem}.postListText{padding:.8rem 0 .7rem;border-bottom:1px dotted #ccc;display:block;overflow:hidden;width:100%}.postListText_date{font-size:1rem;white-space:nowrap;font-size:14px;display:block;float:left;min-width:115px;margin-right:1em}.postListText_singleTermLabel{padding:0;display:block;float:left;min-width:150px;margin-right:1em;margin-top:2px}.postListText_singleTermLabel_inner{display:block;overflow:hidden;font-size:12px;white-space:nowrap;padding:0 1rem;line-height:16px;border-radius:2px;text-align:center}.postListText_title{font-size:14px;display:block;overflow:hidden;margin:0;padding-top:.2rem;clear:both}@media (min-width:992px){.postListText_title{padding-top:0;clear:none}}.postListText_title a{color:var(--text-color)}.postListText_title a:hover{text-decoration:underline}.vk_posts .postListText_title{line-height:1.6}@media (min-width:576px){.mainSection .postListText.vk_post-col-sm-12 .vk_post_title{font-size:16px;font-weight:400}}
inc/vk-blocks/helpers.php CHANGED
@@ -1,4 +1,9 @@
1
  <?php
 
 
 
 
 
2
  function vkblocks_is_lightning() {
3
 
4
  // テーマがLightning系の場合読み込まない
@@ -30,3 +35,105 @@ function vkblocks_sanitize_checkbox( $checked ) {
30
  return false;
31
  }
32
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ exit;
5
+ }
6
+
7
  function vkblocks_is_lightning() {
8
 
9
  // テーマがLightning系の場合読み込まない
35
  return false;
36
  }
37
  }
38
+
39
+ if ( ! function_exists( 'vkblocks_allow_wp_kses_allowed_html' ) ) {
40
+
41
+ /**
42
+ * Fix block saving for Non-Super-Admins (no unfiltered_html capability).
43
+ * For Non-Super-Admins, some styles & HTML tags/attributes are removed upon saving,
44
+ * this allows vkblocks HTML tags & attributes from being saved.
45
+ *
46
+ * For every vkblocks block, add the HTML tags and attributes used here.
47
+ *
48
+ * @see The list of tags & attributes currently allowed: https://core.trac.wordpress.org/browser/tags/5.2/src/wp-includes/kses.php#L61
49
+ *
50
+ * @param array $tags Allowed HTML tags & attributes.
51
+ * @param string $context The context wherein the HTML is being filtered.
52
+ *
53
+ * @return array Modified HTML tags & attributes.
54
+ */
55
+ function vkblocks_allow_wp_kses_allowed_html( $tags, $context ) {
56
+ // Used by Card, Outer Blocks.
57
+ $tags['style'] = array(
58
+ 'type' => true,
59
+ );
60
+
61
+ // Used by Table of Contents Blocks.
62
+ $tags['input'] = array(
63
+ 'type' => true,
64
+ 'id' => true,
65
+ );
66
+
67
+ // Used by OuterBlock
68
+ $tags['svg'] = array(
69
+ 'viewbox' => true,
70
+ 'xmlns' => true,
71
+ 'preserveaspectratio' => true,
72
+ );
73
+ $tags['path'] = array(
74
+ 'fill' => true,
75
+ 'd' => true,
76
+ 'strokewidth' => true,
77
+ );
78
+
79
+ return $tags;
80
+ }
81
+
82
+ add_filter( 'wp_kses_allowed_html', 'vkblocks_allow_wp_kses_allowed_html', 10, 2 );
83
+ }
84
+
85
+ if ( ! function_exists( 'vkblocks_fix_gt_style_errors' ) ) {
86
+
87
+ /**
88
+ * Fix block saving for Non-Super-Admins (no unfiltered_html capability).
89
+ * For Non-Super-Admins, style tags with the ">" symbol are replaced with
90
+ * "&gt;", ">" is used across a lot of vkblocks block styles. When these
91
+ * are replaced, the blocks may show an error, and the blocks styles will
92
+ * not take effect in the frontend.
93
+ *
94
+ * This function checks the page content for vkblocks blocks that use the
95
+ * "&gt;" in styles, then replaces them with the correct ">" symbol.
96
+ *
97
+ * We do the replacement upon post saving and not on `render_block` so that
98
+ * we don't need to do any processing for the frontend.
99
+ *
100
+ * @see Issue: https://core.trac.wordpress.org/ticket/48873#ticket
101
+ * @see https://github.com/gambitph/vkblocks/issues/510
102
+ *
103
+ * @param array $data Post data
104
+ *
105
+ * @return array Post data to save
106
+ */
107
+ function vkblocks_fix_gt_style_errors( $data ) {
108
+ if ( empty( $data['post_content'] ) ) {
109
+ return $data;
110
+ }
111
+
112
+ // Check whether there are any "&gt;" symbols inside <style> tags of
113
+ // vkblocks blocks.
114
+ if ( ! preg_match( '%wp:vk-blocks/\w+(.*)?<style>(.*)?&gt;%s', $data['post_content'] ) || ! preg_match( '%wp:vk-blocks/\w+(.*)?<style type="text/css">(.*)?&gt;%s', $data['post_content'] ) ) {
115
+ return $data;
116
+ }
117
+
118
+ // Go through each block's "&gt;" and replace them with ">", only do
119
+ // this for vkblocks blocks.
120
+ $data['post_content'] = preg_replace_callback( '%wp:vk-blocks/\w+(.*)?/wp:vk-blocks/\w+%s', function( $matches ) {
121
+
122
+ // Replace <style type="text/css">
123
+ return preg_replace_callback( '%<style type="text/css">(.*)?</style>%s', function( $matches ) {
124
+ return '<style type="text/css">' . preg_replace( '%&gt;%', '>', $matches[1] ) . '</style>';
125
+ }, $matches[0] );
126
+
127
+ // // Replace <style>
128
+ return preg_replace_callback( '%<style>(.*)?</style>%s', function( $matches ) {
129
+ return '<style>' . preg_replace( '%&gt;%', '>', $matches[1] ) . '</style>';
130
+ }, $matches[0] );
131
+
132
+ return $content;
133
+ }, $data['post_content'] );
134
+
135
+ return $data;
136
+ }
137
+
138
+ add_filter( 'wp_insert_post_data' , 'vkblocks_fix_gt_style_errors' , 99, 1 );
139
+ }
inc/vk-components/package/_scss/_vk-post-type-media.scss CHANGED
@@ -43,10 +43,14 @@ https://github.com/vektor-inc/vektor-wp-libraries
43
  }
44
  }
45
  /* border-top control */
 
 
 
46
  .media.vk_post-col {
47
- &-xs-6:first-child,
48
- &-xs-6:nth-child(2) {
49
- border-top: $border_primary;
 
50
  }
51
  @media (min-width: $sm-min) and (max-width: $sm-max) {
52
  &-sm-6:nth-child(2),
43
  }
44
  }
45
  /* border-top control */
46
+ .media.vk_post {
47
+ border-top: $border_primary;
48
+ }
49
  .media.vk_post-col {
50
+ @media (max-width: $xs-max) {
51
+ &-xs-6:nth-child(2) {
52
+ border-top: $border_primary;
53
+ }
54
  }
55
  @media (min-width: $sm-min) and (max-width: $sm-max) {
56
  &-sm-6:nth-child(2),
inc/vk-components/package/css/vk-components.css CHANGED
@@ -1 +1 @@
1
- .vk_posts .vk_post-col-xs-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xs-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xs-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xs-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xs-12{width:calc(100% - 30px)}.vk_posts{margin-left:-15px;margin-right:-15px;display:flex;flex-wrap:wrap;clear:both}.vk_post{margin-left:15px;margin-right:15px}.vk_post a:hover{text-decoration:none}.vk_post_imgOuter{position:relative}.vk_post_imgOuter a{display:block;overflow:hidden}.vk_post_imgOuter_singleTermLabel{font-size:10px;padding:.3em .8em;position:absolute;right:0;top:0;z-index:100}.vk_post .vk_post_title{font-size:14px;line-height:1.4;font-weight:700;margin-bottom:0}.vk_post .vk_post_title a{color:#333}.vk_post_title_new{margin-left:.4em;font-size:.8em;white-space:nowrap;color:red}.vk_post .vk_post_excerpt{margin-top:.8em;font-size:12px;line-height:1.6;opacity:.8}.vk_post .vk_post_date{font-size:11px;margin-top:.5em;color:#666}.vk_post .vk_post_btn{font-size:12px;text-decoration:none}.vk_post_imgOuter{position:relative;background-size:cover;background-position:center 50%;border-bottom:1px solid #e5e5e5}.vk_post_imgOuter>a::after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,0);transition-duration:.3s}.vk_post_imgOuter a:hover .card-img-overlay::after{background:rgba(0,0,0,.5)}.vk_post_imgOuter a{height:100%}.vk_post_imgOuter_img{position:absolute;left:-9999px}.vk_post .vk_post_imgOuter:before{content:"";display:block;padding-top:62%}.vk_post.card-horizontal .vk_post_imgOuter{height:100%;border-bottom:none;border-right:1px solid #e5e5e5}.vk_post.card-horizontal .vk_post_imgOuter:before{padding-top:0}.vk_post.card-horizontal.card-horizontal-reverse .vk_post_imgOuter{border-right:none;border-left:1px solid #e5e5e5}.vk_post-btn-display .vk_post_body{position:relative;height:100%}.vk_post-btn-display .vk_post_btnOuter{margin-top:1em;position:absolute;bottom:0}.vk_post-btn-display.media .vk_post_body{padding-bottom:45px}.vk_post-btn-display.media .vk_post_btnOuter{width:100%}.vk_post-btn-display.card .vk_post_body{padding-bottom:65px}.vk_post-btn-display.card .vk_post_btnOuter{width:calc(100% - 2.5rem);bottom:1.25rem}.vk_post-btn-display .card-text:nth-last-child(2){margin-bottom:0}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_title{font-size:1rem}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_excerpt{font-size:12px}.vk_post.card{padding:0;margin-bottom:30px;box-sizing:border-box;max-width:100%}.vk_post.card .vk_post_btnOuter{width:calc(100% - 2.5rem)}.card{overflow:hidden;box-shadow:none}.card-meta{font-size:12px}.card-img-use-bg{position:relative;left:-9999px}.card a{color:inherit}.card a.btn-primary{color:#fff}.card-noborder.card{border:none;background:0 0}.card-noborder .vk_post_imgOuter{border:none}.card-noborder .card-body{padding-left:0;padding-right:0}.card-noborder.vk_post-btn-display .card-body{padding-bottom:2.8rem}.card-noborder.vk_post-btn-display .vk_post_btnOuter{width:100%;bottom:0}.card-imageRound .vk_post_imgOuter{margin-left:auto;margin-right:auto;width:150px;height:150px;border-radius:50%;background-position:center center}.card-imageRound .vk_post_imgOuter::before{padding-top:150px}.card-imageRound .card-img-overlay::after{border-radius:50%}.card-horizontal-inner{height:100%}.card-horizontal-inner::after{content:"";display:block;clear:both}.card-horizontal-inner-row{height:100%}.card-horizontal-img-right-row{flex-direction:row-reverse}.card-horizontal-reverse .row{flex-direction:row-reverse}.card-horizontal .card-body{height:100%}.card-sm .card-body{padding:1rem 1.2rem}.card-sm .card-title{font-size:.8rem}.card-sm .card-text{font-size:.8rem;line-height:1.4}.card-sm .card-meta{font-size:.7rem;line-height:1.1}.card-post .card-body{padding-bottom:1.5em}.vk_post.media{width:100%;padding:1em 0;margin:0 15px;border-bottom:1px solid #e5e5e5}.media:first-child{border-top:1px solid #e5e5e5}.media-img{border:1px solid #e5e5e5;padding:1px;margin-right:1rem}.vk_post .media-img{width:35%}.vk_post .media-body{width:65%}.media.vk_post-col-xs-6:first-child,.media.vk_post-col-xs-6:nth-child(2){border-top:1px solid #e5e5e5}.media{border-bottom:1px solid #e5e5e5;padding:1rem 0;margin-top:0}.media>div{width:100%}.media .postList_thumbnail{width:160px;margin-bottom:.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.media .postList_thumbnail img{width:100%;height:auto;border:1px solid #fff}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:20px;line-height:1.4em;margin-top:0;margin-bottom:.4em;font-weight:400;background:0 0;box-shadow:none;padding:0}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0;font-size:14px;line-height:150%}.media .entry-meta_updated{display:none}.media .entry-meta_items_author{display:none}.media a.media-body_excerpt{color:#464646;display:block;overflow:hidden}.vk_posts-layout-postListText{margin-bottom:.8rem}.postListText{padding:.8rem 0 .7rem;border-bottom:1px dotted #ccc;display:block;overflow:hidden;width:100%}.postListText_date{font-size:1rem;white-space:nowrap;font-size:14px;display:block;float:left;min-width:115px;margin-right:1em}.postListText_singleTermLabel{padding:0;display:block;float:left;min-width:150px;margin-right:1em;margin-top:2px}.postListText_singleTermLabel_inner{display:block;overflow:hidden;font-size:12px;white-space:nowrap;padding:0 1rem;line-height:16px;border-radius:2px;text-align:center}.postListText_title{font-size:14px;display:block;overflow:hidden;margin:0;padding-top:.2rem;clear:both;border:1px solid red}.postListText_title a{color:var(--text-color)}.postListText_title a:hover{text-decoration:underline}.vk_posts .postListText_title{line-height:1.6}@media (min-width:576px){.vk_posts .vk_post-col-sm-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-sm-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-sm-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-sm-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-sm-12{width:calc(100% - 30px)}.mainSection .vk_post-col-sm-12 .vk_post_title{font-size:16px}.mainSection .vk_post-col-sm-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-sm-12.media{padding:1.5rem 0}.mainSection .vk_post-col-sm-12.media:first-child{border-top:1px solid #e5e5e5}.mainSection .vk_post-col-sm-12.media .media-img{margin-right:1.4rem}.mainSection .postListText.vk_post-col-sm-12 .vk_post_title{font-size:16px;font-weight:400}}@media (min-width:576px) and (max-width:767.98px){.card.vk_post-col-sm-12{margin-bottom:20px}.card-horizontal.vk_post-col-sm-12{margin-bottom:15px}.card-imageRound.vk_post-col-sm-12,.card-noborder.vk_post-col-sm-12{margin-bottom:40px}.media.vk_post-col-sm-3:nth-child(2),.media.vk_post-col-sm-3:nth-child(3),.media.vk_post-col-sm-3:nth-child(4),.media.vk_post-col-sm-4:nth-child(2),.media.vk_post-col-sm-4:nth-child(3),.media.vk_post-col-sm-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:768px){.vk_posts .vk_post-col-md-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-md-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-md-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-md-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-md-12{width:calc(100% - 30px)}.mainSection .vk_post-col-md-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-md-12 .vk_post_excerpt{font-size:14px}}@media (min-width:768px) and (max-width:991.98px){.card.vk_post-col-md-12{margin-bottom:20px}.card-horizontal.vk_post-col-md-12{margin-bottom:15px}.card-imageRound.vk_post-col-md-12,.card-noborder.vk_post-col-md-12{margin-bottom:40px}.media.vk_post-col-md-3:nth-child(2),.media.vk_post-col-md-3:nth-child(3),.media.vk_post-col-md-3:nth-child(4),.media.vk_post-col-md-4:nth-child(2),.media.vk_post-col-md-4:nth-child(3),.media.vk_post-col-md-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:992px){.vk_posts .vk_post-col-lg-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-lg-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-lg-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-lg-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-lg-12{width:calc(100% - 30px)}.mainSection .vk_post-col-lg-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-lg-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-lg-12.media{padding:1.8rem 0}.mainSection .vk_post-col-lg-12.media .media-img{margin-right:1.8rem}.postListText_title{padding-top:0;clear:none}}@media (min-width:992px) and (max-width:1199.98px){.card.vk_post-col-lg-12{margin-bottom:20px}.card-horizontal.vk_post-col-lg-12{margin-bottom:15px}.card-imageRound.vk_post-col-lg-12,.card-noborder.vk_post-col-lg-12{margin-bottom:40px}.media.vk_post-col-lg-3:nth-child(2),.media.vk_post-col-lg-3:nth-child(3),.media.vk_post-col-lg-3:nth-child(4),.media.vk_post-col-lg-4:nth-child(2),.media.vk_post-col-lg-4:nth-child(3),.media.vk_post-col-lg-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1200px){.vk_posts .vk_post-col-xl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xl-12{width:calc(100% - 30px)}.mainSection .vk_post-col-xl-12 .vk_post_title{font-size:21px}.mainSection .vk_post-col-xl-12 .vk_post_excerpt{font-size:14px}.card.vk_post-col-xl-12{margin-bottom:20px}.card-horizontal.vk_post-col-xl-12{margin-bottom:15px}.card-imageRound.vk_post-col-xl-12,.card-noborder.vk_post-col-xl-12{margin-bottom:40px}.media.vk_post-col-xl-3:nth-child(2),.media.vk_post-col-xl-3:nth-child(3),.media.vk_post-col-xl-3:nth-child(4),.media.vk_post-col-xl-4:nth-child(2),.media.vk_post-col-xl-4:nth-child(3),.media.vk_post-col-xl-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1400px){.vk_posts .vk_post-col-xxl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xxl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xxl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xxl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xxl-12{width:calc(100% - 30px)}.mainSection .vk_post-col-xxl-12 .vk_post_title{font-size:26px}.mainSection .vk_post-col-xxl-12 .vk_post_excerpt{font-size:14px}.card.vk_post-col-xxl-12{margin-bottom:20px}.card-horizontal.vk_post-col-xxl-12{margin-bottom:15px}.card-imageRound.vk_post-col-xxl-12,.card-noborder.vk_post-col-xxl-12{margin-bottom:40px}.media.vk_post-col-xxl-3:nth-child(2),.media.vk_post-col-xxl-3:nth-child(3),.media.vk_post-col-xxl-3:nth-child(4),.media.vk_post-col-xxl-4:nth-child(2),.media.vk_post-col-xxl-4:nth-child(3),.media.vk_post-col-xxl-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (max-width:767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:.5em}}@media (max-width:575.98px){.card.vk_post-col-xs-12{margin-bottom:20px}.card-horizontal.vk_post-col-xs-12{margin-bottom:15px}.card-imageRound.vk_post-col-xs-12,.card-noborder.vk_post-col-xs-12{margin-bottom:40px}}@media (max-width:500px){.media .postList_thumbnail{width:100px}}
1
+ .vk_posts .vk_post-col-xs-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xs-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xs-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xs-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xs-12{width:calc(100% - 30px)}.vk_posts{margin-left:-15px;margin-right:-15px;display:flex;flex-wrap:wrap;clear:both}.vk_post{margin-left:15px;margin-right:15px}.vk_post a:hover{text-decoration:none}.vk_post_imgOuter{position:relative}.vk_post_imgOuter a{display:block;overflow:hidden}.vk_post_imgOuter_singleTermLabel{font-size:10px;padding:.3em .8em;position:absolute;right:0;top:0;z-index:100}.vk_post .vk_post_title{font-size:14px;line-height:1.4;font-weight:700;margin-bottom:0}.vk_post .vk_post_title a{color:#333}.vk_post_title_new{margin-left:.4em;font-size:.8em;white-space:nowrap;color:red}.vk_post .vk_post_excerpt{margin-top:.8em;font-size:12px;line-height:1.6;opacity:.8}.vk_post .vk_post_date{font-size:11px;margin-top:.5em;color:#666}.vk_post .vk_post_btn{font-size:12px;text-decoration:none}.vk_post_imgOuter{position:relative;background-size:cover;background-position:center 50%;border-bottom:1px solid #e5e5e5}.vk_post_imgOuter>a::after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;background:rgba(0,0,0,0);transition-duration:.3s}.vk_post_imgOuter a:hover .card-img-overlay::after{background:rgba(0,0,0,.5)}.vk_post_imgOuter a{height:100%}.vk_post_imgOuter_img{position:absolute;left:-9999px}.vk_post .vk_post_imgOuter:before{content:"";display:block;padding-top:62%}.vk_post.card-horizontal .vk_post_imgOuter{height:100%;border-bottom:none;border-right:1px solid #e5e5e5}.vk_post.card-horizontal .vk_post_imgOuter:before{padding-top:0}.vk_post.card-horizontal.card-horizontal-reverse .vk_post_imgOuter{border-right:none;border-left:1px solid #e5e5e5}.vk_post-btn-display .vk_post_body{position:relative;height:100%}.vk_post-btn-display .vk_post_btnOuter{margin-top:1em;position:absolute;bottom:0}.vk_post-btn-display.media .vk_post_body{padding-bottom:45px}.vk_post-btn-display.media .vk_post_btnOuter{width:100%}.vk_post-btn-display.card .vk_post_body{padding-bottom:65px}.vk_post-btn-display.card .vk_post_btnOuter{width:calc(100% - 2.5rem);bottom:1.25rem}.vk_post-btn-display .card-text:nth-last-child(2){margin-bottom:0}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_title,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_title{font-size:1rem}.mainSection .wp-block-column .vk_post-col-lg-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-md-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-sm-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xl-12 .vk_post_excerpt,.mainSection .wp-block-column .vk_post-col-xxl-12 .vk_post_excerpt{font-size:12px}.vk_post.card{padding:0;margin-bottom:30px;box-sizing:border-box;max-width:100%}.vk_post.card .vk_post_btnOuter{width:calc(100% - 2.5rem)}.card{overflow:hidden;box-shadow:none}.card-meta{font-size:12px}.card-img-use-bg{position:relative;left:-9999px}.card a{color:inherit}.card a.btn-primary{color:#fff}.card-noborder.card{border:none;background:0 0}.card-noborder .vk_post_imgOuter{border:none}.card-noborder .card-body{padding-left:0;padding-right:0}.card-noborder.vk_post-btn-display .card-body{padding-bottom:2.8rem}.card-noborder.vk_post-btn-display .vk_post_btnOuter{width:100%;bottom:0}.card-imageRound .vk_post_imgOuter{margin-left:auto;margin-right:auto;width:150px;height:150px;border-radius:50%;background-position:center center}.card-imageRound .vk_post_imgOuter::before{padding-top:150px}.card-imageRound .card-img-overlay::after{border-radius:50%}.card-horizontal-inner{height:100%}.card-horizontal-inner::after{content:"";display:block;clear:both}.card-horizontal-inner-row{height:100%}.card-horizontal-img-right-row{flex-direction:row-reverse}.card-horizontal-reverse .row{flex-direction:row-reverse}.card-horizontal .card-body{height:100%}.card-sm .card-body{padding:1rem 1.2rem}.card-sm .card-title{font-size:.8rem}.card-sm .card-text{font-size:.8rem;line-height:1.4}.card-sm .card-meta{font-size:.7rem;line-height:1.1}.card-post .card-body{padding-bottom:1.5em}.vk_post.media{width:100%;padding:1em 0;margin:0 15px;border-bottom:1px solid #e5e5e5}.media:first-child{border-top:1px solid #e5e5e5}.media-img{border:1px solid #e5e5e5;padding:1px;margin-right:1rem}.vk_post .media-img{width:35%}.vk_post .media-body{width:65%}.media{border-bottom:1px solid #e5e5e5;padding:1rem 0;margin-top:0}.media>div{width:100%}.media .postList_thumbnail{width:160px;margin-bottom:.5em;padding-right:30px;display:block;overflow:hidden;float:left}.media .postList_thumbnail a{position:relative;display:block;overflow:hidden;border:1px solid #e5e5e5}.media .postList_thumbnail img{width:100%;height:auto;border:1px solid #fff}.media .postList_thumbnail .postList_cateLabel{position:absolute;bottom:0;left:0}.media .media-body .media-heading{font-size:20px;line-height:1.4em;margin-top:0;margin-bottom:.4em;font-weight:400;background:0 0;box-shadow:none;padding:0}.media .media-body .media-heading a{color:#464646}.media .media-body .media-heading a:hover{text-decoration:none}.media p{margin-bottom:0;font-size:14px;line-height:150%}.media .entry-meta_updated{display:none}.media .entry-meta_items_author{display:none}.media a.media-body_excerpt{color:#464646;display:block;overflow:hidden}.vk_posts-layout-postListText{margin-bottom:.8rem}.postListText{padding:.8rem 0 .7rem;border-bottom:1px dotted #ccc;display:block;overflow:hidden;width:100%}.postListText_date{font-size:1rem;white-space:nowrap;font-size:14px;display:block;float:left;min-width:115px;margin-right:1em}.postListText_singleTermLabel{padding:0;display:block;float:left;min-width:150px;margin-right:1em;margin-top:2px}.postListText_singleTermLabel_inner{display:block;overflow:hidden;font-size:12px;white-space:nowrap;padding:0 1rem;line-height:16px;border-radius:2px;text-align:center}.postListText_title{font-size:14px;display:block;overflow:hidden;margin:0;padding-top:.2rem;clear:both}.postListText_title a{color:var(--text-color)}.postListText_title a:hover{text-decoration:underline}.vk_posts .postListText_title{line-height:1.6}@media (min-width:576px){.vk_posts .vk_post-col-sm-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-sm-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-sm-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-sm-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-sm-12{width:calc(100% - 30px)}.mainSection .vk_post-col-sm-12 .vk_post_title{font-size:16px}.mainSection .vk_post-col-sm-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-sm-12.media{padding:1.5rem 0}.mainSection .vk_post-col-sm-12.media:first-child{border-top:1px solid #e5e5e5}.mainSection .vk_post-col-sm-12.media .media-img{margin-right:1.4rem}.mainSection .postListText.vk_post-col-sm-12 .vk_post_title{font-size:16px;font-weight:400}}@media (min-width:576px) and (max-width:767.98px){.card.vk_post-col-sm-12{margin-bottom:20px}.card-horizontal.vk_post-col-sm-12{margin-bottom:15px}.card-imageRound.vk_post-col-sm-12,.card-noborder.vk_post-col-sm-12{margin-bottom:40px}.media.vk_post-col-sm-3:nth-child(2),.media.vk_post-col-sm-3:nth-child(3),.media.vk_post-col-sm-3:nth-child(4),.media.vk_post-col-sm-4:nth-child(2),.media.vk_post-col-sm-4:nth-child(3),.media.vk_post-col-sm-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:768px){.vk_posts .vk_post-col-md-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-md-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-md-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-md-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-md-12{width:calc(100% - 30px)}.mainSection .vk_post-col-md-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-md-12 .vk_post_excerpt{font-size:14px}}@media (min-width:768px) and (max-width:991.98px){.card.vk_post-col-md-12{margin-bottom:20px}.card-horizontal.vk_post-col-md-12{margin-bottom:15px}.card-imageRound.vk_post-col-md-12,.card-noborder.vk_post-col-md-12{margin-bottom:40px}.media.vk_post-col-md-3:nth-child(2),.media.vk_post-col-md-3:nth-child(3),.media.vk_post-col-md-3:nth-child(4),.media.vk_post-col-md-4:nth-child(2),.media.vk_post-col-md-4:nth-child(3),.media.vk_post-col-md-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:992px){.vk_posts .vk_post-col-lg-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-lg-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-lg-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-lg-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-lg-12{width:calc(100% - 30px)}.mainSection .vk_post-col-lg-12 .vk_post_title{font-size:18px}.mainSection .vk_post-col-lg-12 .vk_post_excerpt{font-size:14px}.mainSection .vk_post-col-lg-12.media{padding:1.8rem 0}.mainSection .vk_post-col-lg-12.media .media-img{margin-right:1.8rem}.postListText_title{padding-top:0;clear:none}}@media (min-width:992px) and (max-width:1199.98px){.card.vk_post-col-lg-12{margin-bottom:20px}.card-horizontal.vk_post-col-lg-12{margin-bottom:15px}.card-imageRound.vk_post-col-lg-12,.card-noborder.vk_post-col-lg-12{margin-bottom:40px}.media.vk_post-col-lg-3:nth-child(2),.media.vk_post-col-lg-3:nth-child(3),.media.vk_post-col-lg-3:nth-child(4),.media.vk_post-col-lg-4:nth-child(2),.media.vk_post-col-lg-4:nth-child(3),.media.vk_post-col-lg-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1200px){.vk_posts .vk_post-col-xl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xl-12{width:calc(100% - 30px)}.mainSection .vk_post-col-xl-12 .vk_post_title{font-size:21px}.mainSection .vk_post-col-xl-12 .vk_post_excerpt{font-size:14px}.card.vk_post-col-xl-12{margin-bottom:20px}.card-horizontal.vk_post-col-xl-12{margin-bottom:15px}.card-imageRound.vk_post-col-xl-12,.card-noborder.vk_post-col-xl-12{margin-bottom:40px}.media.vk_post-col-xl-3:nth-child(2),.media.vk_post-col-xl-3:nth-child(3),.media.vk_post-col-xl-3:nth-child(4),.media.vk_post-col-xl-4:nth-child(2),.media.vk_post-col-xl-4:nth-child(3),.media.vk_post-col-xl-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (min-width:1400px){.vk_posts .vk_post-col-xxl-2{width:calc(16.66% - 30px)}.vk_posts .vk_post-col-xxl-3{width:calc(25% - 30px)}.vk_posts .vk_post-col-xxl-4{width:calc(33.3% - 30px)}.vk_posts .vk_post-col-xxl-6{width:calc(50% - 30px)}.vk_posts .vk_post-col-xxl-12{width:calc(100% - 30px)}.mainSection .vk_post-col-xxl-12 .vk_post_title{font-size:26px}.mainSection .vk_post-col-xxl-12 .vk_post_excerpt{font-size:14px}.card.vk_post-col-xxl-12{margin-bottom:20px}.card-horizontal.vk_post-col-xxl-12{margin-bottom:15px}.card-imageRound.vk_post-col-xxl-12,.card-noborder.vk_post-col-xxl-12{margin-bottom:40px}.media.vk_post-col-xxl-3:nth-child(2),.media.vk_post-col-xxl-3:nth-child(3),.media.vk_post-col-xxl-3:nth-child(4),.media.vk_post-col-xxl-4:nth-child(2),.media.vk_post-col-xxl-4:nth-child(3),.media.vk_post-col-xxl-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (max-width:767px){.media .postList_thumbnail{padding-right:20px}.media .media-body .media-heading{font-size:1.2em;line-height:1.3em;margin-bottom:.5em}}@media (max-width:575.98px){.card.vk_post-col-xs-12{margin-bottom:20px}.card-horizontal.vk_post-col-xs-12{margin-bottom:15px}.card-imageRound.vk_post-col-xs-12,.card-noborder.vk_post-col-xs-12{margin-bottom:40px}.media.vk_post-col-xs-6:nth-child(2){border-top:1px solid #e5e5e5}}@media (max-width:500px){.media .postList_thumbnail{width:100px}}
inc/vk-css-optimize/package/class-css-tree-shaking.php CHANGED
@@ -1,4 +1,9 @@
1
  <?php
 
 
 
 
 
2
  /**
3
  * CSS Simple Tree Shaking
4
  *
1
  <?php
2
+ /*
3
+ The original of this file is located at:
4
+ https://github.com/vektor-inc/vektor-wp-libraries
5
+ If you want to change this file, please change the original file.
6
+ */
7
  /**
8
  * CSS Simple Tree Shaking
9
  *
inc/vk-css-optimize/package/class-vk-css-optimize.php CHANGED
@@ -1,8 +1,13 @@
1
  <?php
 
 
 
 
 
 
2
  /**
3
  * VK CSS Optimize
4
  *
5
- * @package Lightning
6
  */
7
 
8
  /**
@@ -12,12 +17,210 @@ if ( ! class_exists( 'VK_CSS_Optimize' ) ) {
12
  class VK_CSS_Optimize {
13
 
14
  public function __construct() {
15
- add_action( 'get_header', array( __CLASS__, 'get_html_start' ), 2147483647 );
16
- add_action( 'shutdown', array( __CLASS__, 'get_html_end' ), 0 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
 
19
  public static function get_html_start() {
20
- ob_start( 'VK_CSS_Optimize::css_optimize' );
21
  }
22
 
23
  public static function get_html_end() {
@@ -26,12 +229,20 @@ if ( ! class_exists( 'VK_CSS_Optimize' ) ) {
26
  }
27
  }
28
 
29
- public static function css_optimize( $buffer ) {
30
- $options = get_option( 'lightning_theme_options' );
 
 
 
 
 
 
 
31
 
32
  // CSS Tree Shaking.
33
  require_once dirname( __FILE__ ) . '/class-css-tree-shaking.php';
34
- global $vk_css_tree_shaking_array;
 
35
  foreach ( $vk_css_tree_shaking_array as $vk_css_array ) {
36
  $options['ssl']['verify_peer'] = false;
37
  $options['ssl']['verify_peer_name'] = false;
@@ -57,18 +268,63 @@ if ( ! class_exists( 'VK_CSS_Optimize' ) ) {
57
 
58
  }
59
 
60
- if ( ! empty( $options['optimize_css'] ) && 'optomize-all-css' === $options['optimize_css'] ) {
61
- // CSS Preload.
62
- $buffer = str_replace(
63
- 'link rel=\'stylesheet\'',
64
- 'link rel="preload" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"',
65
- $buffer
66
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  }
68
 
69
- return $buffer;
70
  }
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  }
73
  new VK_CSS_Optimize();
74
  }
1
  <?php
2
+ /*
3
+ The original of this file is located at:
4
+ https://github.com/vektor-inc/vektor-wp-libraries
5
+ If you want to change this file, please change the original file.
6
+ */
7
+
8
  /**
9
  * VK CSS Optimize
10
  *
 
11
  */
12
 
13
  /**
17
  class VK_CSS_Optimize {
18
 
19
  public function __construct() {
20
+ add_action( 'customize_register', array( __CLASS__, 'customize_register' ) );
21
+ add_filter( 'css_tree_shaking_exclude', array( __CLASS__, 'tree_shaking_exclude' ) );
22
+
23
+ $options = VK_CSS_Optimize::get_css_optimize_options();
24
+
25
+ if ( ! empty( $options['tree_shaking'] ) ) {
26
+ add_action( 'get_header', array( __CLASS__, 'get_html_start' ), 2147483647 );
27
+ add_action( 'shutdown', array( __CLASS__, 'get_html_end' ), 0 );
28
+ }
29
+
30
+ if ( ! empty( $options['preload'] ) ) {
31
+ add_filter( 'style_loader_tag', array( __CLASS__, 'css_preload' ), 10, 4 );
32
+ }
33
+ }
34
+
35
+ public static function customize_register( $wp_customize ){
36
+ global $prefix_customize_panel;
37
+ $wp_customize->add_section(
38
+ 'css_optimize', array(
39
+ 'title' => $prefix_customize_panel . __( 'CSS Optimize ( Speed up ) Settings', 'vk-blocks' ),
40
+ 'priority' => 450,
41
+ )
42
+ );
43
+
44
+ // Tree shaking
45
+ ////////////////////////////////////////////////////////////////
46
+
47
+ $wp_customize->add_setting(
48
+ 'tree_shaking_title',
49
+ array(
50
+ 'sanitize_callback' => 'sanitize_text_field',
51
+ )
52
+ );
53
+ $wp_customize->add_control(
54
+ new Custom_Html_Control(
55
+ $wp_customize,
56
+ 'tree_shaking_title',
57
+ array(
58
+ 'label' => __( 'Tree shaking', 'vk-blocks' ),
59
+ 'section' => 'css_optimize',
60
+ 'type' => 'text',
61
+ 'custom_title_sub' => '',
62
+ // 'custom_html' => __( 'Move part of CSS and JS to the footer to improve display speed.', 'vk-blocks' ),
63
+ )
64
+ )
65
+ );
66
+
67
+ $wp_customize->add_setting(
68
+ 'vk_css_optimize_options[tree_shaking]',
69
+ array(
70
+ 'default' => '',
71
+ 'type' => 'option',
72
+ 'capability' => 'edit_theme_options',
73
+ 'sanitize_callback' => array( 'VK_Helpers', 'sanitize_choice' ),
74
+ )
75
+ );
76
+ $wp_customize->add_control(
77
+ 'vk_css_optimize_options[tree_shaking]',
78
+ array(
79
+ 'label' => __( 'Tree shaking activation settings', 'vk-blocks' ),
80
+ 'section' => 'css_optimize',
81
+ 'settings' => 'vk_css_optimize_options[tree_shaking]',
82
+ 'type' => 'select',
83
+ 'description' => __( 'Output only the main CSS of the page inline', 'vk-blocks' ),
84
+ 'choices' => array(
85
+ '' => __( 'Nothing to do', 'vk-blocks' ),
86
+ 'active' => __( 'Active Tree shaking (Recomend)', 'vk-blocks' ),
87
+ ),
88
+ )
89
+ );
90
+
91
+ $wp_customize->add_setting(
92
+ 'vk_css_optimize_options[tree_shaking_class_exclude]',
93
+ array(
94
+ 'default' => '',
95
+ 'type' => 'option',
96
+ 'capability' => 'edit_theme_options',
97
+ 'sanitize_callback' => 'sanitize_text_field',
98
+ )
99
+ );
100
+ $wp_customize->add_control(
101
+ 'vk_css_optimize_options[tree_shaking_class_exclude]',
102
+ array(
103
+ 'label' => __( 'Exclude class of tree shaking', 'vk-blocks' ),
104
+ 'section' => 'css_optimize',
105
+ 'settings' => 'vk_css_optimize_options[tree_shaking_class_exclude]',
106
+ 'type' => 'textarea',
107
+ 'description' => __( 'If you choose "Active Tree shaking" that delete the useless css.If you using active css class that please fill in class name. Ex) btn-active,slide-active,scrolled', 'vk-blocks' ),
108
+ )
109
+ );
110
+
111
+ // Preload
112
+ ////////////////////////////////////////////////////////////////
113
+ $wp_customize->add_setting(
114
+ 'css_preload_title',
115
+ array(
116
+ 'sanitize_callback' => 'sanitize_text_field',
117
+ )
118
+ );
119
+ $wp_customize->add_control(
120
+ new Custom_Html_Control(
121
+ $wp_customize,
122
+ 'css_preload_title',
123
+ array(
124
+ 'label' => __( 'Preload CSS', 'vk-blocks' ),
125
+ 'section' => 'css_optimize',
126
+ 'type' => 'text',
127
+ 'custom_title_sub' => '',
128
+ // 'custom_html' => __( 'Move part of CSS and JS to the footer to improve display speed.', 'vk-blocks' ),
129
+ )
130
+ )
131
+ );
132
+
133
+ $wp_customize->add_setting(
134
+ 'vk_css_optimize_options[preload]',
135
+ array(
136
+ 'default' => '',
137
+ 'type' => 'option',
138
+ 'capability' => 'edit_theme_options',
139
+ 'sanitize_callback' => 'sanitize_text_field',
140
+ )
141
+ );
142
+ $wp_customize->add_control(
143
+ 'vk_css_optimize_options[preload]',
144
+ array(
145
+ 'label' => __( 'Preload CSS activation settings', 'vk-blocks' ),
146
+ 'section' => 'css_optimize',
147
+ 'settings' => 'vk_css_optimize_options[preload]',
148
+ 'description' => __( 'Preload css except for critical css', 'vk-blocks' ),
149
+ 'type' => 'select',
150
+ 'choices' => array(
151
+ '' => __( 'Nothing to do', 'vk-blocks' ),
152
+ 'active' => __( 'Active Preload CSS (Recomend)', 'vk-blocks' ),
153
+ ),
154
+ )
155
+ );
156
+
157
+ }
158
+
159
+ /**
160
+ *
161
+ */
162
+ public static function get_css_optimize_options(){
163
+
164
+ $theme_textdomain = wp_get_theme()->get( 'TextDomain' );
165
+ if ( 'lightning' === $theme_textdomain || 'lightning-pro' === $theme_textdomain ){
166
+ $old_options = get_option( 'lightning_theme_options' );
167
+ } else if ( 'katawara' === $theme_textdomain ){
168
+ $old_options = get_option( 'katawara_theme_options' );
169
+ } else {
170
+ $old_options = get_option( 'vk_blocks_options' );
171
+ }
172
+
173
+ $vk_css_optimize_options = get_option( 'vk_css_optimize_options' );
174
+ $vk_css_optimize_options_default = array(
175
+ 'tree_shaking' => 'active',
176
+ 'preload' => 'active',
177
+ );
178
+
179
+ // fall back function
180
+ // Actualy other array exist but optimize_css is most important
181
+ if ( ! isset( $vk_css_optimize_options['tree_shaking'] ) ) {
182
+
183
+ if ( isset( $old_options['optimize_css'] ) ){
184
+ if ( $old_options['optimize_css'] === 'optomize-all-css' || $old_options['optimize_css'] === 'tree-shaking' ){
185
+ $vk_css_optimize_options['tree_shaking'] = 'active';
186
+ } else {
187
+ $vk_css_optimize_options['tree_shaking'] = '';
188
+ }
189
+ }
190
+ }
191
+
192
+ if ( ! isset( $vk_css_optimize_options['tree_shaking_class_exclude'] ) ) {
193
+ if ( ! empty( $old_options['tree_shaking_class_exclude'] ) ){
194
+ $vk_css_optimize_options['tree_shaking_class_exclude'] = esc_html( $old_options['tree_shaking_class_exclude'] );
195
+ }
196
+ }
197
+
198
+ if ( ! isset( $vk_css_optimize_options['preload'] ) ) {
199
+
200
+ if ( isset( $old_options['optimize_css'] ) ){
201
+ if ( $old_options['optimize_css'] === 'optomize-all-css'){
202
+ $vk_css_optimize_options['preload'] ='active';
203
+ } else {
204
+ $vk_css_optimize_options['preload'] = '';
205
+ }
206
+
207
+ }
208
+
209
+ }
210
+ $vk_css_optimize_options = wp_parse_args( $vk_css_optimize_options, $vk_css_optimize_options_default );
211
+ if (
212
+ ! isset( $vk_css_optimize_options['tree_shaking'] ) ||
213
+ ! isset( $vk_css_optimize_options['tree_shaking_class_exclude'] ) ||
214
+ ! isset( $vk_css_optimize_options['preload'] )
215
+ ){
216
+ update_option( 'vk_css_optimize_options', $vk_css_optimize_options );
217
+ }
218
+
219
+ return $vk_css_optimize_options;
220
  }
221
 
222
  public static function get_html_start() {
223
+ ob_start( 'VK_CSS_Optimize::css_tree_shaking_buffer' );
224
  }
225
 
226
  public static function get_html_end() {
229
  }
230
  }
231
 
232
+ public static function css_tree_shaking_array() {
233
+ $vk_css_tree_shaking_array = array();
234
+ $vk_css_tree_shaking_array = apply_filters( 'vk_css_tree_shaking_array', $vk_css_tree_shaking_array );
235
+ return $vk_css_tree_shaking_array;
236
+ }
237
+
238
+ public static function css_tree_shaking_buffer( $buffer ) {
239
+
240
+ $options = VK_CSS_Optimize::get_css_optimize_options();
241
 
242
  // CSS Tree Shaking.
243
  require_once dirname( __FILE__ ) . '/class-css-tree-shaking.php';
244
+ $vk_css_tree_shaking_array = VK_CSS_Optimize::css_tree_shaking_array();
245
+
246
  foreach ( $vk_css_tree_shaking_array as $vk_css_array ) {
247
  $options['ssl']['verify_peer'] = false;
248
  $options['ssl']['verify_peer_name'] = false;
268
 
269
  }
270
 
271
+ return $buffer;
272
+ }
273
+
274
+ public static function css_preload( $tag, $handle, $href, $media ) {
275
+
276
+ $vk_css_tree_shaking_array = VK_CSS_Optimize::css_tree_shaking_array();
277
+
278
+ $tree_shaking_handles = array();
279
+
280
+ $options = VK_CSS_Optimize::get_css_optimize_options();
281
+
282
+ // tree shaking がかかっているものはpreloadから除外する
283
+ // でないと表示時に一瞬崩れて結局実用性に問題があるため
284
+ foreach ( $vk_css_tree_shaking_array as $vk_css_array ) {
285
+ $tree_shaking_handles[] = $vk_css_array['id'];
286
+ }
287
+ // クリティカルじゃないCSS(tree shakingにかけているもの以外)をpreload
288
+ if ( ! in_array( $handle, $tree_shaking_handles ) ){
289
+ $tag = "<link rel='preload' id='".$handle."-css' href='".$href."' as='style' onload=\"this.onload=null;this.rel='stylesheet'\"/>\n";
290
+ $tag .= "<link rel='stylesheet' id='".$handle."-css' href='".$href."' media='print' onload=\"this.media='all'; this.onload=null;\">\n";
291
  }
292
 
293
+ return $tag;
294
  }
295
 
296
+
297
+ /**
298
+ * Exclude CSS.
299
+ *
300
+ * @param string $inidata exclude css class.
301
+ */
302
+ public static function tree_shaking_exclude( $inidata ) {
303
+ $options = VK_CSS_Optimize::get_css_optimize_options();
304
+
305
+ $exclude_classes_array = array();
306
+
307
+ if ( ! empty( $options['tree_shaking_class_exclude'] ) ) {
308
+
309
+ // delete before after space.
310
+ $exclude_clssses = trim( $options['tree_shaking_class_exclude'] );
311
+
312
+ // convert tab and br to space.
313
+ $exclude_clssses = preg_replace( '/[\n\r\t]/', '', $exclude_clssses );
314
+
315
+ // Change multiple spaces to single space.
316
+ $exclude_clssses = preg_replace( '/\s/', '', $exclude_clssses );
317
+ $exclude_clssses = str_replace( ',', ',', $exclude_clssses );
318
+ $exclude_clssses = str_replace( '、', ',', $exclude_clssses );
319
+ $exclude_classes_array = explode( ',', $exclude_clssses );
320
+
321
+ }
322
+
323
+ $inidata['class'] = array_merge( $inidata['class'], $exclude_classes_array );
324
+
325
+ return $inidata;
326
+ }
327
+
328
  }
329
  new VK_CSS_Optimize();
330
  }
inc/vk-css-optimize/vk-css-optimize-config.php CHANGED
@@ -2,59 +2,41 @@
2
  /**
3
  * VK CSS Tree Shaking Config
4
  *
5
- * @package Lightning
6
  */
7
-
8
- /**
9
- * Optimize CSS.
10
- */
11
- function vk_blocks_optimize_css() {
12
- $options = vkblocks_get_options();
13
-
14
- if ( ! isset( $options['css_optimize'] ) ) {
15
- $options['css_optimize'] = 'default';
16
- } elseif ( 'optomize-all-css' === $options['css_optimize'] ) {
17
- $options['css_optimize'] = 'tree-shaking';
18
- update_option( 'vk_blocks_options', $options );
19
- }
20
-
21
- if ( ! empty( $options['css_optimize'] ) && ( 'optomize-all-css' === $options['css_optimize'] || 'tree-shaking' === $options['css_optimize'] ) ) {
22
-
23
- // 表示位置の配列.
24
- global $vk_css_tree_shaking_array;
25
- if ( empty( $vk_css_tree_shaking_array ) ) {
26
- $vk_css_tree_shaking_array = array(
27
- array(
28
- 'id' => 'vk-blocks-build-css',
29
- 'url' => VK_BLOCKS_URL . 'build/block-build.css',
30
- 'path' => VK_BLOCKS_PATH . 'build/block-build.css',
31
- 'version' => VK_BLOCKS_VERSION,
32
- ),
33
- );
34
- } else {
35
- $add_array = array(
36
- 'id' => 'vk-blocks-build-css',
37
- 'url' => VK_BLOCKS_URL . 'build/block-build.css',
38
- 'path' => VK_BLOCKS_PATH . 'build/block-build.css',
39
- 'version' => VK_BLOCKS_VERSION,
40
- );
41
- array_push( $vk_css_tree_shaking_array, $add_array );
42
  }
 
 
43
 
44
- $vk_css_tree_shaking_array = apply_filters( 'vk_css_tree_shaking_array', $vk_css_tree_shaking_array );
45
- if ( ! class_exists( 'VK_CSS_Optimize' ) ) {
46
- require_once dirname( __FILE__ ) . '/package/class-vk-css-optimize.php';
47
- }
48
- }
 
 
 
49
  }
50
- add_action( 'after_setup_theme', 'vk_blocks_optimize_css' );
51
 
52
  /**
53
  * CSS Tree Shaking Exclude
54
  *
55
  * @param array $inidata CSS Tree Shaking Exclude Paramator.
56
  */
57
- function vk_blocks_css_tree_shaking_exclude_class( $inidata ) {
58
  $exclude_classes_array = array(
59
  'vk_animation-active',
60
  'vk_borderBox_title',
@@ -67,4 +49,4 @@ function vk_blocks_css_tree_shaking_exclude_class( $inidata ) {
67
 
68
  return $inidata;
69
  }
70
- add_filter( 'css_tree_shaking_exclude', 'vk_blocks_css_tree_shaking_exclude_class' );
2
  /**
3
  * VK CSS Tree Shaking Config
4
  *
5
+ * @package VK Blocks
6
  */
7
+
8
+ function vkblocks_load_css_optimize(){
9
+ $theme_textdomain = wp_get_theme()->get( 'TextDomain' );
10
+ // VK Blocks は翻訳作るのが面倒なのでテーマ側が翻訳してある場合はそちらを使う
11
+ if (
12
+ 'lightning' != $theme_textdomain &&
13
+ 'lightning-pro' != $theme_textdomain &&
14
+ 'katawara' != $theme_textdomain
15
+ ){
16
+ if ( ! class_exists( 'VK_CSS_Optimize' ) ) {
17
+ require_once dirname( __FILE__ ) . '/package/class-vk-css-optimize.php';
18
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
+ }
21
+ add_action( 'after_setup_theme', 'vkblocks_load_css_optimize',11 );
22
 
23
+ function vkblocks_css_tree_shaking_array( $vk_css_tree_shaking_array ){
24
+ $vk_css_tree_shaking_array[] = array(
25
+ 'id' => 'vk-blocks-build-css',
26
+ 'url' => VK_BLOCKS_URL . 'build/block-build.css',
27
+ 'path' => VK_BLOCKS_PATH . 'build/block-build.css',
28
+ 'version' => VK_BLOCKS_VERSION,
29
+ );
30
+ return $vk_css_tree_shaking_array;
31
  }
32
+ add_filter( 'vk_css_tree_shaking_array', 'vkblocks_css_tree_shaking_array' );
33
 
34
  /**
35
  * CSS Tree Shaking Exclude
36
  *
37
  * @param array $inidata CSS Tree Shaking Exclude Paramator.
38
  */
39
+ function vkblocks_css_tree_shaking_exclude_class( $inidata ) {
40
  $exclude_classes_array = array(
41
  'vk_animation-active',
42
  'vk_borderBox_title',
49
 
50
  return $inidata;
51
  }
52
+ add_filter( 'css_tree_shaking_exclude', 'vkblocks_css_tree_shaking_exclude_class' );
inc/vk-customize-helpers/package/vk-customize-helpers.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ add_action( 'customize_register', 'vk_register_customize_helpers', 1 );
3
+ if ( ! function_exists( 'vk_register_customize_helpers' ) ){
4
+ function vk_register_customize_helpers( $wp_customize ) {
5
+ /* Add text control description
6
+ /*-------------------------------------------*/
7
+ if ( ! class_exists( 'Custom_Text_Control' ) ) {
8
+ class Custom_Text_Control extends WP_Customize_Control {
9
+ public $type = 'customtext';
10
+ public $description = ''; // we add this for the extra description
11
+ public $input_before = '';
12
+ public $input_after = '';
13
+ public function render_content() {
14
+ ?>
15
+ <label>
16
+ <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
17
+ <?php $style = ( $this->input_before || $this->input_after ) ? ' style="width:50%"' : ''; ?>
18
+ <div>
19
+ <?php echo wp_kses_post( $this->input_before ); ?>
20
+ <input type="text" value="<?php echo esc_attr( $this->value() ); ?>"<?php echo $style; ?> <?php $this->link(); ?> />
21
+ <?php echo wp_kses_post( $this->input_after ); ?>
22
+ </div>
23
+ <div><?php echo $this->description; ?></div>
24
+ </label>
25
+ <?php
26
+ } // public function render_content() {
27
+ } // class Custom_Text_Control extends WP_Customize_Control
28
+ }
29
+
30
+ if ( ! class_exists( 'Custom_Html_Control' ) ) {
31
+ class Custom_Html_Control extends WP_Customize_Control {
32
+ public $type = 'customtext';
33
+ public $custom_title_sub = ''; // we add this for the extra custom_html
34
+ public $custom_html = ''; // we add this for the extra custom_html
35
+ public function render_content() {
36
+ if ( $this->label ) {
37
+ echo '<h2 class="admin-custom-h2">' . wp_kses_post( $this->label ) . '</h2>';
38
+ }
39
+ if ( $this->custom_title_sub ) {
40
+ echo '<h3 class="admin-custom-h3">' . wp_kses_post( $this->custom_title_sub ) . '</h3>';
41
+ }
42
+ if ( $this->custom_html ) {
43
+ echo '<div>' . wp_kses_post( $this->custom_html ) . '</div>';
44
+ }
45
+ } // public function render_content() {
46
+ } // class Custom_Html_Control extends WP_Customize_Control {
47
+ }
48
+ }
49
+ }
inc/vk-customize-helpers/vk-customize-helpers-config.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ if ( ! class_exists( 'Custom_Text_Control' ) ) {
3
+ require_once plugin_dir_path( __FILE__ ) . 'package/vk-customize-helpers.php';
4
+ }
package-lock.json CHANGED
@@ -9935,13 +9935,13 @@
9935
  }
9936
  },
9937
  "buffer": {
9938
- "version": "5.6.0",
9939
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
9940
- "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
9941
  "dev": true,
9942
  "requires": {
9943
- "base64-js": "^1.0.2",
9944
- "ieee754": "^1.1.4"
9945
  }
9946
  },
9947
  "cacache": {
9935
  }
9936
  },
9937
  "buffer": {
9938
+ "version": "5.6.1",
9939
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.1.tgz",
9940
+ "integrity": "sha512-2z15UUHpS9/3tk9mY/q+Rl3rydOi7yMp5XWNQnRvoz+mJwiv8brqYwp9a+nOCtma6dwuEIxljD8W3ysVBZ05Vg==",
9941
  "dev": true,
9942
  "requires": {
9943
+ "base64-js": "^1.3.1",
9944
+ "ieee754": "^1.1.13"
9945
  }
9946
  },
9947
  "cacache": {
package.json CHANGED
@@ -7,8 +7,9 @@
7
  "start": "npx wp-env start",
8
  "stop": "npx wp-env stop",
9
  "watch": "gulp watch",
10
- "build-dev": "gulp build-dev",
11
- "build": "gulp build && npm run translate",
 
12
  "translate": "./node_modules/.bin/po2json ./inc/vk-blocks/build/languages/vk-blocks-ja.po ./inc/vk-blocks/build/languages/vk-blocks-ja-vk-blocks-build-js.json -f jed",
13
  "gulp": "gulp",
14
  "test": "",
7
  "start": "npx wp-env start",
8
  "stop": "npx wp-env stop",
9
  "watch": "gulp watch",
10
+ "build:dev": "gulp build:dev:pro",
11
+ "build": "gulp build:pro && npm run translate",
12
+ "build:free": "gulp build:free && npm run translate",
13
  "translate": "./node_modules/.bin/po2json ./inc/vk-blocks/build/languages/vk-blocks-ja.po ./inc/vk-blocks/build/languages/vk-blocks-ja-vk-blocks-build-js.json -f jed",
14
  "gulp": "gulp",
15
  "test": "",
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.49.8
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,19 @@ e.g.
62
 
63
  == Changelog ==
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  = 0.49.8 =
66
  * [ Bug fix ] fix edit screen white out
67
 
4
  Tags: Gutenberg,FAQ,alert
5
  Requires at least: 5.0
6
  Tested up to: 5.5.1
7
+ Stable tag: 0.50.3
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.50.3 =
66
+ * [ Other ] version only
67
+
68
+ = 0.50.2 =
69
+ * [ Other ] version only
70
+
71
+ = 0.50.1 =
72
+ * [ Other ] version only
73
+
74
+ = 0.50.0 =
75
+ * [ Specification Change ][ CSS Optimize ] Common management of CSS optimization function
76
+ * [ Bug fix ][ Icon Card ] Fix endless recovery
77
+
78
  = 0.49.8 =
79
  * [ Bug fix ] fix edit screen white out
80
 
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.49.8
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.50.3
7
  * Author: Vektor,Inc.
8
  * Author URI: https://vektor-inc.co.jp
9
  * Text Domain: vk-blocks