VK All in One Expansion Unit - Version 2.1.3

Version Description

Download this release

Release Info

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

Code changes from version 2.1.2 to 2.1.3

languages/vkexunit.mo CHANGED
Binary file
languages/vkexunit.pot CHANGED
@@ -1,7 +1,7 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2015-08-13 11:50+0900\n"
5
  "PO-Revision-Date: \n"
6
  "Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
7
  "Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
@@ -105,109 +105,134 @@ msgstr ""
105
  msgid "Archives"
106
  msgstr ""
107
 
108
- #: packages.php:43 plugins/contact_section.php:71
109
  msgid "Contact Section"
110
  msgstr ""
111
 
112
- #: packages.php:44
113
  msgid "Display Contact Section at after content."
114
  msgstr ""
115
 
116
- #: packages.php:47 packages.php:98 packages.php:115 packages.php:132
117
- #: vkExUnit_admin.php:109 vkExUnit_admin.php:155 vkExUnit_admin.php:193
 
118
  msgid "Setting"
119
  msgstr ""
120
 
121
- #: packages.php:61
122
  msgid "Child page index"
123
  msgstr ""
124
 
125
- #: packages.php:62
126
  msgid ""
127
  "At the bottom of the specified page, it will display a list of the child "
128
  "page."
129
  msgstr ""
130
 
131
- #: packages.php:72
132
  msgid "Display HTML Site Map"
133
  msgstr ""
134
 
135
- #: packages.php:73
136
  msgid "It displays a HTML Site Map to the specified page."
137
  msgstr ""
138
 
139
- #: packages.php:81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  msgid "You can use various widgets."
141
  msgstr ""
142
 
143
- #: packages.php:83
144
  msgid ""
145
  "VK_Recent Posts - display the link text and the date of the latest article "
146
  "title."
147
  msgstr ""
148
 
149
- #: packages.php:84
150
  msgid ""
151
  "VK_Page content to widget - display the contents of the page to the widgets."
152
  msgstr ""
153
 
154
- #: packages.php:85
155
  msgid "VK_Profile - display the profile entered in the widget."
156
  msgstr ""
157
 
158
- #: packages.php:86
159
  msgid "VK_FB Page Plugin - display the Facebook Page Plugin."
160
  msgstr ""
161
 
162
- #: packages.php:87
163
  msgid "VK_3PR area - display the 3PR area."
164
  msgstr ""
165
 
166
- #: packages.php:88 plugins/other_widget/old/widget-taxonomy-list.php:17
167
  msgid "categories/tags list"
168
  msgstr ""
169
 
170
- #: packages.php:88 plugins/other_widget/old/widget-taxonomy-list.php:11
171
  msgid "Displays a categories, tags or format list."
172
  msgstr ""
173
 
174
- #: packages.php:89 plugins/other_widget/widget-archives.php:14
175
  #: plugins/other_widget/old/widget-archive-list.php:14
176
  msgid "archive list"
177
  msgstr ""
178
 
179
- #: packages.php:89 plugins/other_widget/widget-archives.php:12
180
  #: plugins/other_widget/old/widget-archive-list.php:12
181
  msgid ""
182
  "Displays a list of archives. You can choose the post type and also to "
183
  "display archives by month or by year."
184
  msgstr ""
185
 
186
- #: packages.php:94
187
  msgid "Widgets"
188
  msgstr ""
189
 
190
- #: packages.php:111
191
  msgid "CSS customize"
192
  msgstr ""
193
 
194
- #: packages.php:112
195
  msgid "You can set Customize CSS."
196
  msgstr ""
197
 
198
- #: packages.php:128 plugins/insert_ads.php:38 plugins/insert_ads.php:118
199
  msgid "Insert ads"
200
  msgstr ""
201
 
202
- #: packages.php:129
203
  msgid "Insert ads to content."
204
  msgstr ""
205
 
206
- #: packages.php:145 vkExUnit_admin.php:233
207
  msgid "Automatic Eye Catch insert"
208
  msgstr ""
209
 
210
- #: packages.php:146
211
  msgid "Display Eye Catch image at before content."
212
  msgstr ""
213
 
@@ -215,15 +240,15 @@ msgstr ""
215
  msgid "Enable setting"
216
  msgstr ""
217
 
218
- #: vkExUnit_admin.php:16 vkExUnit_admin.php:273
219
  msgid "Select all"
220
  msgstr ""
221
 
222
- #: vkExUnit_admin.php:16 vkExUnit_admin.php:273
223
  msgid "Function"
224
  msgstr ""
225
 
226
- #: vkExUnit_admin.php:16 vkExUnit_admin.php:273
227
  msgid "Description"
228
  msgstr ""
229
 
@@ -576,6 +601,118 @@ msgstr ""
576
  msgid "Setting of insert items"
577
  msgstr ""
578
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
579
  #: plugins/child_page_index/child_page_index.php:42
580
  #: plugins/other_widget/widget-3pr-area.php:274
581
  #: plugins/other_widget/widget-3pr-area.php:316
@@ -804,19 +941,19 @@ msgstr ""
804
  msgid "page content to widget"
805
  msgstr ""
806
 
807
- #: plugins/other_widget/widget-page.php:30
808
  #: plugins/other_widget/widget-taxonomies.php:58
809
  #: plugins/other_widget/old/widget-page-content.php:30
810
  #: plugins/other_widget/old/widget-taxonomy-list.php:61
811
  msgid "Display page"
812
  msgstr ""
813
 
814
- #: plugins/other_widget/widget-page.php:38
815
  #: plugins/other_widget/old/widget-page-content.php:38
816
  msgid "display title"
817
  msgstr ""
818
 
819
- #: plugins/other_widget/widget-page.php:64
820
  #: plugins/other_widget/old/widget-page-content.php:61
821
  msgid "Edit"
822
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2015-08-17 11:57+0900\n"
5
  "PO-Revision-Date: \n"
6
  "Last-Translator: Kurudrive <kurudrive@gmail.com>\n"
7
  "Language-Team: Vektor,Inc. <info@vektor-inc.co.jp>\n"
105
  msgid "Archives"
106
  msgstr ""
107
 
108
+ #: packages.php:45 plugins/contact_section.php:71
109
  msgid "Contact Section"
110
  msgstr ""
111
 
112
+ #: packages.php:46
113
  msgid "Display Contact Section at after content."
114
  msgstr ""
115
 
116
+ #: packages.php:49 packages.php:94 packages.php:128 packages.php:145
117
+ #: packages.php:162 vkExUnit_admin.php:109 vkExUnit_admin.php:155
118
+ #: vkExUnit_admin.php:193
119
  msgid "Setting"
120
  msgstr ""
121
 
122
+ #: packages.php:63
123
  msgid "Child page index"
124
  msgstr ""
125
 
126
+ #: packages.php:64
127
  msgid ""
128
  "At the bottom of the specified page, it will display a list of the child "
129
  "page."
130
  msgstr ""
131
 
132
+ #: packages.php:74
133
  msgid "Display HTML Site Map"
134
  msgstr ""
135
 
136
+ #: packages.php:75
137
  msgid "It displays a HTML Site Map to the specified page."
138
  msgstr ""
139
 
140
+ #: packages.php:82 plugins/call_to_action/view.adminsetting.php:10
141
+ msgid "Display the CTA at the end of the post content."
142
+ msgstr ""
143
+
144
+ #: packages.php:84 plugins/call_to_action/view.adminsetting.php:11
145
+ msgid ""
146
+ "The CTA stands for \"Call to action\" and this is the area that prompts the "
147
+ "user behavior."
148
+ msgstr ""
149
+
150
+ #: packages.php:86 plugins/call_to_action/view.adminsetting.php:12
151
+ msgid ""
152
+ "As an example, text message and a link button for induction to the free "
153
+ "sample download page."
154
+ msgstr ""
155
+
156
+ #: packages.php:90 plugins/call_to_action/view.adminsetting.php:6
157
+ msgid "Call To Action"
158
+ msgstr ""
159
+
160
+ #: packages.php:99
161
+ msgid "Contents setting"
162
+ msgstr ""
163
+
164
+ #: packages.php:111
165
  msgid "You can use various widgets."
166
  msgstr ""
167
 
168
+ #: packages.php:113
169
  msgid ""
170
  "VK_Recent Posts - display the link text and the date of the latest article "
171
  "title."
172
  msgstr ""
173
 
174
+ #: packages.php:114
175
  msgid ""
176
  "VK_Page content to widget - display the contents of the page to the widgets."
177
  msgstr ""
178
 
179
+ #: packages.php:115
180
  msgid "VK_Profile - display the profile entered in the widget."
181
  msgstr ""
182
 
183
+ #: packages.php:116
184
  msgid "VK_FB Page Plugin - display the Facebook Page Plugin."
185
  msgstr ""
186
 
187
+ #: packages.php:117
188
  msgid "VK_3PR area - display the 3PR area."
189
  msgstr ""
190
 
191
+ #: packages.php:118 plugins/other_widget/old/widget-taxonomy-list.php:17
192
  msgid "categories/tags list"
193
  msgstr ""
194
 
195
+ #: packages.php:118 plugins/other_widget/old/widget-taxonomy-list.php:11
196
  msgid "Displays a categories, tags or format list."
197
  msgstr ""
198
 
199
+ #: packages.php:119 plugins/other_widget/widget-archives.php:14
200
  #: plugins/other_widget/old/widget-archive-list.php:14
201
  msgid "archive list"
202
  msgstr ""
203
 
204
+ #: packages.php:119 plugins/other_widget/widget-archives.php:12
205
  #: plugins/other_widget/old/widget-archive-list.php:12
206
  msgid ""
207
  "Displays a list of archives. You can choose the post type and also to "
208
  "display archives by month or by year."
209
  msgstr ""
210
 
211
+ #: packages.php:124
212
  msgid "Widgets"
213
  msgstr ""
214
 
215
+ #: packages.php:141
216
  msgid "CSS customize"
217
  msgstr ""
218
 
219
+ #: packages.php:142
220
  msgid "You can set Customize CSS."
221
  msgstr ""
222
 
223
+ #: packages.php:158 plugins/insert_ads.php:37 plugins/insert_ads.php:118
224
  msgid "Insert ads"
225
  msgstr ""
226
 
227
+ #: packages.php:159
228
  msgid "Insert ads to content."
229
  msgstr ""
230
 
231
+ #: packages.php:175 vkExUnit_admin.php:233
232
  msgid "Automatic Eye Catch insert"
233
  msgstr ""
234
 
235
+ #: packages.php:176
236
  msgid "Display Eye Catch image at before content."
237
  msgstr ""
238
 
240
  msgid "Enable setting"
241
  msgstr ""
242
 
243
+ #: vkExUnit_admin.php:16 vkExUnit_admin.php:280
244
  msgid "Select all"
245
  msgstr ""
246
 
247
+ #: vkExUnit_admin.php:16 vkExUnit_admin.php:280
248
  msgid "Function"
249
  msgstr ""
250
 
251
+ #: vkExUnit_admin.php:16 vkExUnit_admin.php:280
252
  msgid "Description"
253
  msgstr ""
254
 
601
  msgid "Setting of insert items"
602
  msgstr ""
603
 
604
+ #: plugins/call_to_action/class.call_to_action.php:48
605
+ msgid "Edit CTA"
606
+ msgstr ""
607
+
608
+ #: plugins/call_to_action/class.call_to_action.php:49
609
+ msgid "Add new CTA"
610
+ msgstr ""
611
+
612
+ #: plugins/call_to_action/class.call_to_action.php:50
613
+ msgid "New CTA"
614
+ msgstr ""
615
+
616
+ #: plugins/call_to_action/class.call_to_action.php:76
617
+ #: plugins/call_to_action/class.call_to_action.php:78
618
+ #: plugins/call_to_action/class.call_to_action.php:79
619
+ msgid "Call to Action setting"
620
+ msgstr ""
621
+
622
+ #: plugins/call_to_action/class.call_to_action.php:81
623
+ msgid "CTA Contents"
624
+ msgstr ""
625
+
626
+ #: plugins/call_to_action/class.call_to_action.php:89
627
+ msgid "Follow common setting"
628
+ msgstr ""
629
+
630
+ #: plugins/call_to_action/class.call_to_action.php:90
631
+ #: plugins/call_to_action/class.call_to_action.php:397
632
+ msgid "Disable display"
633
+ msgstr ""
634
+
635
+ #: plugins/call_to_action/class.call_to_action.php:101
636
+ msgid "CTA common setting"
637
+ msgstr ""
638
+
639
+ #: plugins/call_to_action/class.call_to_action.php:102
640
+ #: plugins/call_to_action/view.adminsetting.php:22
641
+ msgid "Show CTA index page"
642
+ msgstr ""
643
+
644
+ #: plugins/call_to_action/class.call_to_action.php:167
645
+ msgid "CTA image"
646
+ msgstr ""
647
+
648
+ #: plugins/call_to_action/class.call_to_action.php:173
649
+ msgid "Add image"
650
+ msgstr ""
651
+
652
+ #: plugins/call_to_action/class.call_to_action.php:174
653
+ msgid "Change image"
654
+ msgstr ""
655
+
656
+ #: plugins/call_to_action/class.call_to_action.php:175
657
+ msgid "Remove image"
658
+ msgstr ""
659
+
660
+ #: plugins/call_to_action/class.call_to_action.php:180
661
+ msgid "CTA image position"
662
+ msgstr ""
663
+
664
+ #: plugins/call_to_action/class.call_to_action.php:183
665
+ msgid "right"
666
+ msgstr ""
667
+
668
+ #: plugins/call_to_action/class.call_to_action.php:184
669
+ msgid "center"
670
+ msgstr ""
671
+
672
+ #: plugins/call_to_action/class.call_to_action.php:185
673
+ msgid "left"
674
+ msgstr ""
675
+
676
+ #: plugins/call_to_action/class.call_to_action.php:189
677
+ msgid "Button text"
678
+ msgstr ""
679
+
680
+ #: plugins/call_to_action/class.call_to_action.php:192
681
+ msgid "Button link url"
682
+ msgstr ""
683
+
684
+ #: plugins/call_to_action/class.call_to_action.php:195
685
+ msgid "Text message"
686
+ msgstr ""
687
+
688
+ #: plugins/call_to_action/class.call_to_action.php:201
689
+ msgid "CTA setting"
690
+ msgstr ""
691
+
692
+ #: plugins/call_to_action/view.adminsetting.php:14
693
+ msgid "How to use"
694
+ msgstr ""
695
+
696
+ #: plugins/call_to_action/view.adminsetting.php:17
697
+ msgid ""
698
+ "You register the contents on \"CTA\" that you want to display to bottom of "
699
+ "the content."
700
+ msgstr ""
701
+
702
+ #: plugins/call_to_action/view.adminsetting.php:18
703
+ msgid "Choose the CTA to be displayed from the following."
704
+ msgstr ""
705
+
706
+ #: plugins/call_to_action/view.adminsetting.php:19
707
+ msgid ""
708
+ "If you want to switch the CTA to be displayed on each post, please set in "
709
+ "the details page of such posting."
710
+ msgstr ""
711
+
712
+ #: plugins/call_to_action/view.adminsetting.php:32
713
+ msgid "Show index page"
714
+ msgstr ""
715
+
716
  #: plugins/child_page_index/child_page_index.php:42
717
  #: plugins/other_widget/widget-3pr-area.php:274
718
  #: plugins/other_widget/widget-3pr-area.php:316
941
  msgid "page content to widget"
942
  msgstr ""
943
 
944
+ #: plugins/other_widget/widget-page.php:33
945
  #: plugins/other_widget/widget-taxonomies.php:58
946
  #: plugins/other_widget/old/widget-page-content.php:30
947
  #: plugins/other_widget/old/widget-taxonomy-list.php:61
948
  msgid "Display page"
949
  msgstr ""
950
 
951
+ #: plugins/other_widget/widget-page.php:41
952
  #: plugins/other_widget/old/widget-page-content.php:38
953
  msgid "display title"
954
  msgstr ""
955
 
956
+ #: plugins/other_widget/widget-page.php:67
957
  #: plugins/other_widget/old/widget-page-content.php:61
958
  msgid "Edit"
959
  msgstr ""
plugins/insert_ads.php CHANGED
@@ -28,7 +28,9 @@ class vExUnit_Ads {
28
 
29
  protected function run_init() {
30
  add_action('admin_init', array($this, 'option_init' ));
31
- add_filter('the_content', array($this, 'set_content' ), 1);
 
 
32
  add_shortcode('vkExUnit_ad', array($this, 'shortcode') );
33
  }
34
 
@@ -43,8 +45,6 @@ class vExUnit_Ads {
43
 
44
 
45
  public function set_content($content){
46
- if( get_post_type() != 'post' ){ return $content; }
47
-
48
  $option = $this->get_option();
49
 
50
  $content = preg_replace('/(<span id="more-[0-9]+"><\/span>)/', '$1'.'[vkExUnit_ad area=more]' , $content);
28
 
29
  protected function run_init() {
30
  add_action('admin_init', array($this, 'option_init' ));
31
+ if( get_post_type() == 'post' ){
32
+ add_filter('the_content', array($this, 'set_content' ), 1);
33
+ }
34
  add_shortcode('vkExUnit_ad', array($this, 'shortcode') );
35
  }
36
 
45
 
46
 
47
  public function set_content($content){
 
 
48
  $option = $this->get_option();
49
 
50
  $content = preg_replace('/(<span id="more-[0-9]+"><\/span>)/', '$1'.'[vkExUnit_ad area=more]' , $content);
plugins/other_widget/widget-page.php CHANGED
@@ -55,9 +55,7 @@ class WP_Widget_vkExUnit_widget_page extends WP_Widget {
55
  $page = get_page($pageid);
56
  echo PHP_EOL.'<div id="widget-page-'.$pageid.'" class="widget widget_pageContent">'.PHP_EOL;
57
  if($titleflag){ echo '<h1 class="widget-title">'.$page->post_title.'</h1>'.PHP_EOL; }
58
- remove_filter( 'the_content', 'vkExUnit_add_snsBtns', 200, 1 );
59
  echo apply_filters('the_content', $page->post_content );
60
- add_filter( 'the_content', 'vkExUnit_add_snsBtns', 200, 1);
61
 
62
  if ( is_user_logged_in() == TRUE ) {
63
  global $user_level;
55
  $page = get_page($pageid);
56
  echo PHP_EOL.'<div id="widget-page-'.$pageid.'" class="widget widget_pageContent">'.PHP_EOL;
57
  if($titleflag){ echo '<h1 class="widget-title">'.$page->post_title.'</h1>'.PHP_EOL; }
 
58
  echo apply_filters('the_content', $page->post_content );
 
59
 
60
  if ( is_user_logged_in() == TRUE ) {
61
  global $user_level;
plugins/sns/function_snsBtns.php CHANGED
@@ -4,6 +4,9 @@
4
  // is_single()
5
 
6
  function vkExUnit_add_snsBtns($content){
 
 
 
7
  if (is_single() || is_page()) :
8
  if (is_home() || is_front_page()) {
9
  $linkUrl = home_url();
4
  // is_single()
5
 
6
  function vkExUnit_add_snsBtns($content){
7
+ global $is_pagewidget;
8
+ if( $is_pagewidget ) return $content;
9
+
10
  if (is_single() || is_page()) :
11
  if (is_home() || is_front_page()) {
12
  $linkUrl = home_url();
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.2
6
  Tested up to: 4.2
7
- Stable tag: 2.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
4
  Tags: Google Analytics, New posts, Related Posts, sitemap, sns, twitter card, Facebook Page Plugin, OG tags,
5
  Requires at least: 4.2
6
  Tested up to: 4.2
7
+ Stable tag: 2.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
vkExUnit.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: VK All in One Expansion Unit
4
  Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
5
  Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
- Version: 2.1.2
7
  Author: Vektor,Inc.
8
  Author URI: http://vektor-inc.co.jp
9
  License: GPL2
3
  Plugin Name: VK All in One Expansion Unit
4
  Plugin URI: https://github.com/kurudrive/VK-All-in-one-Expansion-Unit
5
  Description: This plug-in is an integrated plug-in with a variety of features that make it powerful your web site. Many features can be stopped individually. Example Facebook Page Plugin,Social Bookmarks,Print OG Tags,Print Twitter Card Tags,Print Google Analytics tag,New post widget,Insert Related Posts and more!
6
+ Version: 2.1.3
7
  Author: Vektor,Inc.
8
  Author URI: http://vektor-inc.co.jp
9
  License: GPL2