Weblizar Twitter Widget - Version 2.0.0

Version Description

[23-07-2021] * Tested Upto WP 5.8. * Range slider value display * Minor bug fix

Download this release

Release Info

Developer weblizar
Plugin Icon 128x128 Weblizar Twitter Widget
Version 2.0.0
Comparing to
See all releases

Code changes from version 1.9.9 to 2.0.0

css/heroic-features.css CHANGED
@@ -73,7 +73,8 @@
73
  width:100%;
74
  }
75
  .wb_plugin_feature_banner.default_pattern {
76
- background: linear-gradient(0deg, #994681 57%, rgba(4, 4, 4, 0.74) 39%), url(./img/bg.jpg);
 
77
  }
78
  .wb_plugin_feature_banner{
79
  float:none;
73
  width:100%;
74
  }
75
  .wb_plugin_feature_banner.default_pattern {
76
+ /*background: linear-gradient(0deg, #994681 57%, rgba(4, 4, 4, 0.74) 39%), url(./img/bg.jpg);*/
77
+ background: linear-gradient(0deg, #994681 57%, rgba(4, 4, 4, 0.74) 39%);
78
  }
79
  .wb_plugin_feature_banner{
80
  float:none;
css/weblizar-option-twiiter-style.css CHANGED
@@ -595,6 +595,13 @@ padding: 15px;
595
  overflow: hidden;
596
  }
597
 
 
 
 
 
 
 
 
598
 
599
  @media (min-width: 768px){
600
  #option-ourproduct .modal-dialog {
595
  overflow: hidden;
596
  }
597
 
598
+ /* Range slider */
599
+ #twitter-range-val,
600
+ #wl_twitter_range_show {
601
+ display: inline-block;
602
+ margin: 0;
603
+ font-weight: 700;
604
+ }
605
 
606
  @media (min-width: 768px){
607
  #option-ourproduct .modal-dialog {
js/wl_custom_js.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function rangeslider_value(source, target) {
2
+ var slider = document.getElementById(source);
3
+ var output = document.getElementById(target);
4
+ output.innerHTML = slider.value;
5
+
6
+ slider.oninput = function() {
7
+ output.innerHTML = this.value;
8
+ }
9
+ }
10
+
11
+ rangeslider_value("wl_twitter_tweets", "wl_twitter_range_show");
12
+ rangeslider_value("twitter-page-url-Height", "twitter-range-val");
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
3
  Donate link: https://www.weblizar.com/
4
  Tags: twitter, tweets, twitter tweets, twitter widget, twitter wordPress plugin, twitter feed
5
  Requires at least: 3.8
6
- Tested up to: 5.7
7
- Stable tag: 1.9.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -113,6 +113,10 @@ Please use WordPress support forum to ask any query regarding any issue.
113
 
114
  For more information, see Weblizar(https://weblizar.com/)
115
 
 
 
 
 
116
 
117
  = 1.9.9 =[15-03-2021]
118
  * Tested Upto WP 5.7.
3
  Donate link: https://www.weblizar.com/
4
  Tags: twitter, tweets, twitter tweets, twitter widget, twitter wordPress plugin, twitter feed
5
  Requires at least: 3.8
6
+ Tested up to: 5.8
7
+ Stable tag: 2.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
113
 
114
  For more information, see Weblizar(https://weblizar.com/)
115
 
116
+ = 2.0.0 =[23-07-2021]
117
+ * Tested Upto WP 5.8.
118
+ * Range slider value display
119
+ * Minor bug fix
120
 
121
  = 1.9.9 =[15-03-2021]
122
  * Tested Upto WP 5.7.
twiiter_help.php CHANGED
@@ -4,7 +4,7 @@
4
  <?php
5
  wp_enqueue_style('font-awesome', WEBLIZAR_TWITTER_PLUGIN_URL . 'css/all.min.css');
6
  wp_enqueue_style('wl_bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL . 'css/bootstrap.min.css');
7
-
8
  if (isset($_REQUEST['twitter-page-user_name'])) {
9
  if (!current_user_can('manage_options') || !wp_verify_nonce($_POST['feeds-widget'], 'save-feeds-widget')) {
10
  die;
@@ -153,7 +153,7 @@ if (isset($_REQUEST['wl_twitter_consumer_key']) && isset($_REQUEST['twitter_api_
153
  <div class="col-sm">
154
  <input class="widefat wltt-slider" id="twitter-page-url-Height" name="twitter-page-url-Height" type="range" value="<?php echo esc_attr($Height); ?>" min="0" max="1500" data-rangeSlider>
155
  <p><b><?php esc_html_e('Set your desire height px (Use Arrow Keys For Exact Numbers)', 'twitter-tweets'); ?></b>
156
- <span id="twitter-range-val"></span>
157
  </p>
158
 
159
  </div>
@@ -495,11 +495,10 @@ include_once('load-tweets.php');
495
  <label><?php esc_html_e('No. Of tweets Show', 'twitter-tweets'); ?></label>
496
  </div>
497
  <div class="col-sm">
498
- <input class="widefat wltt-slider" id="wl_twitter_tweets" name="wl_twitter_tweets" type="range" value="<?php if (isset($wl_twitter_tweets)) {
499
- echo esc_attr($wl_twitter_tweets);
500
- } ?>" min="1" max="14" data-rangeSlider>
501
  <p>
502
- <b><?php esc_html_e('Set no of tweets you want to show (Use Arrow Keys)', 'twitter-tweets'); ?></b>
503
  <span id="wl_twitter_range_show"></span>
504
  </p>
505
  </div>
4
  <?php
5
  wp_enqueue_style('font-awesome', WEBLIZAR_TWITTER_PLUGIN_URL . 'css/all.min.css');
6
  wp_enqueue_style('wl_bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL . 'css/bootstrap.min.css');
7
+ wp_enqueue_script( 'wl_custom_js', WEBLIZAR_TWITTER_PLUGIN_URL . 'js/wl_custom_js.js' );
8
  if (isset($_REQUEST['twitter-page-user_name'])) {
9
  if (!current_user_can('manage_options') || !wp_verify_nonce($_POST['feeds-widget'], 'save-feeds-widget')) {
10
  die;
153
  <div class="col-sm">
154
  <input class="widefat wltt-slider" id="twitter-page-url-Height" name="twitter-page-url-Height" type="range" value="<?php echo esc_attr($Height); ?>" min="0" max="1500" data-rangeSlider>
155
  <p><b><?php esc_html_e('Set your desire height px (Use Arrow Keys For Exact Numbers)', 'twitter-tweets'); ?></b>
156
+ <span id="twitter-range-val"></span>px
157
  </p>
158
 
159
  </div>
495
  <label><?php esc_html_e('No. Of tweets Show', 'twitter-tweets'); ?></label>
496
  </div>
497
  <div class="col-sm">
498
+ <input class="widefat wltt-slider" id="wl_twitter_tweets" name="wl_twitter_tweets" type="range" value="<?php if (isset($wl_twitter_tweets)) { echo esc_attr($wl_twitter_tweets);
499
+ } ?>" min="1" max="14" data-rangeSlider>
 
500
  <p>
501
+ <b><?php esc_html_e('Set no of tweets you want to show (Use Arrow Keys d)', 'twitter-tweets'); ?></b>
502
  <span id="wl_twitter_range_show"></span>
503
  </p>
504
  </div>
twitter-tweets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Customize Feeds for Twitter
4
- * Version: 1.9.9
5
  * Description: Customize Feeds for Twitter plugin for WordPress. You can use this to display real time Twitter feeds on any where on your webiste by using shortcode or widgets
6
  * Author: Weblizar
7
  * Author URI: https://www.weblizar.com/
1
  <?php
2
  /*
3
  * Plugin Name: Customize Feeds for Twitter
4
+ * Version: 2.0.0
5
  * Description: Customize Feeds for Twitter plugin for WordPress. You can use this to display real time Twitter feeds on any where on your webiste by using shortcode or widgets
6
  * Author: Weblizar
7
  * Author URI: https://www.weblizar.com/