TemplatesNext ToolKit - Version 3.1.2

Version Description

Download this release

Release Info

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

Code changes from version 3.1.1 to 3.1.2

Files changed (4) hide show
  1. readme.txt +1 -1
  2. shortcodes.php +2 -2
  3. tx-functions.php +1 -0
  4. tx-toolkit.php +1 -1
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: marsian
3
  Tags: shortcode, shortcodes, columns, column, section, sections, portfolio, testimonial, border, borders, button, buttons, masonry, posts, post_type, font awesome, icons, fontawesome
4
  Requires at least: 3.6
5
  Tested up to: 4.9
6
- Stable tag: 3.1.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
3
  Tags: shortcode, shortcodes, columns, column, section, sections, portfolio, testimonial, border, borders, button, buttons, masonry, posts, post_type, font awesome, icons, fontawesome
4
  Requires at least: 3.6
5
  Tested up to: 4.9
6
+ Stable tag: 3.1.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
shortcodes.php CHANGED
@@ -978,7 +978,7 @@ function tx_vslider_function($atts, $content = null) {
978
  $return_string .= '</div>';
979
  if( !empty($video_id) && !wp_is_mobile() ){
980
  $return_string .= '<div class="tx-video-foreground">';
981
- $return_string .= '<iframe src="https://www.youtube.com/embed/'.$video_id.'?controls=0&amp;showinfo=0&amp;rel=0&amp;autoplay=1&amp;loop=1&amp;playlist='.$video_id.'" frameborder="0" allowfullscreen></iframe>';
982
  $return_string .= '</div>';
983
  }
984
  $return_string .= '</div>';
@@ -1025,7 +1025,7 @@ function tx_youtube_function($atts) {
1025
 
1026
  $return_string .= '<div class="tx-youtube-outerwarp" style="width: '.$width.'">';
1027
  $return_string .= '<div class="tx-youtube-warp" style="">';
1028
- $return_string .= '<iframe src="https://www.youtube.com/embed/'.$video_id.'?controls='.$controls.'&amp;showinfo=0&amp;rel=0&amp;autoplay='.$autoplay.'" frameborder="0" allowfullscreen></iframe>';
1029
  $return_string .= '</div></div>';
1030
 
1031
  return $return_string;
978
  $return_string .= '</div>';
979
  if( !empty($video_id) && !wp_is_mobile() ){
980
  $return_string .= '<div class="tx-video-foreground">';
981
+ $return_string .= '<iframe src="https://www.youtube.com/embed/'.$video_id.'?controls=0&amp;showinfo=0&amp;rel=0&amp;autoplay=1&amp;loop=1&amp;mute=1&amp;playlist='.$video_id.'" frameborder="0" mute=1 allow="autoplay" allowfullscreen></iframe>';
982
  $return_string .= '</div>';
983
  }
984
  $return_string .= '</div>';
1025
 
1026
  $return_string .= '<div class="tx-youtube-outerwarp" style="width: '.$width.'">';
1027
  $return_string .= '<div class="tx-youtube-warp" style="">';
1028
+ $return_string .= '<iframe src="https://www.youtube.com/embed/'.$video_id.'?controls='.$controls.'&amp;showinfo=0&amp;rel=0&amp;autoplay='.$autoplay.'" frameborder="0" allow="autoplay" allowfullscreen></iframe>';
1029
  $return_string .= '</div></div>';
1030
 
1031
  return $return_string;
tx-functions.php CHANGED
@@ -383,6 +383,7 @@ function tx_slider_cat_list ()
383
  $post_type = 'itrans-slider';
384
  $tax = 'itrans-slider-category';
385
  $return = '';
 
386
 
387
  $terms = get_terms('itrans-slider-category');
388
  if ( !empty( $terms ) && !is_wp_error( $terms ) )
383
  $post_type = 'itrans-slider';
384
  $tax = 'itrans-slider-category';
385
  $return = '';
386
+ $terms = array( 'all' => 'All' );
387
 
388
  $terms = get_terms('itrans-slider-category');
389
  if ( !empty( $terms ) && !is_wp_error( $terms ) )
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: 3.1.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: 3.1.2
7
  Author: TemplatesNext
8
  Author URI: http://templatesnext.org/
9
  License: GPLv2 or later