Easy Table of Contents - Version 2.0.23

Version Description

Download this release

Release Info

Developer magazine3
Plugin Icon 128x128 Easy Table of Contents
Version 2.0.23
Comparing to
See all releases

Code changes from version 2.0.19 to 2.0.23

README.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: magazine3
3
  Donate link: https://magazine3.company/
4
  Tags: table of contents, toc
5
  Requires at least: 5.3
6
- Tested up to: 5.9.3
7
  Requires PHP: 5.6.20
8
- Stable tag: 2.0.19
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -44,6 +44,8 @@ We try our best to provide support on WordPress.org forums. However, We have a s
44
 
45
  Bug reports for Easy Table of Contents are [welcomed on GitHub](https://github.com/ahmedkaludi/Easy-Table-of-Contents). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.
46
 
 
 
47
  ### Live Examples
48
 
49
  * [cMap Template Docs](http://connections-pro.com/documentation/cmap/)
@@ -95,6 +97,27 @@ Easy Table Contents is a fork of the excellent [Table of Contents Plus](https://
95
 
96
  == Changelog ==
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  = 2.0.19 04/16/2022 =
99
  * Bug Fixed : While Using Elementor Page builder TOC is not working when special characters are used in headings. #150
100
  * Bug Fixed : Need to load CSS/JS files only on the selected post types. #154
@@ -402,6 +425,10 @@ You are not limited to a single a single nested item either. You can add as many
402
 
403
  You can nest up 6 levels deep if needed. I hope this helps you understand how to create and build your own auto generated table of contents on your sites!
404
 
 
 
 
 
405
  == Upgrade Notice ==
406
 
407
  = 1.0 =
3
  Donate link: https://magazine3.company/
4
  Tags: table of contents, toc
5
  Requires at least: 5.3
6
+ Tested up to: 6.0
7
  Requires PHP: 5.6.20
8
+ Stable tag: 2.0.23
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
44
 
45
  Bug reports for Easy Table of Contents are [welcomed on GitHub](https://github.com/ahmedkaludi/Easy-Table-of-Contents). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.
46
 
47
+ ### [JOIN TELEGRAM GROUP COMMUNITY](https://t.me/+XADGN24lHNk0YjE1/)**: Purpose of this group is to get proper suggestions and feedback from plugin users and the community so that we can make the plugin even better.
48
+
49
  ### Live Examples
50
 
51
  * [cMap Template Docs](http://connections-pro.com/documentation/cmap/)
97
 
98
  == Changelog ==
99
 
100
+ = 2.0.22 05/31/2022 =
101
+ * TWEAK: Added filter to modify anchor links #167
102
+ * TWEAK: Added filter to add TOC before or after the sidebar widget #166
103
+ * TWEAK: Added option to align TOC to center #158
104
+ * TWEAK: Design improvements in options panel #172
105
+
106
+ = 2.0.22 05/06/2022 =
107
+ * BUG: Double hyphens are getting removed from content issue fixed #163
108
+
109
+ = 2.0.21 05/06/2022 =
110
+ * BUG: Critical error fixed #147
111
+
112
+ = 2.0.20 05/05/2022 =
113
+ * TWEAK: Added Toggle with CSS for websites runs without jQuery #153
114
+ * TWEAK: Added telegram group join link for suggestions and feedback #159
115
+ * BUG: TOC links not jumping in some posts which have special characters #163
116
+ * BUG: Incorrect email ID updated in the plugin #165
117
+ * BUG: Proper documentation added for adding TOC with shortcodes & do_shortcode #152
118
+ * BUG: TOC links not working when do_shortcode added directly in the template #147
119
+ * BUG: TOC links not working with some specical character with Elementor #162
120
+
121
  = 2.0.19 04/16/2022 =
122
  * Bug Fixed : While Using Elementor Page builder TOC is not working when special characters are used in headings. #150
123
  * Bug Fixed : Need to load CSS/JS files only on the selected post types. #154
425
 
426
  You can nest up 6 levels deep if needed. I hope this helps you understand how to create and build your own auto generated table of contents on your sites!
427
 
428
+ = Is there any shortcode to add the table of content to anywhere I want ? =
429
+
430
+ Yes you can add the TOC with this shortcode – [ez-toc] and with the help of this you can easily add the TOC in the content or anywhere in the WordPress and if you want to add the shortcode on the theme file then you can add it with the help of this code – <?php echo do_shortcode( ‘[ez-toc]’ ); ?> and with this, you can add the TOC on any file according to your need.
431
+
432
  == Upgrade Notice ==
433
 
434
  = 1.0 =
assets/css/admin.css CHANGED
@@ -165,6 +165,7 @@ html {
165
  transition: 0s;
166
  font-size: 15px;
167
  color: #2271b1;
 
168
  }
169
  .toc-tab-panel a:hover {
170
  color: #0a4b78;
@@ -220,3 +221,818 @@ html {
220
  margin-left: 70px !important;;
221
  }
222
  @keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  transition: 0s;
166
  font-size: 15px;
167
  color: #2271b1;
168
+ font-weight: 500;
169
  }
170
  .toc-tab-panel a:hover {
171
  color: #0a4b78;
221
  margin-left: 70px !important;;
222
  }
223
  @keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }
224
+
225
+
226
+ .eztoc-wrapper{
227
+ max-width: 100%;
228
+ width: 100%;
229
+ display: flex;
230
+ flex-wrap: wrap;
231
+ margin: auto;
232
+ }
233
+
234
+ .eztoc-wrapper .table{
235
+ margin: 0 auto;
236
+ background: #fff;
237
+ width: calc(30%);
238
+ padding: 30px 20px;
239
+ position: relative;
240
+ box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
241
+ }
242
+
243
+ .table .price-section{
244
+ display: flex;
245
+ justify-content: center;
246
+ }
247
+
248
+ .price-section .price-area{
249
+ height: 120px;
250
+ width: 120px;
251
+ background: #ffd861;
252
+ border-radius: 50%;
253
+ padding: 2px;
254
+ }
255
+
256
+ .price-section .price-area .inner-area{
257
+ height: 100%;
258
+ width: 100%;
259
+ border-radius: 50%;
260
+ border: 3px solid #fff;
261
+ color: #fff;
262
+ line-height: 117px;
263
+ text-align: center;
264
+ position: relative;
265
+ }
266
+
267
+ .price-area .inner-area .text{
268
+ font-size: 25px;
269
+ font-weight: 400;
270
+ position: absolute;
271
+ top: -10px;
272
+ left: 17px;
273
+ }
274
+
275
+ .price-area .inner-area .price{
276
+ font-size: 55px;
277
+ font-weight: 500;
278
+ }
279
+
280
+ .table .package-name{
281
+ width: 100%;
282
+ height: 2px;
283
+ background: #ffecb3;
284
+ margin: 35px 0;
285
+ position: relative;
286
+ }
287
+
288
+ .table .package-name::before{
289
+ position: absolute;
290
+ content: "Basic";
291
+ top: 50%;
292
+ left: 50%;
293
+ transform: translate(-50%, -50%);
294
+ background: #fff;
295
+ font-size: 25px;
296
+ padding: 0 10px;
297
+ font-weight: bolder;
298
+ }
299
+
300
+ .table .features li{
301
+ list-style: none;
302
+ display: flex;
303
+ justify-content: space-between;
304
+ margin-bottom: 15px;
305
+ }
306
+
307
+ .features li .list-name{
308
+ font-size: 17px;
309
+ font-weight: 400;
310
+ }
311
+
312
+ .features li .icon{
313
+ font-size: 15px;
314
+ }
315
+
316
+ .features li .icon.check{
317
+ color: #2db94d;
318
+ }
319
+
320
+ .features li .icon.cross{
321
+ color: #cd3241;
322
+ }
323
+
324
+ .table .btn{
325
+ display: flex;
326
+ justify-content: center;
327
+ margin-top: 35px;
328
+ }
329
+
330
+ .table .btn button{
331
+ width: 80%;
332
+ height: 50px;
333
+ font-weight: 700;
334
+ color: #fff;
335
+ font-size: 20px;
336
+ border: none;
337
+ outline: none;
338
+ border-radius: 25px;
339
+ cursor: pointer;
340
+ transition: all 0.3s ease;
341
+ }
342
+
343
+ .basic .price-area,
344
+ .basic .inner-area{
345
+ background: #ffd861;
346
+ }
347
+
348
+ .basic .btn button{
349
+ background: #fff;
350
+ color: #ffd861;
351
+ border: 2px solid #ffd861;
352
+ }
353
+
354
+ .basic .btn button:hover{
355
+ border-radius: 6px;
356
+ background: #ffd861;
357
+ color: #fff;
358
+ }
359
+
360
+ .Premium .price-area,
361
+ .Premium .inner-area{
362
+ background: #a26bfa;
363
+ }
364
+
365
+ .Premium .btn button{
366
+ background: #fff;
367
+ color: #a26bfa;
368
+ border: 2px solid #a26bfa;
369
+ }
370
+
371
+ .Premium .btn button:hover{
372
+ border-radius: 6px;
373
+ background: #a26bfa;
374
+ color: #fff;
375
+ }
376
+
377
+
378
+ .basic .package-name{
379
+ background: #ffecb3;
380
+ }
381
+
382
+ .Premium .package-name{
383
+ background: #a26bfa;
384
+ }
385
+
386
+
387
+
388
+ .basic .package-name::before{
389
+ content: "Free";
390
+ }
391
+
392
+ .Premium .package-name::before{
393
+ content: "PRO";
394
+ }
395
+
396
+
397
+
398
+ .basic ::selection,
399
+ .basic .price-area,
400
+ .basic .inner-area{
401
+ background: #ffd861;
402
+ }
403
+
404
+ .Premium ::selection,
405
+ .Premium .price-area,
406
+ .Premium .inner-area{
407
+ background: #a26bfa;
408
+ }
409
+
410
+ div#eztoc-tabs a {
411
+ text-decoration: none;
412
+ }
413
+ div#eztoc-tabs a:first-child {
414
+ color: #000;
415
+ }
416
+
417
+ #the-list{position: relative;}
418
+ .eztoc-wr {
419
+ width: 100%;
420
+ margin: 0 auto;
421
+ position: relative
422
+ }
423
+
424
+ .etoc-eztoc-img {
425
+ width: 100%;
426
+ margin: 0 auto;
427
+ text-align: center;
428
+ position: relative;
429
+ line-height: 0;
430
+ height: 300px;
431
+ }
432
+
433
+ .eztoc-img img {
434
+ position: relative
435
+ }
436
+
437
+ .sp_ov {
438
+ background: #fd789f;
439
+ bottom: 0;
440
+ left: 0;
441
+ position: absolute;
442
+ right: 0;
443
+ top: 0;
444
+ }
445
+
446
+ .etoc-eztoc-cnt {
447
+ position: absolute;
448
+ top: 40px;
449
+ bottom: 0;
450
+ left: 40px;
451
+ right: 40px;
452
+ margin: 0 auto;
453
+ text-align: center
454
+ }
455
+
456
+ .etoc-eztoc-cnt h1 {
457
+ font-size: 60px;
458
+ color: #fff;
459
+ font-weight: 600;
460
+ }
461
+
462
+ .etoc-eztoc-cnt p {
463
+ margin-top: 0px;
464
+ color: #371b24;
465
+ font-size: 18px;
466
+ padding: 0 100px;
467
+ line-height: 1.4;
468
+ font-weight: 500;
469
+ }
470
+
471
+ .etoc-eztoc-cnt .buy {
472
+ border-width: 0px !important;
473
+ font-size: 1.25rem;
474
+ line-height: 2;
475
+ text-decoration: none;
476
+ background: white !important;
477
+ border-radius: 8px !important;
478
+ font-size: 16px !important;
479
+ padding: 12px 18px;
480
+ color: #e04371 !important;
481
+ font-weight: 500;
482
+ }
483
+ .etoc-eztoc-cnt .buy:hover{
484
+ box-shadow: 0px 2px 2px #999;
485
+ background: linear-gradient(to left, #fdfc35, #ffe258) !important;
486
+ }
487
+ .pvf {
488
+ position: relative;
489
+ top: -16px;
490
+ border: 1px solid #eee;
491
+ padding-bottom: 40px
492
+ }
493
+
494
+ .ext {
495
+ display: grid;
496
+ grid-template-columns: 1fr 1fr 1fr;
497
+ background: #f9f9f9;
498
+ padding: 45px 0 45px 25px
499
+ }
500
+
501
+ .ex-1 {
502
+ width: 80%;
503
+ }
504
+
505
+ .ex-1 h4 {
506
+ margin: 15px 0 12px 0;
507
+ font-weight: 600;
508
+ font-size: 20px;
509
+ color: #e04371;
510
+ }
511
+
512
+ .ex-1 p {
513
+ font-size: 14px;
514
+ font-weight: 400;
515
+ margin: 0;
516
+ color: #000;
517
+ }
518
+
519
+ .e-1 img {
520
+ width: 65px!important
521
+ }
522
+
523
+ .e-2 img {
524
+ width: 45px!important
525
+ }
526
+
527
+ .e-3 img {
528
+ width: 49px!important
529
+ }
530
+
531
+ .pvf-cnt {
532
+ width: 100%;
533
+ display: inline-block
534
+ }
535
+
536
+ .pvf-tlt {
537
+ text-align: center;
538
+ width: 100%;
539
+ margin: 70px 0 60px 0
540
+ }
541
+
542
+ .pvf-tlt h2 {
543
+ font-size: 36px;
544
+ line-height: 1.4;
545
+ color: #000;
546
+ font-weight: 500;
547
+ margin: 0
548
+ }
549
+
550
+ .pvf-tlt span {
551
+ font-size: 16px;
552
+ color: #000;
553
+ margin-top: 15px;
554
+ display: inline-block;
555
+ position: relative;
556
+ top: 4px
557
+ }
558
+
559
+ .pvf-cmp {
560
+ display: grid;
561
+ grid-template-columns: 1fr 2fr
562
+ }
563
+
564
+ .fr {
565
+ border-right: 1px solid #eee
566
+ }
567
+
568
+ .fr h1,
569
+ .pr h1 {
570
+ font-size: 36px;
571
+ font-weight: 700;
572
+ line-height: 1.5;
573
+ border-bottom: 1px solid #efefef;
574
+ padding: 0 0 20px 35px;
575
+ }
576
+
577
+ .pr h1 {
578
+ padding-left: 50px;
579
+ color: #e04371;
580
+ }
581
+
582
+ .fr-fe {
583
+ color: #222;
584
+ padding-top: 10px
585
+ }
586
+
587
+ .fe-1 {
588
+ padding: 22px 35px 35px 35px
589
+ }
590
+
591
+ .fe-1 h4 {
592
+ margin: 0 0 10px 0;
593
+ font-size: 20px;
594
+ line-height: 1.4;
595
+ font-weight: 400;
596
+ color: #000
597
+ }
598
+
599
+ .fe-1 p {
600
+ font-size: 15px;
601
+ line-height: 1.4;
602
+ margin: 0;
603
+ color: #333
604
+ }
605
+
606
+ .pr-fe {
607
+ padding: 34px 35px 35px 35px
608
+ }
609
+
610
+ .pr-fe span {
611
+ font-family: georgia;
612
+ font-size: 16px;
613
+ font-weight: 700;
614
+ color: #000;
615
+ font-style: italic;
616
+ line-height: 1.3
617
+ }
618
+
619
+ .fet {
620
+ width: 100%;
621
+ display: grid;
622
+ grid-template-columns: 1fr 1fr;
623
+ grid-gap: 25px;
624
+ margin-top: 40px
625
+ }
626
+
627
+ .fe-2 {
628
+ color: #222
629
+ }
630
+
631
+ .fe-t img {
632
+ width: 22px!important;
633
+ display: inline-block;
634
+ vertical-align: middle
635
+ }
636
+
637
+ .fe-t h4 {
638
+ margin: 0;
639
+ display: inline-block;
640
+ vertical-align: middle;
641
+ font-size: 19px;
642
+ color: #000;
643
+ font-weight: 400;
644
+ line-height: 1.4;
645
+ padding-left: 8px;
646
+ margin-top: -5px;
647
+ }
648
+
649
+ .fe-2 p {
650
+ font-size: 15px;
651
+ line-height: 1.4;
652
+ margin: 0;
653
+ color: #555;
654
+ padding-top: 8px
655
+ }
656
+
657
+ .pr-btn {
658
+ width: 100%;
659
+ display: inline-block;
660
+ text-align: center;
661
+ margin: 50px 0 25px 0
662
+ }
663
+
664
+ .pr-btn a {
665
+ text-decoration: none;
666
+ color: #fff;
667
+ padding: 12px 35px 17px 35px;
668
+ display: inline-block;
669
+ border-radius: 5px;
670
+ font-size: 28px;
671
+ font-weight: 500;
672
+ line-height: 1.2;
673
+ background: -webkit-linear-gradient(to right, #e35796, #fc789f);
674
+ font-weight: 600;
675
+ background: linear-gradient(to right, #e35796, #fc789f);
676
+ margin-top: 0;
677
+ box-shadow: 0 .15em .65em 0 rgba(0, 0, 0, .25);
678
+ }
679
+
680
+ .amp-upg {
681
+ background: #f5f5f5;
682
+ padding: 60px 10px 0 10px
683
+ }
684
+
685
+ .upg-t {
686
+ text-align: center;
687
+ color: #222
688
+ }
689
+
690
+ .upg-t h2 {
691
+ margin: 0;
692
+ font-size: 35px;
693
+ color: #060606;
694
+ line-height: 1.3;
695
+ font-weight: 500
696
+ }
697
+
698
+ .upg-t>span {
699
+ font-size: 14px;
700
+ line-height: 1.2;
701
+ margin-top: 15px;
702
+ display: inline-block;
703
+ color: #666
704
+ }
705
+
706
+ .etoc-pri-lst {
707
+ width: 100%;
708
+ display: grid;
709
+ grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
710
+ margin-top: 70px;
711
+ grid-gap: 1px;
712
+ box-shadow: 0 10px 15px 1px #ddd
713
+ }
714
+
715
+ .pri-tb {
716
+ background: #fff;
717
+ text-align: center;
718
+ border: 1px solid #f9f9f9;
719
+ position: relative
720
+ }
721
+
722
+ .pri-tb:hover {
723
+ border: 1px solid #e04371;
724
+ }
725
+
726
+ .pri-tb a:hover .pri-by {
727
+ background: #e04371;
728
+ }
729
+ .pri-tb a:hover .amt {
730
+ color: #7241a7;
731
+ }
732
+
733
+ .pri-tb a {
734
+ display: inline-block;
735
+ text-decoration: none;
736
+ color: #222;
737
+ padding: 20px 12px;
738
+ }
739
+
740
+ .pri-tb h5 {
741
+ margin: 0 0 20px 0;
742
+ font-size: 13px;
743
+ line-height: 1.2;
744
+ letter-spacing: 2px;
745
+ font-weight: 400;
746
+ color: #000
747
+ }
748
+
749
+ .pri-tb span {
750
+ display: inline-block
751
+ }
752
+
753
+ .pri-tb .amt {
754
+ font-size: 40px;
755
+ color: #e04371;
756
+ font-weight: 500;
757
+ margin-bottom: 20px;
758
+ display: block;
759
+ }
760
+
761
+ .pri-tb .d-amt {
762
+ font-size: 24px;
763
+ color: #666;
764
+ font-weight: 500;
765
+ margin-bottom: 15px;
766
+ display: none;
767
+ text-decoration: line-through
768
+ }
769
+
770
+ .d-amt sup {
771
+ line-height: 0;
772
+ position: relative;
773
+ top: 7px
774
+ }
775
+
776
+ .pri-tb .s-amt {
777
+ font-size: 13px;
778
+ color: #4caf50;
779
+ font-weight: 500;
780
+ margin-bottom: 10px;
781
+ display: none
782
+ }
783
+
784
+ .pri-tb .amt sup {
785
+ font-size: 22px;
786
+ padding: 0 4px 0 0;
787
+ position: relative;
788
+ top: 7px
789
+ }
790
+
791
+ .pri-tb .bil {
792
+ color: #aaa;
793
+ font-size: 12px;
794
+ margin-bottom: 20px
795
+ }
796
+
797
+ .pri-tb .e,
798
+ .pri-tb .f,
799
+ .pri-tb .s {
800
+ font-size: 14px;
801
+ margin-bottom: 15px;
802
+ color: #3b4750;
803
+ display: block;
804
+ }
805
+
806
+ .pri-tb .etoc-sv {
807
+ display: none;
808
+ font-size: 12px;
809
+ color: #fff;
810
+ background: #4caf50;
811
+ margin: 0 auto;
812
+ padding: 1px 7px 2px 7px;
813
+ border-radius: 45px
814
+ }
815
+
816
+ .pri-by {
817
+ font-size: 15px;
818
+ line-height: 1.2;
819
+ background: #333;
820
+ border-radius: 2px;
821
+ padding: 9px 18px 10px 18px;
822
+ display: inline-block;
823
+ color: #fff;
824
+ margin-top: 29px;
825
+ font-weight: 500
826
+ }
827
+
828
+ .etoc-pri-lst .rec {
829
+ box-shadow: 0 1px 40px 0 #ccc;
830
+ background: #fff;
831
+ z-index: 9;
832
+ margin-top: -20px;
833
+ position: relative
834
+ }
835
+
836
+ .etoc-pri-lst .rec:hover .etoc-rcm {
837
+ background: #000;
838
+ color: #fff;
839
+ }
840
+
841
+ .etoc-pri-lst .rec .pri-by {
842
+ background: #e04371;
843
+ }
844
+
845
+ .etoc-rcm {
846
+ background: linear-gradient(to right, #e35796, #fc789f);
847
+ color: #fff;
848
+ position: absolute;
849
+ top: -20px;
850
+ left: 0;
851
+ right: -1px;
852
+ bottom: auto;
853
+ padding: 2px 0;
854
+ font-size: 11px;
855
+ letter-spacing: 2px
856
+ }
857
+
858
+ .tru-us {
859
+ text-align: center;
860
+ padding: 60px 0;
861
+ margin: 0 auto;
862
+ font-size: 16px;
863
+ color: #222
864
+ }
865
+
866
+ .tru-us h2 {
867
+ margin: 20px 0 0 0;
868
+ font-size: 28px;
869
+ font-weight: 500
870
+ }
871
+
872
+ .tru-us p {
873
+ font-size: 17px;
874
+ margin: 19px 15% 18px 15%;
875
+ color: #666;
876
+ line-height: 29px
877
+ }
878
+
879
+ .tru-us a {
880
+ font-size: 18px;
881
+ color: #489bff;
882
+ text-decoration: none;
883
+ font-weight: 400
884
+ }
885
+
886
+ .ampfaq {
887
+ width: 100%;
888
+ margin: 25px 0
889
+ }
890
+
891
+ .ampfaq h4 {
892
+ margin: 0;
893
+ text-align: center;
894
+ font-size: 20px;
895
+ font-weight: 500;
896
+ color: #333
897
+ }
898
+
899
+ .faq-lst {
900
+ margin-top: 50px;
901
+ display: grid;
902
+ grid-template-columns: 1fr 1fr
903
+ }
904
+
905
+ .lt {
906
+ padding-left: 50px
907
+ }
908
+
909
+ .lt,
910
+ .rt {
911
+ width: 70%
912
+ }
913
+
914
+ .lt ul,
915
+ .rt ul {
916
+ margin: 0
917
+ }
918
+
919
+ .lt ul li,
920
+ .rt ul li {
921
+ color: #222;
922
+ margin-bottom: 30px!important
923
+ }
924
+
925
+ .lt span,
926
+ .rt span {
927
+ font-size: 17px;
928
+ font-weight: 500;
929
+ margin-bottom: 6px;
930
+ display: inline-block
931
+ }
932
+
933
+ .lt p,
934
+ .rt p {
935
+ font-size: 15px;
936
+ margin: 0
937
+ }
938
+
939
+ .f-cnt {
940
+ text-align: center;
941
+ margin-top: 20px;
942
+ color: #222
943
+ }
944
+
945
+ .f-cnt span {
946
+ font-size: 17px;
947
+ margin: 8px 0;
948
+ font-weight: 500
949
+ }
950
+
951
+ .f-cnt p {
952
+ font-size: 15px;
953
+ margin: 6px 0
954
+ }
955
+
956
+ .f-cnt a {
957
+ background: #333;
958
+ color: #fff;
959
+ padding: 15px 30px;
960
+ text-decoration: none;
961
+ font-size: 18px;
962
+ font-weight: 500;
963
+ display: inline-block;
964
+ margin-top: 15px
965
+ }
966
+
967
+ @media(max-width:1366px) {
968
+ .amp-upg {
969
+ padding: 60px 0 0 0
970
+ }
971
+ .etoc-eztoc-cnt p {
972
+
973
+ line-height: 35px;
974
+ font-size: 18px;
975
+
976
+ }
977
+ }
978
+
979
+ @media(max-width:1280px) {
980
+ .etoc-eztoc-cnt {
981
+ top: 1.3%
982
+ }
983
+ }
984
+
985
+ @media(max-width:768px) {
986
+ .ext {
987
+ grid-template-columns: 1fr;
988
+ grid-gap: 30px 0;
989
+ padding: 30px
990
+ }
991
+ .pvf-tlt h2 {
992
+ font-size: 26px
993
+ }
994
+ .pvf-cmp {
995
+ grid-template-columns: 1fr
996
+ }
997
+ .pr-btn a {
998
+ font-size: 22px
999
+ }
1000
+ .etoc-pri-lst {
1001
+ grid-template-columns: 1fr 1fr 1fr
1002
+ }
1003
+ .etoc-eztoc-cnt p {
1004
+ line-height: 1.5;
1005
+ font-size: 16px;
1006
+ margin-top: 15px;
1007
+ padding: 0 20px
1008
+ }
1009
+ .etoc-eztoc-cnt .buy {
1010
+ font-size: 16px;
1011
+ padding: 8px 30px
1012
+ }
1013
+ .etoc-eztoc-cnt {
1014
+ top: 15px
1015
+ }
1016
+ .etoc-eztoc-cnt h1 {
1017
+ font-size: 30px
1018
+ }
1019
+ .ex-1 {
1020
+ width: 100%
1021
+ }
1022
+ .faq-lst {
1023
+ grid-template-columns: 1fr
1024
+ }
1025
+ .rt {
1026
+ padding-left: 50px
1027
+ }
1028
+ }
1029
+ div#freevspro {
1030
+ padding: 0;
1031
+ }
1032
+
1033
+ .ampfaq h2 {
1034
+ margin: 40px 0 0 0;
1035
+ font-size: 30px;
1036
+ font-weight: 500;
1037
+ text-align: center;
1038
+ }
assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- div.tab_content table{margin-bottom:1em}table.more_toc_options_table td,table.more_toc_options_table th{padding:0;margin:0}table.more_toc_options_table th{width:auto;padding-right:4px;padding-top:2px}div.tab_content ul li{margin-left:2em;list-style-type:disc}div.tab_content ol li{list-style:inherit}div.tab_content pre{margin-left:2em}ul#tabbed-nav{margin-top:1em}#tabbed-nav{margin:0;padding:0;float:left;list-style:none;height:32px;border-bottom:1px solid #dfdfdf;border-left:1px solid #dfdfdf;width:100%}#tabbed-nav li{float:left;margin:0;padding:0;height:31px;line-height:31px;border:1px solid #dfdfdf;border-left:none;margin-bottom:-1px;overflow:hidden;position:relative;background:#f5f5f5;background-image:linear-gradient(center top,#fff,#f5f5f5)}#tabbed-nav li a{text-decoration:none;color:#000;display:block;font-size:1.2em;padding:0 20px;border:1px solid #fff;outline:0}#tabbed-nav li a:hover{background:#ececec}html #tabbed-nav li.active,html #tabbed-nav li.active a:hover{background:#fff;border-bottom:1px solid #fff}div.tab_container{border:1px solid #dfdfdf;border-top:none;overflow:hidden;clear:both;float:left;width:100%;background:#fff;margin-bottom:2em;padding-bottom:2em}div.tab_content{padding:10px;padding-bottom:0;font-size:1em}h3 span.show_hide{font-size:.85em;font-weight:400}div.more_toc_options{margin-top:4px;margin-left:2em}div.toc_theme_option{width:200px;float:left;margin-right:5px}#wpcontent select optgroup option{padding-left:15px}input#font_size,input#smooth_scroll_offset,input#width_custom{width:50px;text-align:center}input.custom_colour_option{width:75px}div#farbtastic_colour_wheel,table#theme_custom{float:left}table#theme_custom{margin-top:30px}table#theme_custom img{vertical-align:middle;opacity:.4}table#theme_custom img:hover{cursor:pointer;opacity:1}div#farbtastic_colour_wheel{margin-left:20px}#tab3 h3:not(:first-child){margin-top:2em}#toc input.small-text{width:50px;padding:2px;height:28px;line-height:28px;vertical-align:bottom}#toc .form-table tr>th>strong{font-size:18px;font-style:italic}.postbox{padding: 10px;}html {scroll-behavior: smooth;}.toc-tab-panel {overflow: hidden;border: 1px solid #ccc;background-color: #fff;margin-top: 15px;}.toc-tab-panel a {background-color: inherit;text-decoration: none;float: left;border: none;outline: none;cursor: pointer;padding: 14px 16px;transition: 0s;font-size: 15px;color: #2271b1;}.toc-tab-panel a:hover {color: #0a4b78;}.toc-tab-panel a.active {box-shadow: none;border-bottom: 4px solid #646970;color: #1d2327;}.toc-tab-panel a:focus {box-shadow: none;outline: none;}.eztoc-tabcontent {display: none;border-top: none; animation: fadeEffect 1s; }.eztoc_support_div {background: #fff;margin-top: 10px;padding: 28px;min-width: 255px; border: 1px solid #c3c4c7;box-shadow: 0 1px 1px rgb(0 0 0 / 4%);}.support-label {float: left;width: 70px;font-size: 14px;}.star-mark{color: red;margin-left: 4px;font-family:bold;}.eztoc_support_div li {margin:25px 0px 20px 0px; }.eztoc-query-success{color: green;}.eztoc-query-error{color: red;}.eztoc_hide{display: none;}.eztoc-result{margin-left: 70px;}.eztoc-send-query{margin-left: 70px !important;}@keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }
1
+ div.tab_content table {margin-bottom: 1em;}table.more_toc_options_table th, table.more_toc_options_table td {padding: 0;margin: 0;}table.more_toc_options_table th {width: auto;padding-right: 4px;padding-top: 2px;}div.tab_content ul li {margin-left: 2em;list-style-type: disc;}div.tab_content ol li {list-style: inherit;}div.tab_content pre {margin-left: 2em;}ul#tabbed-nav {margin-top: 1em;}#tabbed-nav {margin: 0;padding: 0;float: left;list-style: none;height: 32px;border-bottom: 1px solid #DFDFDF;border-left: 1px solid #DFDFDF;width: 100%;}#tabbed-nav li {float: left;margin: 0;padding: 0;height: 31px;line-height: 31px;border: 1px solid #DFDFDF;border-left: none;margin-bottom: -1px;overflow: hidden;position: relative;background: #F5F5F5;background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#F5F5F5));background-image: -webkit-linear-gradient(center top, #fff, #F5F5F5);background-image: -moz-linear-gradient(center top, #fff, #F5F5F5);background-image: -ms-linear-gradient(center top, #fff, #F5F5F5);background-image: -o-linear-gradient(center top, #fff, #F5F5F5);background-image: linear-gradient(center top, #fff, #F5F5F5);}#tabbed-nav li a {text-decoration: none;color: #000;display: block;font-size: 1.2em;padding: 0 20px;border: 1px solid #fff;outline: none;}#tabbed-nav li a:hover {background: #ECECEC;}html #tabbed-nav li.active, html #tabbed-nav li.active a:hover {background: #fff;border-bottom: 1px solid #fff;}div.tab_container {border: 1px solid #DFDFDF;border-top: none;overflow: hidden;clear: both;float: left;width: 100%;background: #fff;margin-bottom: 2em;padding-bottom: 2em;}div.tab_content {padding: 10px;padding-bottom: 0;font-size: 1em;}h3 span.show_hide {font-size: 0.85em;font-weight: normal;}div.more_toc_options {margin-top: 4px;margin-left: 2em;}div.toc_theme_option {width: 200px;float: left;margin-right: 5px;}#wpcontent select optgroup option {padding-left: 15px;}input#width_custom, input#font_size, input#smooth_scroll_offset {width: 50px;text-align: center;}input.custom_colour_option {width: 75px;}table#theme_custom, div#farbtastic_colour_wheel {float: left;}table#theme_custom {margin-top: 30px;}table#theme_custom img {vertical-align: middle;opacity: 0.4;}table#theme_custom img:hover {cursor: pointer;opacity: 1;}div#farbtastic_colour_wheel {margin-left: 20px;}#tab3 h3:not(:first-child) {margin-top: 2em;}#toc input.small-text {width: 50px;padding: 2px;height: 28px;line-height: 28px;vertical-align: bottom;}#toc .form-table tr > th > strong {font-size: 18px;font-style: italic;}.postbox{padding: 10px;}html {scroll-behavior: smooth;}.toc-tab-panel {overflow: hidden;border: 1px solid #ccc;background-color: #fff;margin-top: 15px;}.toc-tab-panel a {background-color: inherit;text-decoration: none;float: left;border: none;outline: none;cursor: pointer;padding: 14px 16px;transition: 0s;font-size: 15px;color: #2271b1;font-weight: 500;}.toc-tab-panel a:hover {color: #0a4b78;}.toc-tab-panel a.active {box-shadow: none;border-bottom: 4px solid #646970;color: #1d2327;}.toc-tab-panel a:focus {box-shadow: none;outline: none;}.eztoc-tabcontent {display: none;border-top: none;animation: fadeEffect 1s;}.eztoc_support_div {background: #fff;margin-top: 10px;padding: 28px;min-width: 255px;border: 1px solid #c3c4c7;box-shadow: 0 1px 1px rgb(0 0 0 / 4%);}.support-label {float: left;width: 70px;font-size: 14px;}.star-mark{color: red;margin-left: 4px;font-family:bold;}.eztoc_support_div li {margin:25px 0px 20px 0px;}.eztoc-query-success{color: green;}.eztoc-query-error{color: red;}.eztoc_hide{display: none;}.eztoc-result{margin-left: 70px;}.eztoc-send-query{margin-left: 70px !important;;}@keyframes fadeEffect {from {opacity: 0;}to {opacity: 1;}}.eztoc-wrapper{max-width: 1090px;width: 100%;display: flex;flex-wrap: wrap;margin: auto;}.eztoc-wrapper .table{margin: 0 auto;background: #fff;width: calc(30%);padding: 30px 20px;position: relative;box-shadow: 0 5px 10px rgb(0 0 0 / 10%);}.table .price-section{display: flex;justify-content: center;}.price-section .price-area{height: 120px;width: 120px;background: #ffd861;border-radius: 50%;padding: 2px;}.price-section .price-area .inner-area{height: 100%;width: 100%;border-radius: 50%;border: 3px solid #fff;color: #fff;line-height: 117px;text-align: center;position: relative;}.price-area .inner-area .text{font-size: 25px;font-weight: 400;position: absolute;top: -10px;left: 17px;}.price-area .inner-area .price{font-size: 55px;font-weight: 500;}.table .package-name{width: 100%;height: 2px;background: #ffecb3;margin: 35px 0;position: relative;}.table .package-name::before{position: absolute;content: "Basic";top: 50%;left: 50%;transform: translate(-50%, -50%);background: #fff;font-size: 25px;padding: 0 10px;font-weight: bolder;}.table .features li{list-style: none;display: flex;justify-content: space-between;margin-bottom: 15px;}.features li .list-name{font-size: 17px;font-weight: 400;}.features li .icon{font-size: 15px;}.features li .icon.check{color: #2db94d;}.features li .icon.cross{color: #cd3241;}.table .btn{display: flex;justify-content: center;margin-top: 35px;}.table .btn button{width: 80%;height: 50px;font-weight: 700;color: #fff;font-size: 20px;border: none;outline: none;border-radius: 25px;cursor: pointer;transition: all 0.3s ease;}.basic .price-area, .basic .inner-area{background: #ffd861;}.basic .btn button{background: #fff;color: #ffd861;border: 2px solid #ffd861;}.basic .btn button:hover{border-radius: 6px;background: #ffd861;color: #fff;}.Premium .price-area, .Premium .inner-area{background: #a26bfa;}.Premium .btn button{background: #fff;color: #a26bfa;border: 2px solid #a26bfa;}.Premium .btn button:hover{border-radius: 6px;background: #a26bfa;color: #fff;}.basic .package-name{background: #ffecb3;}.Premium .package-name{background: #a26bfa;}.basic .package-name::before{content: "Free";}.Premium .package-name::before{content: "PRO";}.basic ::selection, .basic .price-area, .basic .inner-area{background: #ffd861;}.Premium ::selection, .Premium .price-area, .Premium .inner-area{background: #a26bfa;}div#eztoc-tabs a {text-decoration: none;}div#eztoc-tabs a:first-child {color: #000;}
assets/css/screen.css CHANGED
@@ -118,7 +118,9 @@ div.ez-toc-widget-container li {
118
  float: right;
119
  margin-left: 10px;
120
  }
121
-
 
 
122
  #ez-toc-container a {
123
  color: #444444;
124
  box-shadow: none;
@@ -345,3 +347,30 @@ div.ez-toc-widget-container li {
345
  .ez-toc-icon-toggle:before {
346
  content: "\e87a";
347
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  float: right;
119
  margin-left: 10px;
120
  }
121
+ .ez-toc-wrap-center {
122
+ margin: 0 auto;
123
+ }
124
  #ez-toc-container a {
125
  color: #444444;
126
  box-shadow: none;
347
  .ez-toc-icon-toggle:before {
348
  content: "\e87a";
349
  }
350
+ #ez-toc-container input {
351
+ position: absolute;
352
+ left: -999em;
353
+ }
354
+ #ez-toc-container input[type="checkbox"]:checked + nav {
355
+ opacity: 0;
356
+ max-height: 0;
357
+ border: none;
358
+ }
359
+
360
+ #ez-toc-container label {
361
+ float: right;
362
+ position: relative;
363
+ left: 10px;
364
+ font-size: 16px;
365
+ background: #f9efef;
366
+ padding: 0px 4px 0px 5px;
367
+ border: 1px solid #999191;
368
+ border-radius: 5px;
369
+ cursor: pointer;
370
+ }
371
+ div#ez-toc-container p.ez-toc-title {
372
+ display: contents;
373
+ }
374
+ div#ez-toc-container {
375
+ padding-right: 20px;
376
+ }
assets/css/screen.min.css CHANGED
@@ -1 +1 @@
1
- #ez-toc-container{background:#f9f9f9;border:1px solid #aaa;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05);display:table;margin-bottom:1em;padding:10px;position:relative;width:auto}div.ez-toc-widget-container{padding:0;position:relative}#ez-toc-container.ez-toc-light-blue{background:#edf6ff}#ez-toc-container.ez-toc-white{background:#fff}#ez-toc-container.ez-toc-black{background:#000}#ez-toc-container.ez-toc-transparent{background:none transparent}div.ez-toc-widget-container ul{display:block}div.ez-toc-widget-container li{border:none;padding:0}div.ez-toc-widget-container ul.ez-toc-list{padding:10px}#ez-toc-container ul ul,.ez-toc div.ez-toc-widget-container ul ul{margin-left:1.5em}#ez-toc-container li,#ez-toc-container ul{margin:0;padding:0}#ez-toc-container li,#ez-toc-container ul,#ez-toc-container ul li,div.ez-toc-widget-container,div.ez-toc-widget-container li{background:0 0;list-style:none none;line-height:1.6;margin:0;overflow:hidden;z-index:1}#ez-toc-container p.ez-toc-title{text-align:left;line-height:1.45;margin:0;padding:0}.ez-toc-title-container{display:table;width:100%}.ez-toc-title,.ez-toc-title-toggle{display:table-cell;text-align:left;vertical-align:middle}#ez-toc-container.ez-toc-black p.ez-toc-title{color:#fff}#ez-toc-container div.ez-toc-title-container+ul.ez-toc-list{margin-top:1em}.ez-toc-wrap-left{float:left;margin-right:10px}.ez-toc-wrap-right{float:right;margin-left:10px}#ez-toc-container a{color:#444;box-shadow:none;text-decoration:none;text-shadow:none}#ez-toc-container a:visited{color:#9f9f9f}#ez-toc-container a:hover{text-decoration:underline}#ez-toc-container.ez-toc-black a{color:#fff}#ez-toc-container.ez-toc-black a:visited{color:#fff}#ez-toc-container a.ez-toc-toggle{color:#444}#ez-toc-container.counter-flat ul,#ez-toc-container.counter-hierarchy ul,.ez-toc-widget-container.counter-flat ul,.ez-toc-widget-container.counter-hierarchy ul{counter-reset:item}#ez-toc-container.counter-numeric li,.ez-toc-widget-container.counter-numeric li{list-style-type:decimal;list-style-position:inside}#ez-toc-container.counter-decimal ul.ez-toc-list li a::before,.ez-toc-widget-container.counter-decimal ul.ez-toc-list li a::before{content:counters(item, ".") ". ";display:inline-block;counter-increment:item;margin-right:.2em}#ez-toc-container.counter-roman li a::before,.ez-toc-widget-container.counter-roman ul.ez-toc-list li a::before{content:counters(item, ".", upper-roman) ". ";counter-increment:item}.ez-toc-widget-container ul.ez-toc-list li::before{content:' ';position:absolute;left:0;right:0;height:30px;line-height:30px;z-index:-1}.ez-toc-widget-container ul.ez-toc-list li.active::before{background-color:#ededed}.ez-toc-widget-container li.active>a{font-weight:900}.ez-toc-btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.ez-toc-btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ez-toc-btn:focus,.ez-toc-btn:hover{color:#333;text-decoration:none}.ez-toc-btn.active,.ez-toc-btn:active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.ez-toc-btn-default{color:#333;background-color:#fff;border-color:#ccc}.ez-toc-btn-default.active,.ez-toc-btn-default:active,.ez-toc-btn-default:focus,.ez-toc-btn-default:hover{color:#333;background-color:#ebebeb;border-color:#adadad}.ez-toc-btn-default.active,.ez-toc-btn-default:active{background-image:none}.ez-toc-btn-sm,.ez-toc-btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.ez-toc-btn-xs{padding:1px 5px}.ez-toc-btn-default{text-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.ez-toc-btn-default:active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.active,.ez-toc-btn:active{background-image:none}.ez-toc-btn-default{text-shadow:0 1px 0 #fff;background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.ez-toc-btn-default:focus,.ez-toc-btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.ez-toc-btn-default.active,.ez-toc-btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.ez-toc-pull-right{float:right!important;margin-left:10px}.ez-toc-glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;line-height:1;-moz-osx-font-smoothing:grayscale}.ez-toc-glyphicon:empty{width:1em}.ez-toc-toggle i.ez-toc-glyphicon{font-size:16px;margin-left:2px}[class*=ez-toc-icon-]{font-family:ez-toc-icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ez-toc-icon-toggle:before{content:"\e87a"}
1
+ #ez-toc-container {background: #F9F9F9;border: 1px solid #AAAAAA;border-radius: 4px;-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);display: table;margin-bottom: 1em;padding: 10px;position: relative;width: auto;}div.ez-toc-widget-container {padding: 0;position: relative;}#ez-toc-container.ez-toc-light-blue {background: #EDF6FF;}#ez-toc-container.ez-toc-white {background: #FFFFFF;}#ez-toc-container.ez-toc-black {background: #000000;}#ez-toc-container.ez-toc-transparent {background: none transparent;}div.ez-toc-widget-container ul {display: block;}div.ez-toc-widget-container li {border: none;padding: 0;}div.ez-toc-widget-container ul.ez-toc-list {padding: 10px;}#ez-toc-container ul ul, .ez-toc div.ez-toc-widget-container ul ul {margin-left: 1.5em;}#ez-toc-container ul, #ez-toc-container li {margin: 0;padding: 0;}#ez-toc-container ul, #ez-toc-container li, #ez-toc-container ul li, div.ez-toc-widget-container, div.ez-toc-widget-container li {background: none;list-style: none none;line-height: 1.6;margin: 0;overflow: hidden;z-index: 1;}#ez-toc-container p.ez-toc-title {text-align: left;line-height: 1.45;margin: 0;padding: 0;}.ez-toc-title-container {display: table;width: 100%;}.ez-toc-title, .ez-toc-title-toggle {display: table-cell;text-align: left;vertical-align: middle;}#ez-toc-container.ez-toc-black p.ez-toc-title {color: #FFF;}#ez-toc-container div.ez-toc-title-container + ul.ez-toc-list {margin-top: 1em;}.ez-toc-wrap-left {float: left;margin-right: 10px;}.ez-toc-wrap-right {float: right;margin-left: 10px;}#ez-toc-container a {color: #444444;box-shadow: none;text-decoration: none;text-shadow: none;}#ez-toc-container a:visited {color: #9f9f9f;}#ez-toc-container a:hover {text-decoration: underline;}#ez-toc-container.ez-toc-black a {color: #FFF;}#ez-toc-container.ez-toc-black a:visited {color: #FFF;}#ez-toc-container a.ez-toc-toggle {color: #444444;}#ez-toc-container.counter-hierarchy ul, .ez-toc-widget-container.counter-hierarchy ul, #ez-toc-container.counter-flat ul, .ez-toc-widget-container.counter-flat ul {counter-reset: item;}#ez-toc-container.counter-numeric li, .ez-toc-widget-container.counter-numeric li {list-style-type: decimal;list-style-position: inside;}#ez-toc-container.counter-decimal ul.ez-toc-list li a::before, .ez-toc-widget-container.counter-decimal ul.ez-toc-list li a::before {content: counters(item, ".") ". ";display: inline-block;counter-increment: item;margin-right: .2em;}#ez-toc-container.counter-roman li a::before, .ez-toc-widget-container.counter-roman ul.ez-toc-list li a::before {content: counters(item, ".", upper-roman) ". ";counter-increment: item;}.ez-toc-widget-container ul.ez-toc-list li::before {content: ' ';position: absolute;left: 0;right: 0;height: 30px;line-height: 30px;z-index: -1;}.ez-toc-widget-container ul.ez-toc-list li.active::before {background-color: #EDEDED;}.ez-toc-widget-container li.active > a {font-weight: 900;}.ez-toc-btn {display: inline-block;padding: 6px 12px;margin-bottom: 0;font-size: 14px;font-weight: normal;line-height: 1.428571429;text-align: center;white-space: nowrap;vertical-align: middle;cursor: pointer;background-image: none;border: 1px solid transparent;border-radius: 4px;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none }.ez-toc-btn:focus {outline: thin dotted #333;outline: 5px auto -webkit-focus-ring-color;outline-offset: -2px }.ez-toc-btn:hover,.ez-toc-btn:focus {color: #333;text-decoration: none }.ez-toc-btn:active,.ez-toc-btn.active {background-image: none;outline: 0;-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);box-shadow: inset 0 3px 5px rgba(0,0,0,0.125) }.ez-toc-btn-default {color: #333;background-color: #fff;border-color: #ccc }.ez-toc-btn-default:hover,.ez-toc-btn-default:focus,.ez-toc-btn-default:active,.ez-toc-btn-default.active {color: #333;background-color: #ebebeb;border-color: #adadad }.ez-toc-btn-default:active,.ez-toc-btn-default.active {background-image: none }.ez-toc-btn-sm,.ez-toc-btn-xs {padding: 5px 10px;font-size: 12px;line-height: 1.5;border-radius: 3px }.ez-toc-btn-xs {padding: 1px 5px }.ez-toc-btn-default {text-shadow: 0 -1px 0 rgba(0,0,0,0.2);-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075) }.ez-toc-btn-default:active {-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);box-shadow: inset 0 3px 5px rgba(0,0,0,0.125) }.ez-toc-btn:active,.btn.active {background-image: none }.ez-toc-btn-default {text-shadow: 0 1px 0 #fff;background-image: -webkit-gradient(linear,left 0,left 100%,from(#fff),to(#e0e0e0));background-image: -webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image: -moz-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);background-repeat: repeat-x;border-color: #dbdbdb;border-color: #ccc;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe0e0e0',GradientType=0);filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) }.ez-toc-btn-default:hover,.ez-toc-btn-default:focus {background-color: #e0e0e0;background-position: 0 -15px }.ez-toc-btn-default:active,.ez-toc-btn-default.active {background-color: #e0e0e0;border-color: #dbdbdb }.ez-toc-pull-right {float: right !important;margin-left: 10px;}.ez-toc-glyphicon {position: relative;top: 1px;display: inline-block;font-family: 'Glyphicons Halflings';-webkit-font-smoothing: antialiased;font-style: normal;font-weight: normal;line-height: 1;-moz-osx-font-smoothing: grayscale }.ez-toc-glyphicon:empty {width: 1em }.ez-toc-toggle i.ez-toc-glyphicon {font-size: 16px;margin-left: 2px;}[class*="ez-toc-icon-"] {font-family: 'ez-toc-icomoon' !important;speak: none;font-style: normal;font-weight: normal;font-variant: normal;text-transform: none;line-height: 1;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}.ez-toc-icon-toggle:before {content: "\e87a";}#ez-toc-container input {position: absolute;left: -999em;}#ez-toc-container input[type="checkbox"]:checked + nav {opacity: 0;max-height: 0;border: none;}#ez-toc-container label {float: right;position: relative;left: 3px;font-size: 16px;background: #f9efef;padding: 0px 4px 0px 5px;border: 1px solid #999191;border-radius: 5px;cursor: pointer;}div#ez-toc-container p.ez-toc-title {display: contents;}div#ez-toc-container {padding-right: 20px;}#ez-toc-container label {left: 10px;}.ez-toc-wrap-center {margin: 0 auto;}
assets/eztoc-logo.png ADDED
Binary file
assets/js/eztoc-admin.js CHANGED
@@ -1,77 +1,80 @@
1
- function tabToggle(evt, idname) {
2
- var i, tabcontent, tablinks;tabcontent = document.getElementsByClassName("eztoc-tabcontent");
3
- for (i = 0; i < tabcontent.length; i++) {
4
- tabcontent[i].style.display = "none";
5
- }
6
- tablinks = document.getElementsByClassName("eztoc-tablinks");
7
- for (i = 0; i < tablinks.length; i++) {
8
- tablinks[i].className = tablinks[i].className.replace(" active", "");
9
- }
10
- document.getElementById(idname).style.display = "block";
11
-
12
- evt.target.className += " active";
13
- }
14
-
15
- function eztocIsEmail(email) {
16
- var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
17
- return regex.test(email);
18
- }
19
-
20
-
21
- //query form send starts here
22
- jQuery(document).ready(function($) {
23
-
24
- var url = window.location.href;
25
- if(url.indexOf('#technical-support') > -1){
26
- $("#eztoc-technical").click();
27
- }else{
28
- $("#eztoc-default").click();
29
- }
30
-
31
- $(".eztoc-send-query").on("click", function(e){
32
- e.preventDefault();
33
- var message = $("#eztoc_query_message").val();
34
- var email = $("#eztoc_query_email").val();
35
- var premium_cus = $("#saswp_query_premium_cus").val();
36
-
37
- if($.trim(message) !='' && $.trim(email) !='' && eztocIsEmail(email) == true){
38
- $.ajax({
39
- type: "POST",
40
- url:ajaxurl,
41
- dataType: "json",
42
- data:{action:"eztoc_send_query_message",message:message,email:email, eztoc_security_nonce:eztoc_admin_data.eztoc_security_nonce},
43
- success:function(response){
44
- if(response['status'] =='t'){
45
- $(".eztoc-query-success").show();
46
- $(".eztoc-query-error").hide();
47
- }else{
48
- $(".eztoc-query-success").hide();
49
- $(".eztoc-query-error").show();
50
- }
51
- },
52
- error: function(response){
53
- console.log(response);
54
- }
55
- });
56
- }else{
57
-
58
- if($.trim(message) =='' && $.trim(email) ==''){
59
- alert('Please enter the message, email and select customer type');
60
- }else{
61
-
62
- if($.trim(message) == ''){
63
- alert('Please enter the message');
64
- }
65
- if($.trim(email) == ''){
66
- alert('Please enter the email');
67
- }
68
- if(eztocIsEmail(email) == false){
69
- alert('Please enter a valid email');
70
- }
71
-
72
- }
73
-
74
- }
75
-
76
- });
 
 
 
77
  });
1
+ function tabToggle(evt, idname) {
2
+ var i, tabcontent, tablinks;tabcontent = document.getElementsByClassName("eztoc-tabcontent");
3
+ for (i = 0; i < tabcontent.length; i++) {
4
+ tabcontent[i].style.display = "none";
5
+ }
6
+ tablinks = document.getElementsByClassName("eztoc-tablinks");
7
+ for (i = 0; i < tablinks.length; i++) {
8
+ tablinks[i].className = tablinks[i].className.replace(" active", "");
9
+ }
10
+ document.getElementById(idname).style.display = "block";
11
+
12
+ evt.target.className += " active";
13
+ }
14
+
15
+ function eztocIsEmail(email) {
16
+ var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
17
+ return regex.test(email);
18
+ }
19
+
20
+
21
+ //query form send starts here
22
+ jQuery(document).ready(function($) {
23
+
24
+ var url = window.location.href;
25
+ if(url.indexOf('#technical-support') > -1){
26
+ $("#eztoc-technical").click();
27
+ }else if(url.indexOf('#freevspro-support') > -1){
28
+ $("#eztoc-freevspro").click();
29
+ }
30
+ else{
31
+ $("#eztoc-default").click();
32
+ }
33
+
34
+ $(".eztoc-send-query").on("click", function(e){
35
+ e.preventDefault();
36
+ var message = $("#eztoc_query_message").val();
37
+ var email = $("#eztoc_query_email").val();
38
+ var premium_cus = $("#saswp_query_premium_cus").val();
39
+
40
+ if($.trim(message) !='' && $.trim(email) !='' && eztocIsEmail(email) == true){
41
+ $.ajax({
42
+ type: "POST",
43
+ url:ajaxurl,
44
+ dataType: "json",
45
+ data:{action:"eztoc_send_query_message",message:message,email:email, eztoc_security_nonce:eztoc_admin_data.eztoc_security_nonce},
46
+ success:function(response){
47
+ if(response['status'] =='t'){
48
+ $(".eztoc-query-success").show();
49
+ $(".eztoc-query-error").hide();
50
+ }else{
51
+ $(".eztoc-query-success").hide();
52
+ $(".eztoc-query-error").show();
53
+ }
54
+ },
55
+ error: function(response){
56
+ console.log(response);
57
+ }
58
+ });
59
+ }else{
60
+
61
+ if($.trim(message) =='' && $.trim(email) ==''){
62
+ alert('Please enter the message, email and select customer type');
63
+ }else{
64
+
65
+ if($.trim(message) == ''){
66
+ alert('Please enter the message');
67
+ }
68
+ if($.trim(email) == ''){
69
+ alert('Please enter the email');
70
+ }
71
+ if(eztocIsEmail(email) == false){
72
+ alert('Please enter a valid email');
73
+ }
74
+
75
+ }
76
+
77
+ }
78
+
79
+ });
80
  });
assets/right-tick.png ADDED
Binary file
assets/toc-rating.png ADDED
Binary file
easy-table-of-contents.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Easy Table of Contents
4
  * Plugin URI: https://magazine3.company/
5
  * Description: Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content.
6
- * Version: 2.0.19
7
  * Author: Magazine3
8
  * Author URI: https://magazine3.company/
9
  * Text Domain: easy-table-of-contents
10
  * Domain Path: /languages
11
  *
12
- * Copyright 2022 Magazine3 ( email : support@magazine3.in )
13
  *
14
  * Easy Table of Contents is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License, version 2, as
@@ -26,7 +26,7 @@
26
  * @package Easy Table of Contents
27
  * @category Plugin
28
  * @author Magazine3
29
- * @version 2.0.19
30
  */
31
 
32
  use Easy_Plugins\Table_Of_Contents\Debug;
@@ -48,7 +48,7 @@ if ( ! class_exists( 'ezTOC' ) ) {
48
  * @since 1.0
49
  * @var string
50
  */
51
- const VERSION = '2.0.19';
52
 
53
  /**
54
  * Stores the instance of this class.
@@ -235,13 +235,15 @@ if ( ! class_exists( 'ezTOC' ) ) {
235
  wp_register_script( 'jquery-smooth-scroll', EZ_TOC_URL . "vendor/smooth-scroll/jquery.smooth-scroll$min.js", array( 'jquery' ), '2.2.0', TRUE );
236
  wp_register_script( 'jquery-sticky-kit', EZ_TOC_URL . "vendor/sticky-kit/jquery.sticky-kit$min.js", array( 'jquery' ), '1.9.2', TRUE );
237
 
238
- wp_register_script(
 
239
  'ez-toc-js',
240
  EZ_TOC_URL . "assets/js/front{$min}.js",
241
  array( 'jquery-smooth-scroll', 'js-cookie', 'jquery-sticky-kit' ),
242
  ezTOC::VERSION . '-' . filemtime( EZ_TOC_PATH . "/assets/js/front{$min}.js" ),
243
  true
244
- );
 
245
 
246
  if ( ! ezTOC_Option::get( 'exclude_css' ) ) {
247
 
@@ -588,7 +590,6 @@ if ( ! class_exists( 'ezTOC' ) ) {
588
  * @return string
589
  */
590
  public static function the_content( $content ) {
591
-
592
  $maybeApplyFilter = self::maybeApplyTheContentFilter();
593
 
594
  Debug::log( 'the_content_filter', 'The `the_content` filter applied.', $maybeApplyFilter );
@@ -626,7 +627,6 @@ if ( ! class_exists( 'ezTOC' ) ) {
626
  $find = $post->getHeadings();
627
  $replace = $post->getHeadingsWithAnchors();
628
  $toc = $post->getTOC();
629
-
630
  $headings = implode( PHP_EOL, $find );
631
  $anchors = implode( PHP_EOL, $replace );
632
 
3
  * Plugin Name: Easy Table of Contents
4
  * Plugin URI: https://magazine3.company/
5
  * Description: Adds a user friendly and fully automatic way to create and display a table of contents generated from the page content.
6
+ * Version: 2.0.23
7
  * Author: Magazine3
8
  * Author URI: https://magazine3.company/
9
  * Text Domain: easy-table-of-contents
10
  * Domain Path: /languages
11
  *
12
+ * Copyright 2022 Magazine3 ( email : team@magazine3.in )
13
  *
14
  * Easy Table of Contents is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License, version 2, as
26
  * @package Easy Table of Contents
27
  * @category Plugin
28
  * @author Magazine3
29
+ * @version 2.0.23
30
  */
31
 
32
  use Easy_Plugins\Table_Of_Contents\Debug;
48
  * @since 1.0
49
  * @var string
50
  */
51
+ const VERSION = '2.0.23';
52
 
53
  /**
54
  * Stores the instance of this class.
235
  wp_register_script( 'jquery-smooth-scroll', EZ_TOC_URL . "vendor/smooth-scroll/jquery.smooth-scroll$min.js", array( 'jquery' ), '2.2.0', TRUE );
236
  wp_register_script( 'jquery-sticky-kit', EZ_TOC_URL . "vendor/sticky-kit/jquery.sticky-kit$min.js", array( 'jquery' ), '1.9.2', TRUE );
237
 
238
+ if (ezTOC_Option::get( 'toc_loading' ) != 'css') {
239
+ wp_register_script(
240
  'ez-toc-js',
241
  EZ_TOC_URL . "assets/js/front{$min}.js",
242
  array( 'jquery-smooth-scroll', 'js-cookie', 'jquery-sticky-kit' ),
243
  ezTOC::VERSION . '-' . filemtime( EZ_TOC_PATH . "/assets/js/front{$min}.js" ),
244
  true
245
+ );
246
+ }
247
 
248
  if ( ! ezTOC_Option::get( 'exclude_css' ) ) {
249
 
590
  * @return string
591
  */
592
  public static function the_content( $content ) {
 
593
  $maybeApplyFilter = self::maybeApplyTheContentFilter();
594
 
595
  Debug::log( 'the_content_filter', 'The `the_content` filter applied.', $maybeApplyFilter );
627
  $find = $post->getHeadings();
628
  $replace = $post->getHeadingsWithAnchors();
629
  $toc = $post->getTOC();
 
630
  $headings = implode( PHP_EOL, $find );
631
  $anchors = implode( PHP_EOL, $replace );
632
 
includes/class.admin.php CHANGED
@@ -490,7 +490,7 @@ if ( ! class_exists( 'ezTOC_Admin' ) ) {
490
  $user_email = $email;
491
  }
492
  //php mailer variables
493
- $sendto = 'support@magazine3.in';
494
  $subject = "Easy Table of Content Query";
495
 
496
  $headers[] = 'Content-Type: text/html; charset=UTF-8';
490
  $user_email = $email;
491
  }
492
  //php mailer variables
493
+ $sendto = 'team@magazine3.in';
494
  $subject = "Easy Table of Content Query";
495
 
496
  $headers[] = 'Content-Type: text/html; charset=UTF-8';
includes/class.options.php CHANGED
@@ -266,6 +266,18 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
266
  'type' => 'checkbox',
267
  'default' => true,
268
  ),
 
 
 
 
 
 
 
 
 
 
 
 
269
  )
270
  ),
271
  'appearance' => apply_filters(
@@ -321,13 +333,14 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
321
  ),
322
  'wrapping' => array(
323
  'id' => 'wrapping',
324
- 'name' => __( 'Float', 'easy-table-of-contents' ),
325
  'desc' => '',
326
  'type' => 'select',
327
  'options' => array(
328
  'none' => __( 'None (Default)', 'easy-table-of-contents' ),
329
  'left' => __( 'Left', 'easy-table-of-contents' ),
330
  'right' => __( 'Right', 'easy-table-of-contents' ),
 
331
  ),
332
  'default' => 'none',
333
  ),
@@ -542,6 +555,26 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
542
  'type' => 'text',
543
  'default' => '',
544
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
545
  )
546
  ),
547
  );
@@ -574,6 +607,7 @@ if ( ! class_exists( 'ezTOC_Option' ) ) {
574
  'smooth_scroll_offset' => 30,
575
  'mobile_smooth_scroll_offset' => 0,
576
  'visibility' => true,
 
577
  //'visibility_show' => 'show',
578
  //'visibility_hide' => 'hide',
579
  'visibility_hide_by_default' => false,
266
  'type' => 'checkbox',
267
  'default' => true,
268
  ),
269
+ 'toc_loading' => array(
270
+ 'id' => 'toc_loading',
271
+ 'name' => __( 'TOC Loading Method', 'easy-table-of-contents' ),
272
+ 'desc' => '',
273
+ 'type' => 'select',
274
+ 'options' => array(
275
+ 'js' => __( 'JavaScript (default)', 'easy-table-of-contents' ),
276
+ 'css' => __( 'Pure CSS', 'easy-table-of-contents' ),
277
+
278
+ ),
279
+ 'default' => 'js',
280
+ ),
281
  )
282
  ),
283
  'appearance' => apply_filters(
333
  ),
334
  'wrapping' => array(
335
  'id' => 'wrapping',
336
+ 'name' => __( 'Alignment', 'easy-table-of-contents' ),
337
  'desc' => '',
338
  'type' => 'select',
339
  'options' => array(
340
  'none' => __( 'None (Default)', 'easy-table-of-contents' ),
341
  'left' => __( 'Left', 'easy-table-of-contents' ),
342
  'right' => __( 'Right', 'easy-table-of-contents' ),
343
+ 'center' => __( 'Center', 'easy-table-of-contents' ),
344
  ),
345
  'default' => 'none',
346
  ),
555
  'type' => 'text',
556
  'default' => '',
557
  ),
558
+
559
+ )
560
+ ),
561
+ 'prosettings' => apply_filters(
562
+ 'ez_toc_settings_prosettings',
563
+ array(
564
+ 'exclude_by_class' => array(
565
+ 'id' => 'exclude_by_class',
566
+ 'name' => __( 'Exclude Headings by Class', 'easy-table-of-contents' ),
567
+ 'desc' => '<br/>' . __( 'You can hide the TOC heading by its class and if you want to hide multiple headings then please saparate them with a comma (,)', 'easy-table-of-contents' ),
568
+ 'type' => 'text',
569
+ 'default' => '',
570
+ ),
571
+ 'fixedtoc' => array(
572
+ 'id' => 'fixedtoc',
573
+ 'name' => __( 'Fixed TOC', 'easy-table-of-contents' ),
574
+ 'desc' => __( 'Fixed TOC in the page display so it can be easier to navigate', 'easy-table-of-contents' ),
575
+ 'type' => 'checkbox',
576
+ 'default' => false,
577
+ ),
578
  )
579
  ),
580
  );
607
  'smooth_scroll_offset' => 30,
608
  'mobile_smooth_scroll_offset' => 0,
609
  'visibility' => true,
610
+ 'toc_loading' => 'js',
611
  //'visibility_show' => 'show',
612
  //'visibility_hide' => 'hide',
613
  'visibility_hide_by_default' => false,
includes/class.post.php CHANGED
@@ -786,7 +786,7 @@ class ezTOC_Post {
786
  $return = false;
787
 
788
  if ( $heading ) {
789
-
790
  // WP entity encodes the post content.
791
  $return = html_entity_decode( $heading, ENT_QUOTES, get_option( 'blog_charset' ) );
792
  $return = br2( $return, ' ' );
@@ -1105,7 +1105,10 @@ class ezTOC_Post {
1105
  case 'right':
1106
  $class[] = 'ez-toc-wrap-right';
1107
  break;
1108
-
 
 
 
1109
  case 'none':
1110
  default:
1111
  // do nothing
@@ -1192,20 +1195,30 @@ class ezTOC_Post {
1192
  $toc_title = str_replace( '%PAGE_NAME%', get_the_title(), $toc_title );
1193
  }
1194
 
1195
- $html .= '<div class="ez-toc-title-container">' . PHP_EOL;
 
 
1196
 
1197
  $html .= '<p class="ez-toc-title">' . esc_html__( htmlentities( $toc_title, ENT_COMPAT, 'UTF-8' ), 'easy-table-of-contents' ). '</p>' . PHP_EOL;
1198
 
1199
- $html .= '<span class="ez-toc-title-toggle">';
1200
-
 
 
1201
  if ( ezTOC_Option::get( 'visibility' ) ) {
1202
-
1203
- $html .= '<a class="ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle" style="display: none;"><i class="ez-toc-glyphicon ez-toc-icon-toggle"></i></a>';
 
 
 
1204
  }
1205
 
1206
- $html .= '</span>';
1207
-
1208
- $html .= '</div>' . PHP_EOL;
 
 
 
1209
  }
1210
 
1211
  ob_start();
786
  $return = false;
787
 
788
  if ( $heading ) {
789
+ $heading = apply_filters( 'ez_toc_url_anchor_target_before', $heading );
790
  // WP entity encodes the post content.
791
  $return = html_entity_decode( $heading, ENT_QUOTES, get_option( 'blog_charset' ) );
792
  $return = br2( $return, ' ' );
1105
  case 'right':
1106
  $class[] = 'ez-toc-wrap-right';
1107
  break;
1108
+ case 'center':
1109
+ $class[] = 'ez-toc-wrap-center';
1110
+ break;
1111
+
1112
  case 'none':
1113
  default:
1114
  // do nothing
1195
  $toc_title = str_replace( '%PAGE_NAME%', get_the_title(), $toc_title );
1196
  }
1197
 
1198
+ if (ezTOC_Option::get( 'toc_loading' ) != 'css') {
1199
+ $html .= '<div class="ez-toc-title-container">' . PHP_EOL;
1200
+ }
1201
 
1202
  $html .= '<p class="ez-toc-title">' . esc_html__( htmlentities( $toc_title, ENT_COMPAT, 'UTF-8' ), 'easy-table-of-contents' ). '</p>' . PHP_EOL;
1203
 
1204
+ if (ezTOC_Option::get( 'toc_loading' ) != 'css') {
1205
+ $html .= '<span class="ez-toc-title-toggle">';
1206
+ }
1207
+
1208
  if ( ezTOC_Option::get( 'visibility' ) ) {
1209
+ if (ezTOC_Option::get( 'toc_loading' ) != 'css') {
1210
+ $html .= '<a class="ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle" style="display: none;"><i class="ez-toc-glyphicon ez-toc-icon-toggle"></i></a>';
1211
+ }else{
1212
+ $html .= '<label for="item"><i class="ez-toc-glyphicon ez-toc-icon-toggle"></i></label><input type="checkbox" id="item">';
1213
+ }
1214
  }
1215
 
1216
+ if (ezTOC_Option::get( 'toc_loading' ) != 'css') {
1217
+ $html .= '</span>';
1218
+ }
1219
+ if (ezTOC_Option::get( 'toc_loading' ) != 'css') {
1220
+ $html .= '</div>' . PHP_EOL;
1221
+ }
1222
  }
1223
 
1224
  ob_start();
includes/class.widget-toc.php CHANGED
@@ -273,9 +273,9 @@ if ( ! class_exists( 'ezTOC_Widget' ) ) {
273
 
274
  <?php
275
  }
276
-
277
  echo '<nav>'. PHP_EOL . $post->getTOCList() . '</nav>' . PHP_EOL;
278
-
279
  do_action( 'ez_toc_after_widget' );
280
 
281
  echo '</div>' . PHP_EOL;
273
 
274
  <?php
275
  }
276
+ do_action( 'ez_toc_before' );
277
  echo '<nav>'. PHP_EOL . $post->getTOCList() . '</nav>' . PHP_EOL;
278
+ do_action( 'ez_toc_after' );
279
  do_action( 'ez_toc_after_widget' );
280
 
281
  echo '</div>' . PHP_EOL;
includes/inc.admin-options-page.php CHANGED
@@ -1,11 +1,41 @@
1
  <div id='toc' class='wrap'>
2
- <h1><?php _e( 'Table of Contents', 'easy-table-of-contents' ); ?></h1>
3
  <div class="toc-tab-panel">
4
- <a id="eztoc-default" class="eztoc-tablinks" data-href="no" href="#general-settings" onclick="tabToggle(event, 'general')">General</a>
5
- <a class="eztoc-tablinks" id="eztoc-technical" href="#technical-support" onclick="tabToggle(event, 'technical')" data-href="no">Technical Support</a>
6
- </div><!-- /.Tab panel -->
 
 
 
 
 
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  <div class="eztoc-tabcontent" id="general">
 
9
  <form method="post" action="<?php echo esc_url( self_admin_url( 'options.php' ) ); ?>">
10
 
11
  <div class="metabox-holder">
@@ -61,14 +91,30 @@
61
  </div><!-- /.postbox -->
62
 
63
  </div><!-- /.metabox-holder -->
 
 
 
 
 
 
 
 
 
64
 
 
 
 
 
 
 
 
65
  <?php settings_fields( 'ez-toc-settings' ); ?>
66
  <?php submit_button( __( 'Save Changes', 'easy-table-of-contents' ) ); ?>
67
  </form>
68
  </div><!-- /.General Settings ended -->
69
 
70
  <div class="eztoc_support_div eztoc-tabcontent" id="technical">
71
- <strong><?php echo esc_html__('If you have any query, please write the query in below box or email us at','easy-table-of-contents') ?> <a href="mailto:support@magazine3.in">support@magazine3.in</a> <?php echo esc_html__('we will reply to your email address shortly.','easy-table-of-contents') ?></strong>
72
 
73
  <ul>
74
  <li>
@@ -89,4 +135,271 @@
89
  </ul>
90
 
91
  </div><!-- /.Technical support div ended -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  </div>
1
  <div id='toc' class='wrap'>
2
+ <img src="<?php echo plugins_url( 'assets/eztoc-logo.png', dirname(__FILE__) ) ?>" alt="tocwp" srcset="<?php echo plugins_url( 'assets/eztoc-logo.png', dirname(__FILE__) ) ?> 1x, <?php echo plugins_url( 'assets/eztoc-logo.png', dirname(__FILE__) ) ?> 2x" >
3
  <div class="toc-tab-panel">
4
+ <a id="eztoc-default" class="eztoc-tablinks" data-href="no" href="#general-settings" onclick="tabToggle(event, 'general')">Settings</a>
5
+ <?php
6
+ $pro = '';
7
+
8
+ if (function_exists('ez_toc_pro_activation_link')) {
9
+ $pro = '<a id="eztoc-default" class="eztoc-tablinks" data-href="no" href="#eztoc-prosettings" onclick="tabToggle(event, "prosettings")">PRO Settings</a>';
10
+ }?>
11
+ <?php echo $pro; ?>
12
 
13
+ <?php
14
+ if (!function_exists('ez_toc_pro_activation_link')) {?>
15
+ <a class="eztoc-tablinks" id="eztoc-freevspro" href="#freevspro-support" onclick="tabToggle(event, 'freevspro')" data-href="no">Free vs PRO</a>
16
+ <?php }
17
+ ?>
18
+ <a class="eztoc-tablinks" id="eztoc-technical" href="#technical-support" onclick="tabToggle(event, 'technical')" data-href="no">Help & Support</a>
19
+ <?php
20
+
21
+ if (function_exists('ez_toc_pro_activation_link')) {
22
+ $license_info = get_option("easytoc_pro_upgrade_license");
23
+ $license_exp = date('Y-m-d', strtotime($license_info['pro']['license_key_expires']));
24
+ $today = date('Y-m-d');
25
+ $exp_date = $license_exp;
26
+ $date1 = date_create($today);
27
+ $date2 = date_create($exp_date);
28
+ $diff = date_diff($date1,$date2);
29
+ $days = $diff->format("%a");
30
+ $days = intval($days);?>
31
+ <a class="eztoc-tablinks" id="eztoc-license" href="#license" onclick="tabToggle(event, 'license')" data-href="no">License</a>
32
+ <?php
33
+ if( $days < 30 ){?>
34
+ <span class="dashicons dashicons-warning" style="color: #ffb229;position: relative;top: 15px;left: -10px;"></span>
35
+ <?php } }?>
36
+ </div><!-- /.Tab panel -->
37
  <div class="eztoc-tabcontent" id="general">
38
+ <div id="eztoc-tabs" style="margin-top: 10px;"><a href="#eztoc-general">General</a> | <a href="#eztoc-appearance" >Appearance</a> | <a href="#eztoc-advanced" >Advanced</a></div>
39
  <form method="post" action="<?php echo esc_url( self_admin_url( 'options.php' ) ); ?>">
40
 
41
  <div class="metabox-holder">
91
  </div><!-- /.postbox -->
92
 
93
  </div><!-- /.metabox-holder -->
94
+ <?php if (function_exists('ez_toc_pro_activation_link')) {?>
95
+ <div class="metabox-holder">
96
+
97
+ <div class="postbox" id="eztoc-prosettings">
98
+ <h3><span><?php _e( 'PRO Settings', 'easy-table-of-contents' ); ?></span></h3>
99
+ <div class="inside">
100
+
101
+ <table class="form-table">
102
+ <?php do_settings_fields( 'ez_toc_settings_prosettings', 'ez_toc_settings_prosettings' ); ?>
103
 
104
+ </table>
105
+
106
+ </div><!-- /.inside -->
107
+ </div><!-- /.postbox -->
108
+
109
+ </div><!-- /.metabox-holder -->
110
+ <?php } ?>
111
  <?php settings_fields( 'ez-toc-settings' ); ?>
112
  <?php submit_button( __( 'Save Changes', 'easy-table-of-contents' ) ); ?>
113
  </form>
114
  </div><!-- /.General Settings ended -->
115
 
116
  <div class="eztoc_support_div eztoc-tabcontent" id="technical">
117
+ <strong><?php echo esc_html__('If you have any query, please write the query in below box or email us at','easy-table-of-contents') ?> <a href="mailto:team@magazine3.in">team@magazine3.in</a> <?php echo esc_html__('we will reply to your email address shortly.','easy-table-of-contents') ?></strong>
118
 
119
  <ul>
120
  <li>
135
  </ul>
136
 
137
  </div><!-- /.Technical support div ended -->
138
+
139
+ <div class="eztoc_support_div eztoc-tabcontent" id="freevspro">
140
+ <div class="eztoc-wrapper">
141
+ <div class="eztoc-wr">
142
+ <div class="etoc-eztoc-img">
143
+ <span class="sp_ov"></span>
144
+ </div>
145
+ <div class="etoc-eztoc-cnt">
146
+ <h1><?php _e( 'UPGRADE to PRO Version'); ?></h1>
147
+ <p><?php _e( 'Take your Table of Contents to the NEXT Level!', 'easy-table-of-contents' ); ?></p>
148
+ <a class="buy" href="#upgrade"><?php _e( 'Purchase Now', 'easy-table-of-contents' ); ?></a>
149
+ </div>
150
+ <div class="pvf">
151
+ <div class="ext">
152
+ <div class="ex-1 e-1">
153
+ <h4><?php _e( 'Premium Features', 'easy-table-of-contents' ); ?></h4>
154
+ <p><?php _e( 'Easy TOC Pro will enhances your website table of contents and takes it to a next level to help you reach more engagement and personalization with your users.', 'easy-table-of-contents' ); ?></p>
155
+ </div>
156
+ <div class="ex-1 e-2">
157
+ <h4><?php _e( 'Continuous Innovation', 'easy-table-of-contents' ); ?></h4>
158
+ <p><?php _e( 'We are planning to continiously build premium features and release them. We have a roadmap and we listen to our customers to turn their feedback into reality.', 'easy-table-of-contents' ); ?></p>
159
+ </div>
160
+ <div class="ex-1 e-3">
161
+ <h4><?php _e( 'Tech Support', 'easy-table-of-contents' ); ?></h4>
162
+ <p><?php _e( 'Get private ticketing help from our full-time technical staff & developers who helps you with the technical issues.', 'easy-table-of-contents' ); ?></p>
163
+ </div>
164
+ </div><!-- /. ext -->
165
+ <div class="pvf-cnt">
166
+ <div class="pvf-tlt">
167
+ <h2><?php _e( 'Compare Pro vs. Free Version', 'easy-table-of-contents' ); ?></h2>
168
+ <span><?php _e( 'See what you\'ll get with the professional version', 'easy-table-of-contents' ); ?></span>
169
+ </div>
170
+ <div class="pvf-cmp">
171
+ <div class="fr">
172
+ <h1>FREE</h1>
173
+ <div class="fr-fe">
174
+ <div class="fe-1">
175
+ <h4><?php _e( 'Continious Development', 'easy-table-of-contents' ); ?></h4>
176
+ <p><?php _e( 'We take bug reports and feature requests seriously. We’re continiously developing &amp; improve this product for last 2 years with passion and love.', 'easy-table-of-contents' ); ?></p>
177
+ </div>
178
+ <div class="fe-1">
179
+ <h4><?php _e( '50+ Features', 'easy-table-of-contents' ); ?></h4>
180
+ <p><?php _e( 'We\'re constantly expanding the plugin and make it more useful. We have wide variety of features which will fit any use-case.', 'easy-table-of-contents' ); ?></p>
181
+ </div>
182
+ </div><!-- /. fr-fe -->
183
+ </div><!-- /. fr -->
184
+ <div class="pr">
185
+ <h1>PRO</h1>
186
+ <div class="pr-fe">
187
+ <span><?php _e( 'Everything in Free, and:', 'easy-table-of-contents' ); ?></span>
188
+ <div class="fet">
189
+ <div class="fe-2">
190
+ <div class="fe-t">
191
+ <img src="<?php echo plugins_url( 'assets/right-tick.png', dirname(__FILE__) ) ?>">
192
+ <h4><?php _e( 'Gutenberg Block', 'easy-table-of-contents' ); ?></h4>
193
+ </div>
194
+ <p><?php _e( 'Easily create TOC in Gutenberg block without the need any coding or shortcode.', 'easy-table-of-contents' ); ?></p>
195
+ </div>
196
+ <div class="fe-2">
197
+ <div class="fe-t">
198
+ <img src="<?php echo plugins_url( 'assets/right-tick.png', dirname(__FILE__) ) ?>">
199
+ <h4><?php _e( 'Elementor Widget', 'easy-table-of-contents' ); ?></h4>
200
+ </div>
201
+ <p><?php _e( 'Easily create TOC in Elementor with the widget without the need any coding or shortcode.', 'easy-table-of-contents' ); ?></p>
202
+ </div>
203
+
204
+ <div class="fe-2">
205
+ <div class="fe-t">
206
+ <img src="<?php echo plugins_url( 'assets/right-tick.png', dirname(__FILE__) ) ?>">
207
+ <h4>Fixed/Sticky TOC</h4>
208
+ </div>
209
+ <p>Users can faster find the content they want with sticky</p>
210
+ </div>
211
+
212
+
213
+ <div class="fe-2">
214
+ <div class="fe-t">
215
+ <img src="<?php echo plugins_url( 'assets/right-tick.png', dirname(__FILE__) ) ?>">
216
+ <h4>Full AMP Support</h4>
217
+ </div>
218
+ <p>Generates a table of contents with your existing setup and makes them AMP automatically.</p>
219
+ </div>
220
+ <div class="fe-2">
221
+ <div class="fe-t">
222
+ <img src="<?php echo plugins_url( 'assets/right-tick.png', dirname(__FILE__) ) ?>">
223
+ <h4>Continious Updates</h4>
224
+ </div>
225
+ <p>We're continiously updating our premium features and releasing them.</p>
226
+ </div>
227
+ <div class="fe-2">
228
+ <div class="fe-t">
229
+ <img src="<?php echo plugins_url( 'assets/right-tick.png', dirname(__FILE__) ) ?>">
230
+ <h4>Documentation</h4>
231
+ </div>
232
+ <p>We create tutorials for every possible feature and keep it updated for you.</p>
233
+ </div>
234
+ </div><!-- /. fet -->
235
+ <div class="pr-btn">
236
+ <a href="#upgrade">Upgrade to Pro</a>
237
+ </div><!-- /. pr-btn -->
238
+ </div><!-- /. pr-fe -->
239
+ </div><!-- /.pr -->
240
+ </div><!-- /. pvf-cmp -->
241
+ </div><!-- /. pvf-cnt -->
242
+ <div id="upgrade" class="amp-upg">
243
+ <div class="upg-t">
244
+ <h2>Let's Upgrade Your Easy Table of Contents</h2>
245
+ <span>Choose your plan and upgrade in minutes!</span>
246
+ </div>
247
+ <div class="etoc-pri-lst">
248
+ <div class="pri-tb">
249
+ <a href="https://tocwp.com/checkout/?edd_action=add_to_cart&download_id=1618&edd_options[price_id]=1" target="_blank">
250
+ <h5>PERSONAL</h5>
251
+ <span class="d-amt"><sup>$</sup>49</span>
252
+ <span class="amt"><sup>$</sup>49</span>
253
+ <span class="s-amt">(Save $59)</span>
254
+ <span class="bil">Billed Annually</span>
255
+ <span class="s">1 Site License</span>
256
+ <span class="e">Tech Support</span>
257
+ <span class="f">1 year Updates </span>
258
+ <span class="etoc-sv">Pro Features </span>
259
+ <span class="pri-by">Buy Now</span>
260
+ </a>
261
+ </div>
262
+ <div class="pri-tb rec">
263
+ <a href="https://tocwp.com/checkout/?edd_action=add_to_cart&download_id=1618&edd_options[price_id]=2" target="_blank">
264
+ <h5>MULTIPLE</h5>
265
+ <span class="d-amt"><sup>$</sup>69</span>
266
+ <span class="amt"><sup>$</sup>69</span>
267
+ <span class="s-amt">(Save $79)</span>
268
+ <span class="bil">Billed Annually</span>
269
+ <span class="s">3 Site License</span>
270
+ <span class="e">Tech Support</span>
271
+ <span class="f">1 year Updates</span>
272
+ <span class="etoc-sv">Save 78%</span>
273
+ <span class="pri-by">Buy Now</span>
274
+ <span class="etoc-rcm">RECOMMENDED</span>
275
+ </a>
276
+ </div>
277
+ <div class="pri-tb">
278
+ <a href="https://tocwp.com/checkout/?edd_action=add_to_cart&download_id=1618&edd_options[price_id]=3" target="_blank">
279
+ <h5>WEBMASTER</h5>
280
+ <span class="d-amt"><sup>$</sup>79</span>
281
+ <span class="amt"><sup>$</sup>79</span>
282
+ <span class="s-amt">(Save $99)</span>
283
+ <span class="bil">Billed Annually</span>
284
+ <span class="s">10 Site License</span>
285
+ <span class="e">Tech Support</span>
286
+ <span class="f">1 year Updates</span>
287
+ <span class="etoc-sv">Save 83%</span>
288
+ <span class="pri-by">Buy Now</span>
289
+ </a>
290
+ </div>
291
+ <div class="pri-tb">
292
+ <a href="https://tocwp.com/checkout/?edd_action=add_to_cart&download_id=1618&edd_options[price_id]=4" target="_blank">
293
+ <h5>FREELANCER</h5>
294
+ <span class="d-amt"><sup>$</sup>99</span>
295
+ <span class="amt"><sup>$</sup>99</span>
296
+ <span class="s-amt">(Save $119)</span>
297
+ <span class="bil">Billed Annually</span>
298
+ <span class="s">25 Site License</span>
299
+ <span class="e">Tech Support</span>
300
+ <span class="f">1 year Updates</span>
301
+ <span class="etoc-sv">Save 90%</span>
302
+ <span class="pri-by">Buy Now</span>
303
+ </a>
304
+ </div>
305
+ <div class="pri-tb">
306
+ <a href="https://tocwp.com/checkout/?edd_action=add_to_cart&download_id=1618&edd_options[price_id]=5" target="_blank">
307
+ <h5>AGENCY</h5>
308
+ <span class="d-amt"><sup>$</sup>199</span>
309
+ <span class="amt"><sup>$</sup>199</span>
310
+ <span class="s-amt">(Save $199)</span>
311
+ <span class="bil">Billed Annually</span>
312
+ <span class="s">Unlimited Sites</span>
313
+ <span class="e">E-mail support</span>
314
+ <span class="f">1 year Updates</span>
315
+ <span class="etoc-sv">UNLIMITED</span>
316
+ <span class="pri-by">Buy Now</span>
317
+ </a>
318
+ </div>
319
+ <div class="pri-tb">
320
+ <a href="https://tocwp.com/checkout/?edd_action=add_to_cart&download_id=1618&edd_options[price_id]=6" target="_blank">
321
+ <h5>LIFETIME</h5>
322
+ <span class="d-amt"><sup>$</sup>499</span>
323
+ <span class="amt"><sup>$</sup>499</span>
324
+ <span class="s-amt">(Save $199)</span>
325
+ <span class="bil">Billed Annually</span>
326
+ <span class="s">Unlimited Sites</span>
327
+ <span class="e">Unlimited E-mail support</span>
328
+ <span class="f">Lifetime License</span>
329
+ <span class="etoc-sv">UNLIMITED</span>
330
+ <span class="pri-by">Buy Now</span>
331
+ </a>
332
+ </div>
333
+ </div><!-- /.pri-lst -->
334
+ <div class="tru-us">
335
+ <img src="<?php echo plugins_url( 'assets/toc-rating.png', dirname(__FILE__) ) ?>">
336
+ <h2>Used by more than 300,000+ Users!</h2>
337
+ <p>More than 300k Websites, Blogs &amp; E-Commerce shops are powered by our easy table of contents plugin making it the #1 Independent TOC plugin in WordPress.</p>
338
+ <a href="https://wordpress.org/support/plugin/easy-table-of-contents/reviews/?filter=5" target="_blank">Read The Reviews</a>
339
+ </div>
340
+ </div><!--/ .amp-upg -->
341
+ <div class="ampfaq">
342
+ <h2>Frequently Asked Questions</h2>
343
+ <div class="faq-lst">
344
+ <div class="lt">
345
+ <ul>
346
+ <li>
347
+ <span>Is there a setup fee?</span>
348
+ <p>No. There are no setup fees on any of our plans</p>
349
+ </li>
350
+ <li>
351
+ <span>What's the time span for your contracts?</span>
352
+ <p>All the plans are year-to-year which are subscribed annually except for lifetime plan.</p>
353
+ </li>
354
+ <li>
355
+ <span>What payment methods are accepted?</span>
356
+ <p>We accepts PayPal and Credit Card payments.</p>
357
+ </li>
358
+ <li>
359
+ <span>Do you offer support if I need help?</span>
360
+ <p>Yes! Top-notch customer support for our paid customers is key for a quality product, so we’ll do our very best to resolve any issues you encounter via our support page.</p>
361
+ </li>
362
+ <li>
363
+ <span>Can I use the plugins after my subscription is expired?</span>
364
+ <p>Yes, you can use the plugins but you will not get future updates for those plugins.</p>
365
+ </li>
366
+ </ul>
367
+ </div>
368
+ <div class="rt">
369
+ <ul>
370
+ <li>
371
+ <span>Can I cancel my membership at any time?</span>
372
+ <p>Yes. You can cancel your membership by contacting us.</p>
373
+ </li>
374
+ <li>
375
+ <span>Can I change my plan later on?</span>
376
+ <p>Yes. You can upgrade your plan by contacting us.</p>
377
+ </li>
378
+ <li>
379
+ <span>Do you offer refunds?</span>
380
+ <p>You are fully protected by our 100% Money Back Guarantee Unconditional. If during the next 14 days you experience an issue that makes the plugin unusable and we are unable to resolve it, we’ll happily offer a full refund.</p>
381
+ </li>
382
+ <li>
383
+ <span>Do I get updates for the premium plugin?</span>
384
+ <p>Yes, you will get updates for all the premium plugins until your subscription is active.</p>
385
+ </li>
386
+ </ul>
387
+ </div>
388
+ </div><!-- /.faq-lst -->
389
+ <div class="f-cnt">
390
+ <span>I have other pre-sale questions, can you help?</span>
391
+ <p>All the plans are year-to-year which are subscribed annually.</p>
392
+ <a href="https://tocwp.com/contact/'?utm_source=tocwp-plugin&utm_medium=addon-card'" target="_blank">Contact a Human</a>
393
+ </div><!-- /.f-cnt -->
394
+ </div><!-- /.faq -->
395
+ </div><!-- /. pvf -->
396
+ </div>
397
+ </div>
398
+ </div><!-- /.freevspro div ended -->
399
+
400
+ <div id="license" class="eztoc_support_div eztoc-tabcontent">
401
+ <?php
402
+ do_action("admin_upgrade_license_page");
403
+ ?>
404
+ </div>
405
  </div>
includes/inc.functions.php CHANGED
@@ -89,4 +89,4 @@ function get_ez_toc_block( $post = null, $apply_content_filter = true ) {
89
  function ez_toc_block( $post = null, $apply_content_filter = true ) {
90
 
91
  echo get_ez_toc_block( $post, $apply_content_filter );
92
- }
89
  function ez_toc_block( $post = null, $apply_content_filter = true ) {
90
 
91
  echo get_ez_toc_block( $post, $apply_content_filter );
92
+ }