TemplatesNext ToolKit - Version 1.0.6

Version Description

Download this release

Release Info

Developer marsian
Plugin Icon 128x128 TemplatesNext ToolKit
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

custom-post-types/portfolio-type.php CHANGED
@@ -42,6 +42,8 @@
42
  : false,
43
  'supports' => array('title', 'editor', 'thumbnail'),
44
  'has_archive' => true,
 
 
45
  'taxonomies' => array('portfolio-category')
46
  );
47
 
42
  : false,
43
  'supports' => array('title', 'editor', 'thumbnail'),
44
  'has_archive' => true,
45
+ 'menu_icon' => 'dashicons-art',
46
+
47
  'taxonomies' => array('portfolio-category')
48
  );
49
 
custom-post-types/testimonials-type.php CHANGED
@@ -32,6 +32,7 @@
32
  'rewrite' => false,
33
  'supports' => array('title', 'editor', 'thumbnail'),
34
  'has_archive' => true,
 
35
  'taxonomies' => array('testimonials-category')
36
  );
37
 
32
  'rewrite' => false,
33
  'supports' => array('title', 'editor', 'thumbnail'),
34
  'has_archive' => true,
35
+ 'menu_icon' => 'dashicons-editor-quote',
36
  'taxonomies' => array('testimonials-category')
37
  );
38
 
js/tx_main.js CHANGED
@@ -575,3 +575,9 @@ function tx_color_picker($ele){
575
  jQuery(this).parents('.wp-picker-container').find('.wp-color-result').addClass('ebs-picked-cleared');
576
  });
577
  }
 
 
 
 
 
 
575
  jQuery(this).parents('.wp-picker-container').find('.wp-color-result').addClass('ebs-picked-cleared');
576
  });
577
  }
578
+
579
+ function tx_footer_include(){
580
+ var tx_footer=jQuery('<div><span class="tx-outer-footer"><a href="http://www.templatesnext.org/icreate/?page_id=541">Demo and Documentation</a></span></div>').html();
581
+ //tx_footer=tx_footer.outerHTML;
582
+ return tx_footer;
583
+ }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === TemplatesNext ToolKit ===
2
 
3
  Contributors: marsian
4
- Tags: shortcode, shortcodes, columns, column, section, sections, testimonials, border, borders, button, buttons, masonry, posts, post_type, font awesome, icons, fontawesome
5
  Requires at least: 3.6
6
  Tested up to: 4.1
7
- Stable tag: 1.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,8 +13,9 @@ Custom Portfolio, Testimonial and Shortcode functionality for TemplatesNext Word
13
  == Description ==
14
 
15
  Custom Portfolio, Testimonial and Shortcode functionality for TemplatesNext Wordpress Themes
 
16
 
17
- Not intended to work with any other themes.
18
 
19
  == Installation ==
20
 
1
  === TemplatesNext ToolKit ===
2
 
3
  Contributors: marsian
4
+ Tags: shortcode, shortcodes, columns, column, section, sections, portfolio, testimonial, border, borders, button, buttons, masonry, posts, post_type, font awesome, icons, fontawesome
5
  Requires at least: 3.6
6
  Tested up to: 4.1
7
+ Stable tag: 1.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
 
15
  Custom Portfolio, Testimonial and Shortcode functionality for TemplatesNext Wordpress Themes
16
+ Demo and documentation : http://www.templatesnext.org/icreate/?page_id=541
17
 
18
+ Some of the shortcode may not work properly with any other themes.
19
 
20
  == Installation ==
21
 
tx-shortcodes.js CHANGED
@@ -54,6 +54,7 @@
54
  <p class="submit">\
55
  <input type="button" class="modal-close button-primary" value="Cancel" name="Cancel" />\
56
  </p>\
 
57
  </div></div>');
58
 
59
  var width = jQuery(window).width(), H = jQuery(window).height(), W = ( 720 < width ) ? 720 : width;
@@ -181,6 +182,7 @@
181
  <input type="button" id="portfolio-submit" class="button-primary" value="Insert Portfolio" name="submit" />\
182
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
183
  </p>\
 
184
  </div></div>');
185
 
186
 
@@ -265,6 +267,7 @@
265
  <input type="button" id="blog-submit" class="button-primary" value="Insert Posts" name="submit" />\
266
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
267
  </p>\
 
268
  </div></div>');
269
 
270
 
@@ -322,7 +325,7 @@
322
  <input type="button" id="column-submit" class="button-primary" value="Insert Columns" name="submit" />\
323
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
324
  </p>\
325
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
326
  </div></div>');
327
 
328
  var table = form_column.find('#column-table');
@@ -386,7 +389,7 @@
386
  <input type="button" id="devider-submit" class="button-primary" value="Insert Devider" name="submit" />\
387
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
388
  </p>\
389
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
390
  </div></div>');
391
 
392
  var table = form_devider.find('#devider-table');
@@ -432,7 +435,7 @@
432
  <input type="button" id="testimonial-submit" class="button-primary" value="Insert Testimonials" name="submit" />\
433
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
434
  </p>\
435
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
436
  </div></div>');
437
 
438
  var table = form_testimonial.find('#testimonial-table');
@@ -498,7 +501,7 @@
498
  <input type="button" id="button-submit" class="button-primary" value="Insert Button" name="submit" />\
499
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
500
  </p>\
501
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
502
  </div></div>');
503
 
504
  var table = form_button.find('#button-table');
@@ -561,7 +564,7 @@
561
  <input type="button" id="button-submit" class="button-primary" value="Insert Call to act" name="submit" />\
562
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
563
  </p>\
564
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
565
  </div></div>');
566
 
567
  var table = form_calltoact.find('#calltoact-table');
@@ -619,7 +622,7 @@
619
  <input type="button" id="button-submit" class="button-primary" value="Insert Call to act" name="submit" />\
620
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
621
  </p>\
622
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
623
  </div></div>');
624
 
625
  var table = form_services.find('#services-table');
@@ -675,7 +678,7 @@
675
  <input type="button" id="spacer-submit" class="button-primary" value="Insert Spacer" name="submit" />\
676
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
677
  </p>\
678
- <div class="tnext-bottom-lebel">TemplatesNext Shortcodes</div>\
679
  </div></div>');
680
 
681
  var table = form_spacer.find('#spacer-table');
54
  <p class="submit">\
55
  <input type="button" class="modal-close button-primary" value="Cancel" name="Cancel" />\
56
  </p>\
57
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
58
  </div></div>');
59
 
60
  var width = jQuery(window).width(), H = jQuery(window).height(), W = ( 720 < width ) ? 720 : width;
182
  <input type="button" id="portfolio-submit" class="button-primary" value="Insert Portfolio" name="submit" />\
183
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
184
  </p>\
185
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
186
  </div></div>');
187
 
188
 
267
  <input type="button" id="blog-submit" class="button-primary" value="Insert Posts" name="submit" />\
268
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
269
  </p>\
270
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
271
  </div></div>');
272
 
273
 
325
  <input type="button" id="column-submit" class="button-primary" value="Insert Columns" name="submit" />\
326
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
327
  </p>\
328
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
329
  </div></div>');
330
 
331
  var table = form_column.find('#column-table');
389
  <input type="button" id="devider-submit" class="button-primary" value="Insert Devider" name="submit" />\
390
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
391
  </p>\
392
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
393
  </div></div>');
394
 
395
  var table = form_devider.find('#devider-table');
435
  <input type="button" id="testimonial-submit" class="button-primary" value="Insert Testimonials" name="submit" />\
436
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
437
  </p>\
438
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
439
  </div></div>');
440
 
441
  var table = form_testimonial.find('#testimonial-table');
501
  <input type="button" id="button-submit" class="button-primary" value="Insert Button" name="submit" />\
502
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
503
  </p>\
504
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
505
  </div></div>');
506
 
507
  var table = form_button.find('#button-table');
564
  <input type="button" id="button-submit" class="button-primary" value="Insert Call to act" name="submit" />\
565
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
566
  </p>\
567
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
568
  </div></div>');
569
 
570
  var table = form_calltoact.find('#calltoact-table');
622
  <input type="button" id="button-submit" class="button-primary" value="Insert Call to act" name="submit" />\
623
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
624
  </p>\
625
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
626
  </div></div>');
627
 
628
  var table = form_services.find('#services-table');
678
  <input type="button" id="spacer-submit" class="button-primary" value="Insert Spacer" name="submit" />\
679
  <input type="button" id="modal-close" class="modal-close button-primary" value="Cancel" name="Cancel" />\
680
  </p>\
681
+ <div class="tnext-bottom-lebel">'+tx_footer_include()+'</div>\
682
  </div></div>');
683
 
684
  var table = form_spacer.find('#spacer-table');