TemplatesNext ToolKit - Version 2.0.2

Version Description

Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

Files changed (4) hide show
  1. css/tx-style.css +18 -7
  2. readme.txt +16 -12
  3. shortcodes.php +6 -6
  4. tx-toolkit.php +1 -1
css/tx-style.css CHANGED
@@ -1468,12 +1468,6 @@ span.tx-animate {
1468
  /* Divider
1469
  ---------------------------------------------------------------*/
1470
 
1471
- .tx-team.tx-4-column-team .tx-team-item .tx-team-box .tx-team-img img.team-image {}
1472
- .tx-team.tx-4-column-team .tx-team-item .tx-team-box .tx-team-content .tx-team-content-inner .tx-team-socials span.tx-facebook > a > i.fa.fa-facebook {}
1473
- .tx-team.tx-4-column-team .tx-team-item .tx-team-box .tx-team-content .tx-team-content-inner h3 {}
1474
- .tx-team.tx-4-column-team .tx-team-item .tx-team-box .tx-team-content .tx-team-content-inner .desig {}
1475
-
1476
-
1477
  .tx-team{}
1478
 
1479
  .tx-team .tx-team-item {
@@ -1585,6 +1579,14 @@ span.tx-animate {
1585
  line-height: 16px;
1586
  }
1587
 
 
 
 
 
 
 
 
 
1588
  @media (max-width: 999px) {
1589
  .folio-col-1 {
1590
  display: block;
@@ -1673,7 +1675,6 @@ span.tx-animate {
1673
 
1674
 
1675
  @media (max-width: 999px) {
1676
-
1677
  }
1678
 
1679
  @media (min-width: 768px) {
@@ -1684,9 +1685,19 @@ span.tx-animate {
1684
  .owl-item .tx-slide-details p {
1685
  display: none;
1686
  }
 
 
 
 
 
 
 
 
 
1687
  }
1688
 
1689
 
 
1690
  /* Mobile devices */
1691
  @media (max-width: 359px) {
1692
  .tx-col-1-2 {
1468
  /* Divider
1469
  ---------------------------------------------------------------*/
1470
 
 
 
 
 
 
 
1471
  .tx-team{}
1472
 
1473
  .tx-team .tx-team-item {
1579
  line-height: 16px;
1580
  }
1581
 
1582
+ .tx-noposts {
1583
+ display: block;
1584
+ width: 100%;
1585
+ padding: 32px;
1586
+ background-color: #F60;
1587
+ color: #FFF;
1588
+ }
1589
+
1590
  @media (max-width: 999px) {
1591
  .folio-col-1 {
1592
  display: block;
1675
 
1676
 
1677
  @media (max-width: 999px) {
 
1678
  }
1679
 
1680
  @media (min-width: 768px) {
1685
  .owl-item .tx-slide-details p {
1686
  display: none;
1687
  }
1688
+ .tx-team.tx-2-column-team .tx-team-item {
1689
+ width: 100%;
1690
+ }
1691
+ .tx-team.tx-3-column-team .tx-team-item {
1692
+ width: 100%
1693
+ }
1694
+ .tx-team.tx-4-column-team .tx-team-item {
1695
+ width: 100%;
1696
+ }
1697
  }
1698
 
1699
 
1700
+
1701
  /* Mobile devices */
1702
  @media (max-width: 359px) {
1703
  .tx-col-1-2 {
readme.txt CHANGED
@@ -3,19 +3,21 @@
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.5
7
- Stable tag: 2.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Custom Portfolio, Testimonial and Shortcode functionality for TemplatesNext Wordpress Themes
12
 
13
  == Description ==
14
 
15
- Custom Portfolio, Testimonial and Shortcode functionality for TemplatesNext Wordpress Themes.
16
 
17
  Demo and documentation : http://www.templatesnext.org/icreate/?page_id=541
18
 
 
 
19
  Some of the shortcode may not work properly with any other themes.
20
 
21
  == Installation ==
@@ -62,12 +64,14 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
62
  = 1.0.1 =
63
  * Initial Version.
64
 
65
-
66
-
67
  == Screenshots ==
68
-
69
-
70
- 1. Fill in the post type Portfolio, Testimonial, itrans slider and team.
71
-
72
- 2. Use the [tx] button to open the shortcode generator pop up.
73
- 3. Choose the short to generate.
 
 
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.6
7
+ Stable tag: 2.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Custom Portfolio, Testimonial, Slider, Team and many other Shortcode functionalites...
12
 
13
  == Description ==
14
 
15
+ Custom Portfolio, Testimonial, Slider, Team and Shortcode functionality for TemplatesNext Wordpress Themes.
16
 
17
  Demo and documentation : http://www.templatesnext.org/icreate/?page_id=541
18
 
19
+ https://www.youtube.com/watch?v=vqTHQCN2ci4
20
+
21
  Some of the shortcode may not work properly with any other themes.
22
 
23
  == Installation ==
64
  = 1.0.1 =
65
  * Initial Version.
66
 
67
+
68
+
69
  == Screenshots ==
70
+
71
+
72
+ 1. Fill in the post type Portfolio, Testimonial, itrans slider and team. Use the [tx] button to open the shortcode generator popup.
73
+ 2. Choose the shortcode to generate.
74
+ 3. Enter/select your shortcode parameters and insert in your page.
75
+
76
+
77
+
shortcodes.php CHANGED
@@ -126,7 +126,7 @@ function tx_blog_function($atts, $content = null) {
126
 
127
 
128
  endwhile; else :
129
- $return_string .= '<p>Sorry, no posts matched your criteria.</p>';
130
  endif;
131
 
132
  $return_string .= '</div>';
@@ -326,7 +326,7 @@ function tx_testimonial_function($atts, $content = null) {
326
  $return_string .= '<span class="tx-testi-org">'.$testi_organ.'</span>';
327
  $return_string .= '</div>';
328
  endwhile; else :
329
- $return_string .= '<p>Sorry, no testimonial matched your criteria.</p>';
330
  endif;
331
 
332
  $return_string .= '</div></div>';
@@ -378,7 +378,7 @@ function tx_calltoact_function($atts, $content = null) {
378
 
379
  $return_string ='';
380
 
381
- $return_string .= '<div class="tx-cta" style=""><div class="tx-cta-text">'.$content.'</div><a href="'.esc_url($atts['url']).'" class="cta-button">'.esc_attr($atts['button_text']).'</a></div>';
382
 
383
  return $return_string;
384
  }
@@ -524,7 +524,7 @@ function tx_portfolio_function($atts, $content = null) {
524
 
525
  $return_string .= '</div></div>';
526
  endwhile; else :
527
- $return_string .= '<p>Sorry, no posts matched your criteria.</p>';
528
  endif;
529
 
530
  $return_string .= '</div>';
@@ -689,7 +689,7 @@ function tx_slider_function($atts, $content = null) {
689
 
690
 
691
  endwhile; else :
692
- $return_string .= '<p>Sorry, no slider matched your criteria.</p>';
693
  endif;
694
 
695
  $return_string .= '</div>';
@@ -784,7 +784,7 @@ function tx_team_function($atts, $content = null) {
784
 
785
 
786
  endwhile; else :
787
- $return_string .= '<p>Sorry, no team member matched your criteria.</p>';
788
  endif;
789
 
790
  $return_string .= '</div>';
126
 
127
 
128
  endwhile; else :
129
+ $return_string .= '<div class="tx-noposts"><p>Sorry, no posts matched your criteria. Please add some posts with featured images.</p></div>';
130
  endif;
131
 
132
  $return_string .= '</div>';
326
  $return_string .= '<span class="tx-testi-org">'.$testi_organ.'</span>';
327
  $return_string .= '</div>';
328
  endwhile; else :
329
+ $return_string .= '<div class="tx-noposts"><p>Sorry, no testimonial matched your criteria. Add few testimonials.</p></div>';
330
  endif;
331
 
332
  $return_string .= '</div></div>';
378
 
379
  $return_string ='';
380
 
381
+ $return_string .= '<div class="tx-cta" style=""><div class="tx-cta-text">'.$content.'</div><a href="'.esc_url($atts['url']).'" class="cta-button">'.esc_attr($atts['button_text']).'</a><div class="clear"></div></div>';
382
 
383
  return $return_string;
384
  }
524
 
525
  $return_string .= '</div></div>';
526
  endwhile; else :
527
+ $return_string .= '<div class="tx-noposts"><p>Sorry, no portfolio matched your criteria. Please add few portfolio along with featured images.</p></div>';
528
  endif;
529
 
530
  $return_string .= '</div>';
689
 
690
 
691
  endwhile; else :
692
+ $return_string .= '<div class="tx-noposts"><p>Sorry, no slider matched your criteria. Please add few slides via menu "itrans slider" along with featured image.</p></div>';
693
  endif;
694
 
695
  $return_string .= '</div>';
784
 
785
 
786
  endwhile; else :
787
+ $return_string .= '<div class="tx-noposts"><p>Sorry, no team member matched your criteria. Please add few team member along with featured image.</p></div>';
788
  endif;
789
 
790
  $return_string .= '</div>';
tx-toolkit.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: TemplatesNext ToolKit
5
  Description: Custom Portfolio and Shortcode functionality for TemplatesNext Wordpress Themes
6
- Version: 2.0.1
7
  Author: TemplatesNext
8
  Author URI: http://templatesnext.org/
9
  License: GPLv2 or later
3
  /*
4
  Plugin Name: TemplatesNext ToolKit
5
  Description: Custom Portfolio and Shortcode functionality for TemplatesNext Wordpress Themes
6
+ Version: 2.0.2
7
  Author: TemplatesNext
8
  Author URI: http://templatesnext.org/
9
  License: GPLv2 or later