LuckyWP Table of Contents - Version 1.1.1

Version Description

  • Tag <noindex> replaced to <!--noindex-->.
Download this release

Release Info

Developer theluckywp
Plugin Icon 128x128 LuckyWP Table of Contents
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

admin/Admin.php CHANGED
@@ -190,7 +190,7 @@ class Admin extends BaseObject
190
  }
191
  }
192
  if (null !== $v = $getValue($source, 'wrapNoindex')) {
193
- $rows[] = [esc_html__('Wrap table of contents with <noindex> tag', 'lwptoc'), $v ? __('Enabled', 'lwptoc') : __('Disabled', 'lwptoc')];
194
  }
195
  return array_map(function ($row) {
196
  if ($row[1] !== null && ArrayHelper::getValue($row, 2, true) === true) {
190
  }
191
  }
192
  if (null !== $v = $getValue($source, 'wrapNoindex')) {
193
+ $rows[] = [esc_html__('Wrap table of contents with <!--noindex--> tag', 'lwptoc'), $v ? __('Enabled', 'lwptoc') : __('Disabled', 'lwptoc')];
194
  }
195
  return array_map(function ($row) {
196
  if ($row[1] !== null && ArrayHelper::getValue($row, 2, true) === true) {
admin/widgets/customizeModal/views/modal.php CHANGED
@@ -487,7 +487,7 @@ echo $onlyBody ? '' : '<div class="lwptocCustomize lwptocCustomize-metabox">';
487
  <?php $defaultValue = ($model->isPostSettings || is_null($model->postSettings->wrapNoindex)) ? Core::$plugin->settings->miscWrapNoindex : $model->postSettings->wrapNoindex ?>
488
  <div class="lwptocCustomize_field<?= $model->defaultWrapNoindex ? ' lwptocCustomize_field-default' : '' ?>">
489
  <div class="lwptocCustomize_field_header">
490
- <span class="lwptocCustomize_field_label"><?= esc_html__('Wrap table of contents with <noindex> tag', 'lwptoc') ?></span>
491
  <span class="lwptocCustomize_field_default"><?= __('default', 'lwptoc') ?></span>
492
  </div>
493
  <div class="lwptocCustomize_field_override">
487
  <?php $defaultValue = ($model->isPostSettings || is_null($model->postSettings->wrapNoindex)) ? Core::$plugin->settings->miscWrapNoindex : $model->postSettings->wrapNoindex ?>
488
  <div class="lwptocCustomize_field<?= $model->defaultWrapNoindex ? ' lwptocCustomize_field-default' : '' ?>">
489
  <div class="lwptocCustomize_field_header">
490
+ <span class="lwptocCustomize_field_label"><?= esc_html__('Wrap table of contents with <!--noindex--> tag', 'lwptoc') ?></span>
491
  <span class="lwptocCustomize_field_default"><?= __('default', 'lwptoc') ?></span>
492
  </div>
493
  <div class="lwptocCustomize_field_override">
config/settings.php CHANGED
@@ -319,7 +319,7 @@ return [
319
  'widget' => 'checkbox',
320
  'params' => [
321
  'checkboxOptions' => [
322
- 'label' => esc_html__('Wrap table of contents with <noindex> tag', 'lwptoc'),
323
  ],
324
  ],
325
  'default' => false,
319
  'widget' => 'checkbox',
320
  'params' => [
321
  'checkboxOptions' => [
322
+ 'label' => esc_html__('Wrap table of contents with <!--noindex--> tag', 'lwptoc'),
323
  ],
324
  ],
325
  'default' => false,
languages/lwptoc-ru_RU.mo CHANGED
Binary file
languages/lwptoc.pot CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2018-11-14 12:23+0300\n"
5
- "PO-Revision-Date: 2018-11-14 12:24+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru_RU\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.1.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
  "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
@@ -21,120 +21,129 @@ msgstr ""
21
  msgid "Settings"
22
  msgstr ""
23
 
24
- #: admin/Admin.php:47 admin/Admin.php:48 admin/Admin.php:72 admin/Admin.php:98
25
  #: admin/controllers/EditorBlockController.php:65
26
  #: admin/controllers/ShortcodeController.php:68
27
  msgid "Table of Contents"
28
  msgstr ""
29
 
30
- #: admin/Admin.php:99
31
  msgid "Edit"
32
  msgstr ""
33
 
34
- #: admin/Admin.php:126 admin/forms/CustomizeForm.php:207
35
- #: admin/widgets/customizeModal/views/modal.php:47 config/settings.php:282
36
  msgid "Position"
37
  msgstr ""
38
 
39
- #: admin/Admin.php:129 admin/widgets/customizeModal/views/modal.php:70
40
- #: config/settings.php:19
41
  msgid "Minimal Count of Headers"
42
  msgstr ""
43
 
44
- #: admin/Admin.php:132 admin/forms/CustomizeForm.php:203
45
- #: admin/widgets/customizeModal/views/modal.php:93 config/settings.php:31
46
  msgid "Depth"
47
  msgstr ""
48
 
49
- #: admin/Admin.php:135 admin/widgets/customizeModal/views/modal.php:115
50
- #: config/settings.php:40
51
  msgid "Hierarchical View"
52
  msgstr ""
53
 
54
- #: admin/Admin.php:135 admin/Admin.php:144 admin/Admin.php:153
55
- #: admin/Admin.php:156 admin/widgets/customizeModal/views/modal.php:131
56
- #: admin/widgets/customizeModal/views/modal.php:202
57
- #: admin/widgets/customizeModal/views/modal.php:265
58
- #: admin/widgets/customizeModal/views/modal.php:288
 
 
59
  msgid "Enabled"
60
  msgstr ""
61
 
62
- #: admin/Admin.php:135 admin/Admin.php:144 admin/Admin.php:153
63
- #: admin/Admin.php:156 admin/widgets/customizeModal/views/modal.php:131
64
- #: admin/widgets/customizeModal/views/modal.php:202
65
- #: admin/widgets/customizeModal/views/modal.php:265
66
- #: admin/widgets/customizeModal/views/modal.php:288
 
 
67
  msgid "Disabled"
68
  msgstr ""
69
 
70
- #: admin/Admin.php:138 admin/forms/CustomizeForm.php:204
71
- #: admin/widgets/customizeModal/views/modal.php:138 config/settings.php:51
72
  msgid "Numeration"
73
  msgstr ""
74
 
75
- #: admin/Admin.php:141 admin/widgets/customizeModal/views/modal.php:160
76
- #: config/settings.php:66
77
  msgid "Title"
78
  msgstr ""
79
 
80
- #: admin/Admin.php:144 admin/widgets/customizeModal/views/modal.php:186
81
- #: config/settings.php:72
82
  msgid "Toggle Show/Hide"
83
  msgstr ""
84
 
85
- #: admin/Admin.php:147 admin/forms/CustomizeForm.php:205
86
- #: admin/widgets/customizeModal/views/modal.php:209 config/settings.php:84
87
  msgid "Label Show"
88
  msgstr ""
89
 
90
- #: admin/Admin.php:150 admin/forms/CustomizeForm.php:206
91
- #: admin/widgets/customizeModal/views/modal.php:229 config/settings.php:95
92
  msgid "Label Hide"
93
  msgstr ""
94
 
95
- #: admin/Admin.php:153
96
  msgid "Hide Items"
97
  msgstr ""
98
 
99
- #: admin/Admin.php:156 admin/widgets/customizeModal/views/modal.php:272
100
- #: config/settings.php:123
101
  msgid "Smooth Scroll"
102
  msgstr ""
103
 
104
- #: admin/Admin.php:159 admin/widgets/customizeModal/views/modal.php:295
105
  msgid "Smooth Scroll Offset Top"
106
  msgstr ""
107
 
108
- #: admin/Admin.php:162 admin/widgets/customizeModal/views/modal.php:319
109
- #: config/settings.php:159
110
  msgid "Width"
111
  msgstr ""
112
 
113
- #: admin/Admin.php:165 admin/forms/CustomizeForm.php:208
114
- #: admin/widgets/customizeModal/views/modal.php:342 config/settings.php:171
115
  msgid "Float"
116
  msgstr ""
117
 
118
- #: admin/Admin.php:168 admin/widgets/customizeModal/views/modal.php:364
119
- #: config/settings.php:180
120
  msgid "Title Font Size"
121
  msgstr ""
122
 
123
- #: admin/Admin.php:171 admin/forms/CustomizeForm.php:209
124
- #: admin/widgets/customizeModal/views/modal.php:388 config/settings.php:193
125
  msgid "Title Font Weight"
126
  msgstr ""
127
 
128
- #: admin/Admin.php:174 admin/widgets/customizeModal/views/modal.php:410
129
- #: config/settings.php:202
130
  msgid "Items Font Size"
131
  msgstr ""
132
 
133
- #: admin/Admin.php:177 admin/forms/CustomizeForm.php:210
134
- #: admin/widgets/customizeModal/views/modal.php:434 config/settings.php:215
135
  msgid "Color Scheme"
136
  msgstr ""
137
 
 
 
 
 
 
138
  #: admin/controllers/EditorBlockController.php:71
139
  #: admin/controllers/ShortcodeController.php:74
140
  #: admin/widgets/metabox/views/box.php:26
@@ -150,7 +159,7 @@ msgid "from scheme"
150
  msgstr ""
151
 
152
  #: admin/widgets/customizeModal/views/modal.php:23
153
- #: admin/widgets/customizeModal/views/modal.php:487
154
  msgid "Cancel"
155
  msgstr ""
156
 
@@ -158,82 +167,89 @@ msgstr ""
158
  msgid "Customize Table of Contents"
159
  msgstr ""
160
 
161
- #: admin/widgets/customizeModal/views/modal.php:38 config/settings.php:13
162
  msgid "General"
163
  msgstr ""
164
 
165
- #: admin/widgets/customizeModal/views/modal.php:39 config/settings.php:153
166
  msgid "Appearance"
167
  msgstr ""
168
 
169
- #: admin/widgets/customizeModal/views/modal.php:48
170
- #: admin/widgets/customizeModal/views/modal.php:71
171
- #: admin/widgets/customizeModal/views/modal.php:94
172
- #: admin/widgets/customizeModal/views/modal.php:116
173
- #: admin/widgets/customizeModal/views/modal.php:139
174
- #: admin/widgets/customizeModal/views/modal.php:161
175
- #: admin/widgets/customizeModal/views/modal.php:187
176
- #: admin/widgets/customizeModal/views/modal.php:210
177
- #: admin/widgets/customizeModal/views/modal.php:230
178
- #: admin/widgets/customizeModal/views/modal.php:250
179
- #: admin/widgets/customizeModal/views/modal.php:273
180
- #: admin/widgets/customizeModal/views/modal.php:296
181
- #: admin/widgets/customizeModal/views/modal.php:320
182
- #: admin/widgets/customizeModal/views/modal.php:343
183
- #: admin/widgets/customizeModal/views/modal.php:365
184
- #: admin/widgets/customizeModal/views/modal.php:389
185
- #: admin/widgets/customizeModal/views/modal.php:411
186
- #: admin/widgets/customizeModal/views/modal.php:435
187
- #: admin/widgets/customizeModal/views/modal.php:465
 
 
 
 
 
188
  msgid "default"
189
  msgstr ""
190
 
191
- #: admin/widgets/customizeModal/views/modal.php:51
192
- #: admin/widgets/customizeModal/views/modal.php:74
193
- #: admin/widgets/customizeModal/views/modal.php:97
194
- #: admin/widgets/customizeModal/views/modal.php:119
195
- #: admin/widgets/customizeModal/views/modal.php:142
196
- #: admin/widgets/customizeModal/views/modal.php:164
197
- #: admin/widgets/customizeModal/views/modal.php:190
198
- #: admin/widgets/customizeModal/views/modal.php:213
199
- #: admin/widgets/customizeModal/views/modal.php:233
200
- #: admin/widgets/customizeModal/views/modal.php:253
201
- #: admin/widgets/customizeModal/views/modal.php:276
202
- #: admin/widgets/customizeModal/views/modal.php:299
203
- #: admin/widgets/customizeModal/views/modal.php:323
204
- #: admin/widgets/customizeModal/views/modal.php:346
205
- #: admin/widgets/customizeModal/views/modal.php:368
206
- #: admin/widgets/customizeModal/views/modal.php:392
207
- #: admin/widgets/customizeModal/views/modal.php:414
208
- #: admin/widgets/customizeModal/views/modal.php:438
209
- #: admin/widgets/customizeModal/views/modal.php:468
 
210
  msgid "Click for override default value"
211
  msgstr ""
212
 
213
- #: admin/widgets/customizeModal/views/modal.php:83 config/settings.php:27
214
  msgid ""
215
  "If the count of headers in the post is less, then table of contents is not "
216
  "displayed."
217
  msgstr ""
218
 
219
- #: admin/widgets/customizeModal/views/modal.php:124
220
- #: admin/widgets/customizeModal/views/modal.php:195
221
- #: admin/widgets/customizeModal/views/modal.php:258
222
- #: admin/widgets/customizeModal/views/modal.php:281
223
- #: admin/widgets/metabox/views/box.php:45 config/settings.php:44
224
- #: config/settings.php:76 config/settings.php:127 config/settings.php:274
 
225
  msgid "Enable"
226
  msgstr ""
227
 
228
- #: admin/widgets/customizeModal/views/modal.php:175
229
  msgid "Without title"
230
  msgstr ""
231
 
232
- #: admin/widgets/customizeModal/views/modal.php:249 config/settings.php:110
233
  msgid "By default, items of contents will be hidden"
234
  msgstr ""
235
 
236
- #: admin/widgets/customizeModal/views/modal.php:490
237
  msgid "Save"
238
  msgstr ""
239
 
@@ -269,67 +285,67 @@ msgstr ""
269
  msgid "Click \"Enable\" for automatic add table of contents to this post."
270
  msgstr ""
271
 
272
- #: config/settings.php:62
273
  msgid "Header"
274
  msgstr ""
275
 
276
- #: config/settings.php:68 plugin/Settings.php:85
277
  msgid "Contents"
278
  msgstr ""
279
 
280
- #: config/settings.php:91 plugin/Settings.php:101
281
  msgid "show"
282
  msgstr ""
283
 
284
- #: config/settings.php:102 plugin/Settings.php:109
285
  msgid "hide"
286
  msgstr ""
287
 
288
- #: config/settings.php:119
289
  msgid "Behavior"
290
  msgstr ""
291
 
292
- #: config/settings.php:135
293
  msgid "Scroll Offset Top"
294
  msgstr ""
295
 
296
- #: config/settings.php:225
297
  msgid "Override Color Scheme Colors"
298
  msgstr ""
299
 
300
- #: config/settings.php:230
301
  msgid "Background Color"
302
  msgstr ""
303
 
304
- #: config/settings.php:235
305
  msgid "Border Color"
306
  msgstr ""
307
 
308
- #: config/settings.php:240
309
  msgid "Title Color"
310
  msgstr ""
311
 
312
- #: config/settings.php:245
313
  msgid "Link Color"
314
  msgstr ""
315
 
316
- #: config/settings.php:250
317
  msgid "Hover Link Color"
318
  msgstr ""
319
 
320
- #: config/settings.php:255
321
  msgid "Visited Link Color"
322
  msgstr ""
323
 
324
- #: config/settings.php:264
325
  msgid "Auto Insert"
326
  msgstr ""
327
 
328
- #: config/settings.php:270
329
  msgid "Auto Insert Table of Contents"
330
  msgstr ""
331
 
332
- #: config/settings.php:294
333
  msgid "Post Types"
334
  msgstr ""
335
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2019-04-15 09:59+0300\n"
5
+ "PO-Revision-Date: 2019-04-15 10:02+0300\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: ru_RU\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.2.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
  "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
21
  msgid "Settings"
22
  msgstr ""
23
 
24
+ #: admin/Admin.php:47 admin/Admin.php:48 admin/Admin.php:72 admin/Admin.php:99
25
  #: admin/controllers/EditorBlockController.php:65
26
  #: admin/controllers/ShortcodeController.php:68
27
  msgid "Table of Contents"
28
  msgstr ""
29
 
30
+ #: admin/Admin.php:100
31
  msgid "Edit"
32
  msgstr ""
33
 
34
+ #: admin/Admin.php:127 admin/forms/CustomizeForm.php:213
35
+ #: admin/widgets/customizeModal/views/modal.php:48 config/settings.php:283
36
  msgid "Position"
37
  msgstr ""
38
 
39
+ #: admin/Admin.php:130 admin/widgets/customizeModal/views/modal.php:71
40
+ #: config/settings.php:20
41
  msgid "Minimal Count of Headers"
42
  msgstr ""
43
 
44
+ #: admin/Admin.php:133 admin/forms/CustomizeForm.php:209
45
+ #: admin/widgets/customizeModal/views/modal.php:94 config/settings.php:32
46
  msgid "Depth"
47
  msgstr ""
48
 
49
+ #: admin/Admin.php:136 admin/widgets/customizeModal/views/modal.php:116
50
+ #: config/settings.php:41
51
  msgid "Hierarchical View"
52
  msgstr ""
53
 
54
+ #: admin/Admin.php:136 admin/Admin.php:145 admin/Admin.php:154
55
+ #: admin/Admin.php:157 admin/Admin.php:193
56
+ #: admin/widgets/customizeModal/views/modal.php:132
57
+ #: admin/widgets/customizeModal/views/modal.php:203
58
+ #: admin/widgets/customizeModal/views/modal.php:266
59
+ #: admin/widgets/customizeModal/views/modal.php:289
60
+ #: admin/widgets/customizeModal/views/modal.php:506
61
  msgid "Enabled"
62
  msgstr ""
63
 
64
+ #: admin/Admin.php:136 admin/Admin.php:145 admin/Admin.php:154
65
+ #: admin/Admin.php:157 admin/Admin.php:193
66
+ #: admin/widgets/customizeModal/views/modal.php:132
67
+ #: admin/widgets/customizeModal/views/modal.php:203
68
+ #: admin/widgets/customizeModal/views/modal.php:266
69
+ #: admin/widgets/customizeModal/views/modal.php:289
70
+ #: admin/widgets/customizeModal/views/modal.php:506
71
  msgid "Disabled"
72
  msgstr ""
73
 
74
+ #: admin/Admin.php:139 admin/forms/CustomizeForm.php:210
75
+ #: admin/widgets/customizeModal/views/modal.php:139 config/settings.php:52
76
  msgid "Numeration"
77
  msgstr ""
78
 
79
+ #: admin/Admin.php:142 admin/widgets/customizeModal/views/modal.php:161
80
+ #: config/settings.php:67
81
  msgid "Title"
82
  msgstr ""
83
 
84
+ #: admin/Admin.php:145 admin/widgets/customizeModal/views/modal.php:187
85
+ #: config/settings.php:73
86
  msgid "Toggle Show/Hide"
87
  msgstr ""
88
 
89
+ #: admin/Admin.php:148 admin/forms/CustomizeForm.php:211
90
+ #: admin/widgets/customizeModal/views/modal.php:210 config/settings.php:85
91
  msgid "Label Show"
92
  msgstr ""
93
 
94
+ #: admin/Admin.php:151 admin/forms/CustomizeForm.php:212
95
+ #: admin/widgets/customizeModal/views/modal.php:230 config/settings.php:96
96
  msgid "Label Hide"
97
  msgstr ""
98
 
99
+ #: admin/Admin.php:154
100
  msgid "Hide Items"
101
  msgstr ""
102
 
103
+ #: admin/Admin.php:157 admin/widgets/customizeModal/views/modal.php:273
104
+ #: config/settings.php:124
105
  msgid "Smooth Scroll"
106
  msgstr ""
107
 
108
+ #: admin/Admin.php:160 admin/widgets/customizeModal/views/modal.php:296
109
  msgid "Smooth Scroll Offset Top"
110
  msgstr ""
111
 
112
+ #: admin/Admin.php:163 admin/widgets/customizeModal/views/modal.php:320
113
+ #: config/settings.php:160
114
  msgid "Width"
115
  msgstr ""
116
 
117
+ #: admin/Admin.php:166 admin/forms/CustomizeForm.php:214
118
+ #: admin/widgets/customizeModal/views/modal.php:343 config/settings.php:172
119
  msgid "Float"
120
  msgstr ""
121
 
122
+ #: admin/Admin.php:169 admin/widgets/customizeModal/views/modal.php:365
123
+ #: config/settings.php:181
124
  msgid "Title Font Size"
125
  msgstr ""
126
 
127
+ #: admin/Admin.php:172 admin/forms/CustomizeForm.php:215
128
+ #: admin/widgets/customizeModal/views/modal.php:389 config/settings.php:194
129
  msgid "Title Font Weight"
130
  msgstr ""
131
 
132
+ #: admin/Admin.php:175 admin/widgets/customizeModal/views/modal.php:411
133
+ #: config/settings.php:203
134
  msgid "Items Font Size"
135
  msgstr ""
136
 
137
+ #: admin/Admin.php:178 admin/forms/CustomizeForm.php:216
138
+ #: admin/widgets/customizeModal/views/modal.php:435 config/settings.php:216
139
  msgid "Color Scheme"
140
  msgstr ""
141
 
142
+ #: admin/Admin.php:193 admin/widgets/customizeModal/views/modal.php:490
143
+ #: config/settings.php:322
144
+ msgid "Wrap table of contents with <!--noindex--> tag"
145
+ msgstr ""
146
+
147
  #: admin/controllers/EditorBlockController.php:71
148
  #: admin/controllers/ShortcodeController.php:74
149
  #: admin/widgets/metabox/views/box.php:26
159
  msgstr ""
160
 
161
  #: admin/widgets/customizeModal/views/modal.php:23
162
+ #: admin/widgets/customizeModal/views/modal.php:515
163
  msgid "Cancel"
164
  msgstr ""
165
 
167
  msgid "Customize Table of Contents"
168
  msgstr ""
169
 
170
+ #: admin/widgets/customizeModal/views/modal.php:38 config/settings.php:14
171
  msgid "General"
172
  msgstr ""
173
 
174
+ #: admin/widgets/customizeModal/views/modal.php:39 config/settings.php:154
175
  msgid "Appearance"
176
  msgstr ""
177
 
178
+ #: admin/widgets/customizeModal/views/modal.php:40 config/settings.php:313
179
+ msgid "Misc."
180
+ msgstr ""
181
+
182
+ #: admin/widgets/customizeModal/views/modal.php:49
183
+ #: admin/widgets/customizeModal/views/modal.php:72
184
+ #: admin/widgets/customizeModal/views/modal.php:95
185
+ #: admin/widgets/customizeModal/views/modal.php:117
186
+ #: admin/widgets/customizeModal/views/modal.php:140
187
+ #: admin/widgets/customizeModal/views/modal.php:162
188
+ #: admin/widgets/customizeModal/views/modal.php:188
189
+ #: admin/widgets/customizeModal/views/modal.php:211
190
+ #: admin/widgets/customizeModal/views/modal.php:231
191
+ #: admin/widgets/customizeModal/views/modal.php:251
192
+ #: admin/widgets/customizeModal/views/modal.php:274
193
+ #: admin/widgets/customizeModal/views/modal.php:297
194
+ #: admin/widgets/customizeModal/views/modal.php:321
195
+ #: admin/widgets/customizeModal/views/modal.php:344
196
+ #: admin/widgets/customizeModal/views/modal.php:366
197
+ #: admin/widgets/customizeModal/views/modal.php:390
198
+ #: admin/widgets/customizeModal/views/modal.php:412
199
+ #: admin/widgets/customizeModal/views/modal.php:436
200
+ #: admin/widgets/customizeModal/views/modal.php:466
201
+ #: admin/widgets/customizeModal/views/modal.php:491
202
  msgid "default"
203
  msgstr ""
204
 
205
+ #: admin/widgets/customizeModal/views/modal.php:52
206
+ #: admin/widgets/customizeModal/views/modal.php:75
207
+ #: admin/widgets/customizeModal/views/modal.php:98
208
+ #: admin/widgets/customizeModal/views/modal.php:120
209
+ #: admin/widgets/customizeModal/views/modal.php:143
210
+ #: admin/widgets/customizeModal/views/modal.php:165
211
+ #: admin/widgets/customizeModal/views/modal.php:191
212
+ #: admin/widgets/customizeModal/views/modal.php:214
213
+ #: admin/widgets/customizeModal/views/modal.php:234
214
+ #: admin/widgets/customizeModal/views/modal.php:254
215
+ #: admin/widgets/customizeModal/views/modal.php:277
216
+ #: admin/widgets/customizeModal/views/modal.php:300
217
+ #: admin/widgets/customizeModal/views/modal.php:324
218
+ #: admin/widgets/customizeModal/views/modal.php:347
219
+ #: admin/widgets/customizeModal/views/modal.php:369
220
+ #: admin/widgets/customizeModal/views/modal.php:393
221
+ #: admin/widgets/customizeModal/views/modal.php:415
222
+ #: admin/widgets/customizeModal/views/modal.php:439
223
+ #: admin/widgets/customizeModal/views/modal.php:469
224
+ #: admin/widgets/customizeModal/views/modal.php:494
225
  msgid "Click for override default value"
226
  msgstr ""
227
 
228
+ #: admin/widgets/customizeModal/views/modal.php:84 config/settings.php:28
229
  msgid ""
230
  "If the count of headers in the post is less, then table of contents is not "
231
  "displayed."
232
  msgstr ""
233
 
234
+ #: admin/widgets/customizeModal/views/modal.php:125
235
+ #: admin/widgets/customizeModal/views/modal.php:196
236
+ #: admin/widgets/customizeModal/views/modal.php:259
237
+ #: admin/widgets/customizeModal/views/modal.php:282
238
+ #: admin/widgets/customizeModal/views/modal.php:499
239
+ #: admin/widgets/metabox/views/box.php:45 config/settings.php:45
240
+ #: config/settings.php:77 config/settings.php:128 config/settings.php:275
241
  msgid "Enable"
242
  msgstr ""
243
 
244
+ #: admin/widgets/customizeModal/views/modal.php:176
245
  msgid "Without title"
246
  msgstr ""
247
 
248
+ #: admin/widgets/customizeModal/views/modal.php:250 config/settings.php:111
249
  msgid "By default, items of contents will be hidden"
250
  msgstr ""
251
 
252
+ #: admin/widgets/customizeModal/views/modal.php:518
253
  msgid "Save"
254
  msgstr ""
255
 
285
  msgid "Click \"Enable\" for automatic add table of contents to this post."
286
  msgstr ""
287
 
288
+ #: config/settings.php:63
289
  msgid "Header"
290
  msgstr ""
291
 
292
+ #: config/settings.php:69 plugin/Settings.php:87
293
  msgid "Contents"
294
  msgstr ""
295
 
296
+ #: config/settings.php:92 plugin/Settings.php:103
297
  msgid "show"
298
  msgstr ""
299
 
300
+ #: config/settings.php:103 plugin/Settings.php:111
301
  msgid "hide"
302
  msgstr ""
303
 
304
+ #: config/settings.php:120
305
  msgid "Behavior"
306
  msgstr ""
307
 
308
+ #: config/settings.php:136
309
  msgid "Scroll Offset Top"
310
  msgstr ""
311
 
312
+ #: config/settings.php:226
313
  msgid "Override Color Scheme Colors"
314
  msgstr ""
315
 
316
+ #: config/settings.php:231
317
  msgid "Background Color"
318
  msgstr ""
319
 
320
+ #: config/settings.php:236
321
  msgid "Border Color"
322
  msgstr ""
323
 
324
+ #: config/settings.php:241
325
  msgid "Title Color"
326
  msgstr ""
327
 
328
+ #: config/settings.php:246
329
  msgid "Link Color"
330
  msgstr ""
331
 
332
+ #: config/settings.php:251
333
  msgid "Hover Link Color"
334
  msgstr ""
335
 
336
+ #: config/settings.php:256
337
  msgid "Visited Link Color"
338
  msgstr ""
339
 
340
+ #: config/settings.php:265
341
  msgid "Auto Insert"
342
  msgstr ""
343
 
344
+ #: config/settings.php:271
345
  msgid "Auto Insert Table of Contents"
346
  msgstr ""
347
 
348
+ #: config/settings.php:295
349
  msgid "Post Types"
350
  msgstr ""
351
 
luckywp-table-of-contents.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: LuckyWP Table of Contents
4
  Plugin URI: https://theluckywp.com/product/table-of-contents/
5
  Description: Creates a table of contents for your posts/pages. Works automatically or manually (via shortcode or Gutenberg block).
6
- Version: 1.1.0
7
  Author: LuckyWP
8
  Author URI: https://theluckywp.com/
9
  Text Domain: lwptoc
@@ -29,6 +29,6 @@ $lwptocAutoloader->register();
29
  $lwptocAutoloader->addNamespace('luckywp\tableOfContents', __DIR__);
30
 
31
  $config = require(__DIR__ . '/config/plugin.php');
32
- (new \luckywp\tableOfContents\plugin\Plugin($config))->run('1.1.0', __FILE__, 'lwptoc_');
33
 
34
  require_once __DIR__ . '/functions.php';
3
  Plugin Name: LuckyWP Table of Contents
4
  Plugin URI: https://theluckywp.com/product/table-of-contents/
5
  Description: Creates a table of contents for your posts/pages. Works automatically or manually (via shortcode or Gutenberg block).
6
+ Version: 1.1.1
7
  Author: LuckyWP
8
  Author URI: https://theluckywp.com/
9
  Text Domain: lwptoc
29
  $lwptocAutoloader->addNamespace('luckywp\tableOfContents', __DIR__);
30
 
31
  $config = require(__DIR__ . '/config/plugin.php');
32
+ (new \luckywp\tableOfContents\plugin\Plugin($config))->run('1.1.1', __FILE__, 'lwptoc_');
33
 
34
  require_once __DIR__ . '/functions.php';
plugin/Shortcode.php CHANGED
@@ -387,8 +387,8 @@ class Shortcode extends BaseObject
387
  $after = (string)apply_filters('lwptoc_after', '');
388
 
389
  if ($this->assertBool(ArrayHelper::getValue($attrs, 'wrapnoindex', Core::$plugin->settings->miscWrapNoindex))) {
390
- $before = '<noindex>' . $before;
391
- $after = $after . '</noindex>';
392
  }
393
 
394
  // Вывод
387
  $after = (string)apply_filters('lwptoc_after', '');
388
 
389
  if ($this->assertBool(ArrayHelper::getValue($attrs, 'wrapnoindex', Core::$plugin->settings->miscWrapNoindex))) {
390
+ $before = '<!--noindex-->' . $before;
391
+ $after = $after . '<!--/noindex-->';
392
  }
393
 
394
  // Вывод
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://theluckywp.com/product/table-of-contents/
4
  Tags: table of contents, toc, navigation, links, heading
5
  Requires at least: 4.7
6
  Tested up to: 5.1.1
7
- Stable tag: 1.1.0
8
  Requires PHP: 5.6.20
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -31,7 +31,7 @@ Creates a table of contents for your posts, pages or custom post types. Great cu
31
  * Customizalbe labels.
32
  * Smooth scroll (optionally).
33
  * Setting offset top for smooth scroll.
34
- * Wrap table of contents with &lt;noindex&gt; tag (optionally).
35
  * Available override global settings for a particular post.
36
  * Highly compatible with WordPress themes and plugins.
37
 
@@ -113,6 +113,9 @@ The menu item "Table of Contents" will appear in the menu "Settings" of the Word
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = 1.1.0 =
117
  + Added option "Wrap table of contents with &lt;noindex&gt; tag".
118
  + Added hook filters `lwptoc_before`, `lwptoc_after`, `lwptoc_shortcode_tag`.
4
  Tags: table of contents, toc, navigation, links, heading
5
  Requires at least: 4.7
6
  Tested up to: 5.1.1
7
+ Stable tag: 1.1.1
8
  Requires PHP: 5.6.20
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
31
  * Customizalbe labels.
32
  * Smooth scroll (optionally).
33
  * Setting offset top for smooth scroll.
34
+ * Wrap table of contents with &lt;!--noindex--&gt; tag (optionally).
35
  * Available override global settings for a particular post.
36
  * Highly compatible with WordPress themes and plugins.
37
 
113
 
114
  == Changelog ==
115
 
116
+ = 1.1.1 =
117
+ * Tag &lt;noindex&gt; replaced to &lt;!--noindex--&gt;.
118
+
119
  = 1.1.0 =
120
  + Added option "Wrap table of contents with &lt;noindex&gt; tag".
121
  + Added hook filters `lwptoc_before`, `lwptoc_after`, `lwptoc_shortcode_tag`.