Weblizar Twitter Widget - Version 1.9.0

Version Description

[21-10-2019] * version update compatible with wordpress 5.2.4 * updated: some minor issues fixed.

Download this release

Release Info

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

Code changes from version 1.8.9 to 1.9.0

Files changed (4) hide show
  1. css/front-end-css.css +12 -0
  2. readme.txt +6 -2
  3. twiiter_help.php +13 -16
  4. twitter-tweets.php +3 -3
css/front-end-css.css CHANGED
@@ -18,4 +18,16 @@ p.wl_tweet {
18
  line-height: 1.5;
19
  margin: 1em 0;
20
  display: flex;
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
18
  line-height: 1.5;
19
  margin: 1em 0;
20
  display: flex;
21
+ }
22
+ ul#menu-menu-1 {
23
+ display: inline-block;
24
+ }
25
+ .enigma-sidebar .input-group {
26
+ max-width: 80% !important;
27
+ }
28
+ .navbar-nav>li>.dropdown-menu {
29
+ position: absolute;
30
+ }
31
+ ul.nav.navbar-nav {
32
+ display: inline-block;
33
  }
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.2.2
7
- Stable tag: 1.8.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
  = 1.8.9 =[29/08/2019]
117
  * Nonce and permission check.
118
  * readme file text update.
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.2.4
7
+ Stable tag: 1.9.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
+ = 1.9.0 =[21-10-2019]
117
+ * version update compatible with wordpress 5.2.4
118
+ * updated: some minor issues fixed.
119
+
120
  = 1.8.9 =[29/08/2019]
121
  * Nonce and permission check.
122
  * readme file text update.
twiiter_help.php CHANGED
@@ -75,7 +75,7 @@ jQuery("#twitter-img").show();
75
  </script>
76
  <?php
77
  wp_enqueue_style('font-awesome', WEBLIZAR_TWITTER_PLUGIN_URL. 'css/all.min.css');
78
- wp_enqueue_style('bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL. 'css/bootstrap.min.css');
79
 
80
  if(isset($_REQUEST['twitter-page-user_name'])) {
81
 
@@ -381,7 +381,8 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
381
  <input onclick="return SaveApiSettings();" type="button" class="twt_save_btn" id="fb-api-save-settings" name="fb-api-save-settings" value="SAVE">
382
  <br><br><br>
383
  <div class="twt_help">
384
- <?php esc_html_e('Please copy the twitter shortcode', 'twitter-tweets' );?> <span style="color:#000;"> <b>[WL_TWITTER]</b> </span> <?php esc_html_e('and paste it to on the Page/Post', 'twitter-tweets' );?></span>
 
385
  </div>
386
  <div id="twitter-img" style="display: none;">
387
  <img src="<?php echo WEBLIZAR_TWITTER_PLUGIN_URL.'images/loading.gif'; ?>" />
@@ -502,9 +503,7 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
502
  ?>
503
  </p>
504
  <p class="wl_tweet_action_buttons">
505
- <a href="https://twitter.com/intent/retweet?tweet_id=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet"
506
- target="_blank"
507
- onclick="window.open('https://twitter.com/intent/retweet?tweet_id=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet', 'newwindow', 'width=600,height=450'); return false;">
508
  <?php
509
  if ( isset( $status->retweet_count ) ) {
510
  esc_html_e( 'Retweet', 'twitter-tweets' );
@@ -514,8 +513,7 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
514
  </a>
515
 
516
  <a href="https://twitter.com/intent/like?tweet_id=<?php echo esc_html($id_str); ?>&related=<?php echo esc_attr($screen_name); ?>"
517
- target="_blank"
518
- onclick="window.open('https://twitter.com/intent/like?tweet_id=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet', 'newwindow', 'width=600,height=450'); return false;">
519
  <?php
520
  if ( isset( $status->favorite_count ) ) {
521
  esc_html_e( 'Like', 'twitter-tweets' );
@@ -525,8 +523,7 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
525
  </a>
526
 
527
  <a href="https://twitter.com/intent/tweet?in_reply_to=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_html($screen_name); ?>"
528
- target="_blank"
529
- onclick="window.open('https://twitter.com/intent/tweet?in_reply_to=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet', 'newwindow', 'width=600,height=450'); return false;"><?php esc_html_e( 'Reply', 'twitter-tweets' ); ?>
530
  </a>
531
  </p>
532
  <span class="wl-wtp-date-font-size"><?php if( isset( $status->created_at ) ) {echo tweet_time_calculate( $created_at );} ?>
@@ -552,7 +549,7 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
552
  <p class="well"><b><?php esc_html_e('Customize Feeds for Twitter plugin comes with 2 major feature.', 'twitter-tweets'); ?></b></p>
553
  <ol>
554
  <li><?php esc_html_e('Customize feeds Widget', 'twitter-tweets'); ?></li>
555
- <li><?php esc_html_e('Customize feeds Shortcode', 'twitter-tweets'); ?> [TWTR]</li>
556
  <li><?php esc_html_e('Note: Protected tweets will not view', 'twitter-tweets'); ?> <a href="https://help.twitter.com/en/safety-and-security/public-and-protected-tweets" target="_blank"><?php esc_html_e('Help', 'twitter-tweets'); ?></a></li>
557
  </ol>
558
  <br>
@@ -563,17 +560,17 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
563
  <li><?php esc_html_e('Simple go to your', 'twitter-tweets' ); ?><a href="<?php echo get_site_url(); ?>/wp-admin/widgets.php"><strong><?php esc_html_e('Widgets', 'twitter-tweets'); ?></strong></a><?php esc_html_e(' section and activate available', 'twitter-tweets'); ?> <strong><?php esc_html_e('Twitter By Weblizar', 'twitter-tweets'); ?></strong> <?php esc_html_e('widget in any sidebar section, like in left sidebar, right sidebar or footer sidebar.', 'twitter-tweets'); ?></li>
564
  </ol>
565
  <br>
566
- <p class="well"><strong><?php esc_html_e('Feeds Short-code ', 'twitter-tweets'); ?>[TWTR]</strong></p>
567
  <ol>
568
  <li><strong>[TWTR]</strong> <?php esc_html_e('shortcode give ability to display Twitter Tweets Box in any Page / Post with content', 'twitter-tweets'); ?>.</li>
569
- <li><?php esc_html_e('To use shortcode, just copy', 'twitter-tweets'); ?> <strong>[TWTR]</strong><?php esc_html_e( 'shortcode and paste into content editor of any Page / Post.', 'twitter-tweets'); ?></li>
570
  </ol>
571
 
572
  <br>
573
- <p class="well"><strong><?php esc_html_e('Twitter Short-code', 'twitter-tweets'); ?>[WL_TWITTER]</strong></p>
574
  <ol>
575
- <li><strong>[WL_TWITTER]</strong><?php esc_html_e( 'shortcode, another shortcode, using API Key to login, give ability to display Twitter Tweets Box in any Page / Post with content.', 'twitter-tweets'); ?></li>
576
- <li><?php esc_html_e('To use shortcode, just copy', 'twitter-tweets'); ?> <strong>[WL_TWITTER]</strong><?php esc_html_e(' shortcode and paste into content editor of any Page / Post.', 'twitter-tweets'); ?></li>
577
  </ol>
578
 
579
  <br>
@@ -589,7 +586,7 @@ if ( isset( $_REQUEST['wl_twitter_consumer_key'] ) && isset( $_REQUEST['twitter_
589
  </div>
590
  <div class="row">
591
  <div class="col-md-10">
592
- <div id="heading"><h2>Rate Us</h2></div>
593
  <p><?php esc_html_e('If you are enjoying using our', 'twitter-tweets' ); ?> <b><?php esc_html_e('Customize Feeds for Twitter Widget', 'twitter-tweets'); ?></b><?php esc_html_e( 'plugin and find it useful, then please consider writing a positive feedback. Your feedback will help us to encourage and support the plugin continued development and better user support.', 'twitter-tweets'); ?>
594
  </p>
595
  <div class="twt_star">
75
  </script>
76
  <?php
77
  wp_enqueue_style('font-awesome', WEBLIZAR_TWITTER_PLUGIN_URL. 'css/all.min.css');
78
+ wp_enqueue_style('wl_bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL. 'css/bootstrap.min.css');
79
 
80
  if(isset($_REQUEST['twitter-page-user_name'])) {
81
 
381
  <input onclick="return SaveApiSettings();" type="button" class="twt_save_btn" id="fb-api-save-settings" name="fb-api-save-settings" value="SAVE">
382
  <br><br><br>
383
  <div class="twt_help">
384
+ <?php esc_html_e('Please copy the twitter shortcode', 'twitter-tweets' );?> <span style="color:#000;"> <b><?php esc_html_e('[WL_TWITTER]', 'twitter-tweets' );?></b> </span>
385
+ <?php esc_html_e('and paste it to on the Page/Post', 'twitter-tweets' );?></span>
386
  </div>
387
  <div id="twitter-img" style="display: none;">
388
  <img src="<?php echo WEBLIZAR_TWITTER_PLUGIN_URL.'images/loading.gif'; ?>" />
503
  ?>
504
  </p>
505
  <p class="wl_tweet_action_buttons">
506
+ <a href="https://twitter.com/intent/retweet?tweet_id=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet" target="_blank" onclick="window.open('https://twitter.com/intent/retweet?tweet_id=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet', 'newwindow', 'width=600,height=450'); return false;">
 
 
507
  <?php
508
  if ( isset( $status->retweet_count ) ) {
509
  esc_html_e( 'Retweet', 'twitter-tweets' );
513
  </a>
514
 
515
  <a href="https://twitter.com/intent/like?tweet_id=<?php echo esc_html($id_str); ?>&related=<?php echo esc_attr($screen_name); ?>"
516
+ target="_blank" onclick="window.open('https://twitter.com/intent/like?tweet_id=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet', 'newwindow', 'width=600,height=450'); return false;">
 
517
  <?php
518
  if ( isset( $status->favorite_count ) ) {
519
  esc_html_e( 'Like', 'twitter-tweets' );
523
  </a>
524
 
525
  <a href="https://twitter.com/intent/tweet?in_reply_to=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_html($screen_name); ?>"
526
+ target="_blank" onclick="window.open('https://twitter.com/intent/tweet?in_reply_to=<?php echo esc_attr($id_str); ?>&related=<?php echo esc_attr($screen_name); ?> retweet', 'newwindow', 'width=600,height=450'); return false;"><?php esc_html_e( 'Reply', 'twitter-tweets' ); ?>
 
527
  </a>
528
  </p>
529
  <span class="wl-wtp-date-font-size"><?php if( isset( $status->created_at ) ) {echo tweet_time_calculate( $created_at );} ?>
549
  <p class="well"><b><?php esc_html_e('Customize Feeds for Twitter plugin comes with 2 major feature.', 'twitter-tweets'); ?></b></p>
550
  <ol>
551
  <li><?php esc_html_e('Customize feeds Widget', 'twitter-tweets'); ?></li>
552
+ <li><?php esc_html_e('Customize feeds Shortcode', 'twitter-tweets'); ?><?php esc_html_e('[TWTR]', 'twitter-tweets' );?></li>
553
  <li><?php esc_html_e('Note: Protected tweets will not view', 'twitter-tweets'); ?> <a href="https://help.twitter.com/en/safety-and-security/public-and-protected-tweets" target="_blank"><?php esc_html_e('Help', 'twitter-tweets'); ?></a></li>
554
  </ol>
555
  <br>
560
  <li><?php esc_html_e('Simple go to your', 'twitter-tweets' ); ?><a href="<?php echo get_site_url(); ?>/wp-admin/widgets.php"><strong><?php esc_html_e('Widgets', 'twitter-tweets'); ?></strong></a><?php esc_html_e(' section and activate available', 'twitter-tweets'); ?> <strong><?php esc_html_e('Twitter By Weblizar', 'twitter-tweets'); ?></strong> <?php esc_html_e('widget in any sidebar section, like in left sidebar, right sidebar or footer sidebar.', 'twitter-tweets'); ?></li>
561
  </ol>
562
  <br>
563
+ <p class="well"><strong><?php esc_html_e('Feeds Short-code ', 'twitter-tweets'); ?><?php esc_html_e('[TWTR]', 'twitter-tweets' );?></strong></p>
564
  <ol>
565
  <li><strong>[TWTR]</strong> <?php esc_html_e('shortcode give ability to display Twitter Tweets Box in any Page / Post with content', 'twitter-tweets'); ?>.</li>
566
+ <li><?php esc_html_e('To use shortcode, just copy', 'twitter-tweets'); ?> <strong><?php esc_html_e('[TWTR]', 'twitter-tweets' );?></strong><?php esc_html_e( 'shortcode and paste into content editor of any Page / Post.', 'twitter-tweets'); ?></li>
567
  </ol>
568
 
569
  <br>
570
+ <p class="well"><strong><?php esc_html_e('Twitter Short-code', 'twitter-tweets'); ?><?php esc_html_e('[WL_TWITTER]', 'twitter-tweets' );?></strong></p>
571
  <ol>
572
+ <li><strong><?php esc_html_e('[WL_TWITTER]', 'twitter-tweets' );?></strong><?php esc_html_e( 'shortcode, another shortcode, using API Key to login, give ability to display Twitter Tweets Box in any Page / Post with content.', 'twitter-tweets'); ?></li>
573
+ <li><?php esc_html_e('To use shortcode, just copy', 'twitter-tweets'); ?> <strong><?php esc_html_e('[WL_TWITTER]', 'twitter-tweets' );?></strong><?php esc_html_e(' shortcode and paste into content editor of any Page / Post.', 'twitter-tweets'); ?></li>
574
  </ol>
575
 
576
  <br>
586
  </div>
587
  <div class="row">
588
  <div class="col-md-10">
589
+ <div id="heading"><h2><?php esc_html_e('Rate Us', 'twitter-tweets' ); ?></h2></div>
590
  <p><?php esc_html_e('If you are enjoying using our', 'twitter-tweets' ); ?> <b><?php esc_html_e('Customize Feeds for Twitter Widget', 'twitter-tweets'); ?></b><?php esc_html_e( 'plugin and find it useful, then please consider writing a positive feedback. Your feedback will help us to encourage and support the plugin continued development and better user support.', 'twitter-tweets'); ?>
591
  </p>
592
  <div class="twt_star">
twitter-tweets.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Customize Feeds for Twitter
4
- * Version: 1.8.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/
@@ -44,7 +44,7 @@ function Twitter_by_weblizar_page_function() {
44
  /**JS**/
45
  wp_enqueue_script('jquery');
46
  wp_enqueue_script('popper', WEBLIZAR_TWITTER_PLUGIN_URL . 'js/popper.min.js', array( 'jquery' ), true, true );
47
- wp_enqueue_script('bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL . 'js/bootstrap.min.js', array( 'jquery' ), true, true );
48
  wp_enqueue_script('weblizar-tab-js',WEBLIZAR_TWITTER_PLUGIN_URL .'js/option-js.js',array('jquery', 'media-upload', 'jquery-ui-sortable'));
49
  wp_enqueue_style('wp-color-picker' );
50
  wp_enqueue_script('wp-color-picker');
@@ -56,7 +56,7 @@ function wl_enqueue_css_frontend(){
56
  global $post;
57
  if ( is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'WL_TWITTER' ) ) {
58
  wp_enqueue_style('front-end-css', WEBLIZAR_TWITTER_PLUGIN_URL .'css/front-end-css.css');
59
- wp_enqueue_style('bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL. 'css/bootstrap.min.css');
60
  }
61
  }
62
 
1
  <?php
2
  /*
3
  * Plugin Name: Customize Feeds for Twitter
4
+ * Version: 1.9.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/
44
  /**JS**/
45
  wp_enqueue_script('jquery');
46
  wp_enqueue_script('popper', WEBLIZAR_TWITTER_PLUGIN_URL . 'js/popper.min.js', array( 'jquery' ), true, true );
47
+ wp_enqueue_script('wl_bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL . 'js/bootstrap.min.js', array( 'jquery' ), true, true );
48
  wp_enqueue_script('weblizar-tab-js',WEBLIZAR_TWITTER_PLUGIN_URL .'js/option-js.js',array('jquery', 'media-upload', 'jquery-ui-sortable'));
49
  wp_enqueue_style('wp-color-picker' );
50
  wp_enqueue_script('wp-color-picker');
56
  global $post;
57
  if ( is_a( $post, 'WP_Post' ) && has_shortcode( $post->post_content, 'WL_TWITTER' ) ) {
58
  wp_enqueue_style('front-end-css', WEBLIZAR_TWITTER_PLUGIN_URL .'css/front-end-css.css');
59
+ wp_enqueue_style('wl-bootstrap', WEBLIZAR_TWITTER_PLUGIN_URL. 'css/bootstrap.min.css');
60
  }
61
  }
62