WP twitter feeds - Version 1.4.5

Version Description

  • Added jQuery Slider file.
Download this release

Release Info

Developer vivacityinfotech.jaipur
Plugin Icon 128x128 WP twitter feeds
Version 1.4.5
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.5

README.txt CHANGED
@@ -1,11 +1,11 @@
1
- === Plugin Name ===
2
  Contributors: vivacityinfotech.jaipur
3
  Donate link: http://tinyurl.com/owxtkmt
4
  Tags: wp twitter feeds,twitter feeds, twitter timeline,twitter widget,twitter widget for wordpress,wp twitter feeds widget,live tweets, live twitter feeds, tweets, feeds, wp twitter feeds plugin, twitter user tweets, twitter 1.1, twitter api
5
  Requires at least: 3.0
6
- Tested up to: 3.9.1
7
  License: GPLv2 or later
8
- Stable tag: 1.4.3
9
 
10
 
11
  WP Twitter Feeds - A simple widget which lets you add your latest tweets in just a few clicks on your website.
@@ -31,6 +31,7 @@ The "WP Twitter Feeds" Widget will never require your Twitter password, because
31
  *Set maximum number of tweets to display
32
  *Turn on/off displaying avatar
33
  *Supports v1.1 of the Twitter API
 
34
 
35
 
36
  = Rate Us / Feedback =
@@ -122,7 +123,12 @@ Log in to vote.
122
 
123
 
124
  == Changelog ==
125
-
 
 
 
 
 
126
  = 1.4.3 =
127
  * Added slider.php file.
128
 
1
+ === Plugin Name ===
2
  Contributors: vivacityinfotech.jaipur
3
  Donate link: http://tinyurl.com/owxtkmt
4
  Tags: wp twitter feeds,twitter feeds, twitter timeline,twitter widget,twitter widget for wordpress,wp twitter feeds widget,live tweets, live twitter feeds, tweets, feeds, wp twitter feeds plugin, twitter user tweets, twitter 1.1, twitter api
5
  Requires at least: 3.0
6
+ Tested up to: 4.0
7
  License: GPLv2 or later
8
+ Stable tag: 1.4.6
9
 
10
 
11
  WP Twitter Feeds - A simple widget which lets you add your latest tweets in just a few clicks on your website.
31
  *Set maximum number of tweets to display
32
  *Turn on/off displaying avatar
33
  *Supports v1.1 of the Twitter API
34
+ *Slider for Tweets
35
 
36
 
37
  = Rate Us / Feedback =
123
 
124
 
125
  == Changelog ==
126
+ = 1.4.6 =
127
+ * Updated labels.
128
+ = 1.4.5 =
129
+ * Added jQuery Slider file.
130
+ = 1.4.4 =
131
+ * Added Tweets Slider file.
132
  = 1.4.3 =
133
  * Added slider.php file.
134
 
README.txt~ CHANGED
@@ -5,7 +5,7 @@ Tags: wp twitter feeds,twitter feeds, twitter timeline,twitter widget,twitter w
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
  License: GPLv2 or later
8
- Stable tag: 1.4.3
9
 
10
 
11
  WP Twitter Feeds - A simple widget which lets you add your latest tweets in just a few clicks on your website.
@@ -31,6 +31,7 @@ The "WP Twitter Feeds" Widget will never require your Twitter password, because
31
  *Set maximum number of tweets to display
32
  *Turn on/off displaying avatar
33
  *Supports v1.1 of the Twitter API
 
34
 
35
 
36
  = Rate Us / Feedback =
@@ -122,6 +123,10 @@ Log in to vote.
122
 
123
 
124
  == Changelog ==
 
 
 
 
125
 
126
  = 1.4.2 =
127
  * Added the option to List/Slider for the tweets. Now from the Slider option tweets can be show as a slider. A single tweet shows at a time after few second it will fade up by the next tweet.
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
  License: GPLv2 or later
8
+ Stable tag: 1.4.4
9
 
10
 
11
  WP Twitter Feeds - A simple widget which lets you add your latest tweets in just a few clicks on your website.
31
  *Set maximum number of tweets to display
32
  *Turn on/off displaying avatar
33
  *Supports v1.1 of the Twitter API
34
+ *Slider for Tweets
35
 
36
 
37
  = Rate Us / Feedback =
123
 
124
 
125
  == Changelog ==
126
+ = 1.4.3 =
127
+ * Added Tweets Slider file.
128
+ = 1.4.3 =
129
+ * Added slider.php file.
130
 
131
  = 1.4.2 =
132
  * Added the option to List/Slider for the tweets. Now from the Slider option tweets can be show as a slider. A single tweet shows at a time after few second it will fade up by the next tweet.
controller/twitter_widget.class.php CHANGED
@@ -3,6 +3,8 @@
3
  /**
4
  * Widget IDs using Slider display
5
  */
 
 
6
  static $slider_ids = array();
7
 
8
  function form($instance){
@@ -77,6 +79,7 @@
77
  }
78
  wp_enqueue_script('admin_js', plugins_url( '/js/admin_script.js' , dirname(__FILE__) ), array('jquery'));
79
  wp_enqueue_script('user_validate', plugins_url( '/js/validate.js' , dirname(__FILE__) ), array('jquery'));
 
80
  }
81
  function sanitize_links($tweet) {
82
  if(isset($tweet->retweeted_status)) {
@@ -134,8 +137,9 @@
134
  }
135
  function widget($args, $instance){
136
  extract($args, EXTR_SKIP);
137
-
138
  echo $before_widget;
 
139
  $wpltf_wdgt_title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
140
  $wpltf_wdgt_name = $instance['name'];
141
  $wpltf_wdgt_consumerSecret = trim($instance['consumerSecret']);
@@ -179,17 +183,9 @@
179
  border-width: 1px;
180
  border-style: solid;}</style>';
181
  }
 
182
 
183
- if(isset($wpltf_wdgt_slide_style) && $wpltf_wdgt_slide_style=='slider'){
184
- wp_enqueue_script('responsive-slides', plugins_url( '/js/responsiveslides.min.js' , dirname(__FILE__) ), array('jquery'));
185
- self::$slider_ids[] = $widget_id;
186
- $file_path = WP_PLUGIN_DIR . '/wp-twitter-feeds/views/slider.php';
187
- add_action( 'wp_footer', array($this,'twitter_slider_script'), 90 );
188
- include($file_path);
189
- }
190
- else{
191
-
192
- ?> <ul class="fetched_tweets <?php echo $class;?>">
193
  <?php
194
 
195
  $tweets_count = $wpltf_wdgt_tweets_cnt;
@@ -373,51 +369,50 @@
373
  <li>Waiting for twitter.com...Try reloading the page again </li>
374
  <?php endif; ?>
375
  </ul>
 
376
  <?php
377
- }//else loop
 
 
 
 
 
 
 
 
 
 
378
  }
379
  echo $after_widget;
380
  }
381
-
382
 
383
  /*
384
  * Outputs Slider Javascript
385
  * Shows a single tweet at a time, fading between them.
386
  */
387
  public function twitter_slider_script() {
388
-
389
- // Collect the IDs of all Widgets using the Slider display.
390
- $widget_ids = wptt_TwitterTweets::$slider_ids;
391
-
392
- foreach ( $widget_ids as $widget_id ) {
 
 
 
 
 
 
393
 
394
- ?>
395
- <script type="text/javascript">
396
- //<![CDATA[
397
- jQuery(document).ready(function() {
398
-
399
- timeout = jQuery( ".<?php echo $widget_id; ?>" ).data( "timeout" );
400
- speed = jQuery( ".<?php echo $widget_id; ?>" ).data( "speed" );
401
-
402
- jQuery( function($) {
403
- jQuery( ".<?php echo $widget_id; ?>" ).responsiveSlides({
404
- auto: true, // Boolean: Animate automatically, true or false
405
- speed: speed, // Integer: Speed of the transition, in milliseconds
406
- timeout: timeout, // Integer: Time between slide transitions, in milliseconds
407
- pager: false, // Boolean: Show pager, true or false
408
- nav: false, // Boolean: Show navigation, true or false
409
- random: false, // Boolean: Randomize the order of the slides, true or false
410
- pause: true // Boolean: Pause on hover, true or false
411
- });
412
- });
413
-
414
- });
415
- //]]>
416
- </script>
417
- <?php
418
-
419
- }
420
 
 
 
 
 
 
 
 
421
  }
422
 
423
 
3
  /**
4
  * Widget IDs using Slider display
5
  */
6
+
7
+ var $widgetid;
8
  static $slider_ids = array();
9
 
10
  function form($instance){
79
  }
80
  wp_enqueue_script('admin_js', plugins_url( '/js/admin_script.js' , dirname(__FILE__) ), array('jquery'));
81
  wp_enqueue_script('user_validate', plugins_url( '/js/validate.js' , dirname(__FILE__) ), array('jquery'));
82
+
83
  }
84
  function sanitize_links($tweet) {
85
  if(isset($tweet->retweeted_status)) {
137
  }
138
  function widget($args, $instance){
139
  extract($args, EXTR_SKIP);
140
+ // print_r($args);
141
  echo $before_widget;
142
+ $this->widgetid=$args['widget_id'];
143
  $wpltf_wdgt_title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
144
  $wpltf_wdgt_name = $instance['name'];
145
  $wpltf_wdgt_consumerSecret = trim($instance['consumerSecret']);
183
  border-width: 1px;
184
  border-style: solid;}</style>';
185
  }
186
+ ?>
187
 
188
+ <ul class="fetched_tweets <?php echo $class;?>">
 
 
 
 
 
 
 
 
 
189
  <?php
190
 
191
  $tweets_count = $wpltf_wdgt_tweets_cnt;
369
  <li>Waiting for twitter.com...Try reloading the page again </li>
370
  <?php endif; ?>
371
  </ul>
372
+
373
  <?php
374
+ if(isset($wpltf_wdgt_slide_style) && $wpltf_wdgt_slide_style=='slider'){
375
+ wp_register_script('ticker_script',plugins_url( '/js/jquery.newsTicker.js' , dirname(__FILE__) ));
376
+ if(!wp_script_is('ticker_script'))
377
+ {
378
+ wp_print_scripts('ticker_script');
379
+
380
+ }
381
+ add_action('wp_footer',array($this,'add_script_footer'));
382
+ }
383
+
384
+
385
  }
386
  echo $after_widget;
387
  }
388
+
389
 
390
  /*
391
  * Outputs Slider Javascript
392
  * Shows a single tweet at a time, fading between them.
393
  */
394
  public function twitter_slider_script() {
395
+
396
+ }
397
+ function add_script_footer() { ?>
398
+ <?php //echo $this->widgetid; ?>
399
+ <script type="text/javascript">
400
+ jQuery(document).ready(function(){
401
+ jQuery(".fetched_tweets").removeClass("light");
402
+
403
+ });
404
+
405
+
406
 
407
+ var height_li= jQuery(".fetched_tweets li").height();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
408
 
409
+ height_li=height_li+15;
410
+ var nt_example1 = jQuery('.fetched_tweets').newsTicker({
411
+ row_height: height_li,
412
+ max_rows: 2,
413
+ duration: 10000,
414
+
415
+ });</script> <?php
416
  }
417
 
418
 
controller/widget_html.php CHANGED
@@ -17,6 +17,9 @@ background-repeat:no-repeat;
17
  font-weight:bold;
18
  }
19
  </style>
 
 
 
20
  <p>
21
  <label for="<?php echo $this->get_field_id('title'); ?>">Widget Title: <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($widget_title); ?>" /></label>
22
  </p>
@@ -34,10 +37,10 @@ font-weight:bold;
34
  <h4 style="width:100%; text-align:center;">Twitter API Settings</h4>
35
  <div style="padding:10px;">
36
  <p>
37
- <label for="<?php echo $this->get_field_id('consumerKey'); ?>">Consumer Key: <input class="widefat" id="<?php echo $this->get_field_id('consumerKey'); ?>" name="<?php echo $this->get_field_name('consumerKey'); ?>" type="text" value="<?php echo esc_attr($consumerKey); ?>" /></label>
38
  </p>
39
  <p>
40
- <label for="<?php echo $this->get_field_id('consumerSecret'); ?>">Consumer Secret: <input class="widefat" id="<?php echo $this->get_field_id('consumerSecret'); ?>" name="<?php echo $this->get_field_name('consumerSecret'); ?>" type="text" value="<?php echo esc_attr($consumerSecret); ?>" /></label>
41
  </p>
42
  <p>
43
  <label for="<?php echo $this->get_field_id('accessToken'); ?>">Access Token: <input class="widefat" id="<?php echo $this->get_field_id('accessToken'); ?>" name="<?php echo $this->get_field_name('accessToken'); ?>" type="text" value="<?php echo esc_attr($accessToken); ?>" /></label>
@@ -58,7 +61,7 @@ font-weight:bold;
58
  <label for="<?php echo $this->get_field_id( 'twitterIntentsText' ); ?>">Hide Twitter Intents Text</label>
59
  </p>
60
  <p>
61
- <label for="<?php echo $this->get_field_id('intentColor'); ?>">Colour for Intent icons: <input class="intentColor widefat" id="<?php echo $this->get_field_id('intentColor'); ?>" name="<?php echo $this->get_field_name('intentColor'); ?>" type="text" value="<?php echo esc_attr($color_intents); ?>" /></label>
62
  <div id="colorpicker"></div>
63
  </p>
64
  <p>
@@ -108,3 +111,4 @@ font-weight:bold;
108
  </select>
109
  </p>
110
  </div>
 
17
  font-weight:bold;
18
  }
19
  </style>
20
+
21
+
22
+
23
  <p>
24
  <label for="<?php echo $this->get_field_id('title'); ?>">Widget Title: <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($widget_title); ?>" /></label>
25
  </p>
37
  <h4 style="width:100%; text-align:center;">Twitter API Settings</h4>
38
  <div style="padding:10px;">
39
  <p>
40
+ <label for="<?php echo $this->get_field_id('consumerKey'); ?>">API key: <input class="widefat" id="<?php echo $this->get_field_id('consumerKey'); ?>" name="<?php echo $this->get_field_name('consumerKey'); ?>" type="text" value="<?php echo esc_attr($consumerKey); ?>" /></label>
41
  </p>
42
  <p>
43
+ <label for="<?php echo $this->get_field_id('consumerSecret'); ?>">API secret: <input class="widefat" id="<?php echo $this->get_field_id('consumerSecret'); ?>" name="<?php echo $this->get_field_name('consumerSecret'); ?>" type="text" value="<?php echo esc_attr($consumerSecret); ?>" /></label>
44
  </p>
45
  <p>
46
  <label for="<?php echo $this->get_field_id('accessToken'); ?>">Access Token: <input class="widefat" id="<?php echo $this->get_field_id('accessToken'); ?>" name="<?php echo $this->get_field_name('accessToken'); ?>" type="text" value="<?php echo esc_attr($accessToken); ?>" /></label>
61
  <label for="<?php echo $this->get_field_id( 'twitterIntentsText' ); ?>">Hide Twitter Intents Text</label>
62
  </p>
63
  <p>
64
+ <label for="<?php echo $this->get_field_id('intentColor'); ?>">Colour for Intent icons: </label><input class="intentColor widefat" id="<?php echo $this->get_field_id('intentColor'); ?>" name="<?php echo $this->get_field_name('intentColor'); ?>" type="text" value="<?php echo esc_attr($color_intents); ?>" />
65
  <div id="colorpicker"></div>
66
  </p>
67
  <p>
111
  </select>
112
  </p>
113
  </div>
114
+
css/admin_style.min.css CHANGED
@@ -1,6 +1,6 @@
1
  @font-face{font-family:'stt-intents';src:url('fonts/stt-intents.eot')}@font-face{font-family:'stt-intents';src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAWQAA0AAAAACAgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABoAAAAcZoSdXkdERUYAAAFMAAAAHwAAACAANQAGT1MvMgAAAWwAAABHAAAAVi7i3BxjbWFwAAABtAAAAFUAAAFqodkD8Wdhc3AAAAIMAAAACAAAAAj//wADZ2x5ZgAAAhQAAAHQAAACXJAtYUdoZWFkAAAD5AAAADMAAAA2/fluKWhoZWEAAAQYAAAAIAAAACQDif/paG10eAAABDgAAAAYAAAAIAlVAABsb2NhAAAEUAAAABIAAAASAewBNG1heHAAAARkAAAAHQAAACAATABPbmFtZQAABIQAAADXAAABuXl6fnVwb3N0AAAFXAAAADQAAABaJCWFR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AA5gEuAAB4nGNgZGBg4GDwYWBiAAEQycgAEnMA8xkACqsAnAAAAHicjY6xDcIwEEV/QgChIEqgdEFB48gOVBE1NVU2iFAaR0o8ByWrMAYDMAYDwHc4IYQosOW753/f5wMwxRkRwoqQYikcY4yt8ABrnIQTeq7CQ/JdeIQ0WtAZJRMq8/5V4BgzrIQHOGAnnNBzER6Sb8Ij8gMdPLdGDcdc9bEDOu917XzlPC9ftbe+R9NrIbc40qGQI4NhLnh+937VLLfmMYw5o8WGDRvn9017rFSeGVWojyl4s1Zbo3Nj6fxn7JJ6S7XuxwxfhtFQVm1XN07ZzPzV5wlIcketAHicY2BiwA84gJiRgYmRiZGZkYWRlZGNvTQv083AwABCm1uCaUNDI6i4KYh2BcoDAOnwCww=) format('woff'),url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTWaEnV4AAAfsAAAAHEdERUYANQAGAAAHzAAAACBPUy8yLuLcHAAAAVgAAABWY21hcKHZA/EAAAHQAAABamdhc3D//wADAAAHxAAAAAhnbHlmkC1hRwAAA1AAAAJcaGVhZP35bikAAADcAAAANmhoZWEDif/pAAABFAAAACRobXR4CVUAAAAAAbAAAAAgbG9jYQHsATQAAAM8AAAAEm1heHAATABPAAABOAAAACBuYW1leXp+dQAABawAAAG5cG9zdCQlhUQAAAdoAAAAWgABAAAAAQAAzATBq18PPPUACwHAAAAAAM59lxYAAAAAzn2XFv///8AB4AGAAAAACAACAAAAAAAAAAEAAAGA/8AAKAHg///+QAHgAAEAAAAAAAAAAAAAAAAAAAAIAAEAAAAIAEwAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQHAAZAABQAIASMBOQAAAD4BIwE5AAAA1wAWAHMAAAIABQMAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUGZFZABA4ADxEgGA/8AAKAGAAECAAAABAAAAAAAAAcAAAAAAAAAAlQAAAAAAAAHAAAAB4AAAAaAAAAHAAAAAAAADAAAAAwAAABwAAQAAAAAAZAAD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OH4O3gUHWH0CAwYHAzs7AwcGAQR9WAcFCgIScgoKchICAAAAAAH////pAcABVwAwAAABBgc2NwYHJiMiBhUUFy4BJwYVFBciJzAVFBYXBiMiJx4BFwYjIicWMzI+AjU0NTYBwBkcHgscHxsoJjYDOWIjDCkXEyogDAwJCQkvHjJACwtATT1mPyMbASsLBBIhEAYdNiYLCgMzKhUZMRsLASEzBgQCHCMBJwEpL0xcLgYGFAAAAAAADACWAAEAAAAAAAEACwAYAAEAAAAAAAIABwA0AAEAAAAAAAMAKACOAAEAAAAAAAQACwDPAAEAAAAAAAUACwDzAAEAAAAAAAYACwEXAAMAAQQJAAEAFgAAAAMAAQQJAAIADgAkAAMAAQQJAAMAUAA8AAMAAQQJAAQAFgC3AAMAAQQJAAUAFgDbAAMAAQQJAAYAFgD/AHMAdAB0AC0AaQBuAHQAZQBuAHQAcwAAc3R0LWludGVudHMAAGkAbgB0AGUAbgB0AHMAAGludGVudHMAAEYAbwBuAHQARgBvAHIAZwBlACAAMgAuADAAIAA6ACAAcwB0AHQALQBpAG4AdABlAG4AdABzACAAOgAgADEAMQAtADEAMAAtADIAMAAxADMAAEZvbnRGb3JnZSAyLjAgOiBzdHQtaW50ZW50cyA6IDExLTEwLTIwMTMAAHMAdAB0AC0AaQBuAHQAZQBuAHQAcwAAc3R0LWludGVudHMAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAVmVyc2lvbiAxLjAAAHMAdAB0AC0AaQBuAHQAZQBuAHQAcwAAc3R0LWludGVudHMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAEAAgECAQMBBAEFAQYHdW5pRjAwMAd1bmlGMDc5B3VuaUYxMTIHdW5pRjAwNQd1bmlFMDAwAAAAAAAB//8AAgABAAAADgAAABgAAAAAAAIAAQADAAcAAQAEAAAAAgAAAAAAAQAAAADJiW8xAAAAAM59lxYAAAAAzn2XFg==) format('truetype');font-weight:normal;font-style:normal}
2
  .fetched_tweets li{-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.tweets_avatar{margin-bottom:15px;}
3
- .tweets_avatar img{float:left;margin-right:10px;border-radius:5px;}.circular{-webkit-border-radius:50% !important;-moz-border-radius:50% !important;border-radius:50% !important;}.tweets-intent-data{margin-top:5px;float:right;}.tweets-intent-data a{margin-right:5px}
4
  [data-icon]:before{font-family:'stt-intents' !important;content:attr(data-icon);speak:none;font-weight:normal;font-variant:normal;font-size:20px;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
5
  .pi-visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
6
  div.wdtf-user-card {
1
  @font-face{font-family:'stt-intents';src:url('fonts/stt-intents.eot')}@font-face{font-family:'stt-intents';src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAWQAA0AAAAACAgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABoAAAAcZoSdXkdERUYAAAFMAAAAHwAAACAANQAGT1MvMgAAAWwAAABHAAAAVi7i3BxjbWFwAAABtAAAAFUAAAFqodkD8Wdhc3AAAAIMAAAACAAAAAj//wADZ2x5ZgAAAhQAAAHQAAACXJAtYUdoZWFkAAAD5AAAADMAAAA2/fluKWhoZWEAAAQYAAAAIAAAACQDif/paG10eAAABDgAAAAYAAAAIAlVAABsb2NhAAAEUAAAABIAAAASAewBNG1heHAAAARkAAAAHQAAACAATABPbmFtZQAABIQAAADXAAABuXl6fnVwb3N0AAAFXAAAADQAAABaJCWFRHicY2BgYGQAgpOd+YYg+lztdDEYDQBAyQXkAAB4nGNgZGBg4ANiCQYQYGJgZGBmYAeSLGAeAwAEsQA8AHicY2BkPMA4gYGVgYNRmdGSgYHBDkpfZxBjKGZgYGJgZWaAAwEEkyEgzTWFweEBw0chxob/Bxg0GBsYHBoYGBhBcgCOlwsBAHicY2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rIQHOGAnnNBzER6Sb8Ij8gMdPLdGDcdc9bEDOu917XzlPC9ftbe+R9NrIbc40qGQI4NhLnh+937VLLfmMYw5o8WGDRvn9017rFSeGVWojyl4s1Zbo3Nj6fxn7JJ6S7XuxwxfhtFQVm1XN07ZzPzV5wlIcketAHicY2BiwA84gJiRgYmRiZGZkYWRlZGNvTQv083AwABCm1uCaUNDI6i4KYh2BcoDAOnwCww=) format('woff'),url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTWaEnV4AAAfsAAAAHEdERUYANQAGAAAHzAAAACBPUy8yLuLcHAAAAVgAAABWY21hcKHZA/EAAAHQAAABamdhc3D//wADAAAHxAAAAAhnbHlmkC1hRwAAA1AAAAJcaGVhZP35bikAAADcAAAANmhoZWEDif/pAAABFAAAACRobXR4CVUAAAAAAbAAAAAgbG9jYQHsATQAAAM8AAAAEm1heHAATABPAAABOAAAACBuYW1leXp+dQAABawAAAG5cG9zdCQlhUQAAAdoAAAAWgABAAAAAQAAzATBq18PPPUACwHAAAAAAM59lxYAAAAAzn2XFv///8AB4AGAAAAACAACAAAAAAAAAAEAAAGA/8AAKAHg///+QAHgAAEAAAAAAAAAAAAAAAAAAAAIAAEAAAAIAEwAAgAAAAAAAgAAAAEAAQAAAEAAAAAAAAAAAQHAAZAABQAIASMBOQAAAD4BIwE5AAAA1wAWAHMAAAIABQMAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUGZFZABA4ADxEgGA/8AAKAGAAECAAAABAAAAAAAAAcAAAAAAAAAAlQAAAAAAAAHAAAAB4AAAAaAAAAHAAAAAAAADAAAAAwAAABwAAQAAAAAAZAADAAEAAAAcAAQASAAAAA4ACAACAAYAAOAA8ADwBfB58RL//wAAAADgAPAA8AXwefES//8AACAHEAMQAQ+LDvMAAQAAAAAAAAAAAAAAAAAAAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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IhEAYdNiYLCgMzKhUZMRsLASEzBgQCHCMBJwEpL0xcLgYGFAAAAAAADACWAAEAAAAAAAEACwAYAAEAAAAAAAIABwA0AAEAAAAAAAMAKACOAAEAAAAAAAQACwDPAAEAAAAAAAUACwDzAAEAAAAAAAYACwEXAAMAAQQJAAEAFgAAAAMAAQQJAAIADgAkAAMAAQQJAAMAUAA8AAMAAQQJAAQAFgC3AAMAAQQJAAUAFgDbAAMAAQQJAAYAFgD/AHMAdAB0AC0AaQBuAHQAZQBuAHQAcwAAc3R0LWludGVudHMAAGkAbgB0AGUAbgB0AHMAAGludGVudHMAAEYAbwBuAHQARgBvAHIAZwBlACAAMgAuADAAIAA6ACAAcwB0AHQALQBpAG4AdABlAG4AdABzACAAOgAgADEAMQAtADEAMAAtADIAMAAxADMAAEZvbnRGb3JnZSAyLjAgOiBzdHQtaW50ZW50cyA6IDExLTEwLTIwMTMAAHMAdAB0AC0AaQBuAHQAZQBuAHQAcwAAc3R0LWludGVudHMAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAVmVyc2lvbiAxLjAAAHMAdAB0AC0AaQBuAHQAZQBuAHQAcwAAc3R0LWludGVudHMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAEAAgECAQMBBAEFAQYHdW5pRjAwMAd1bmlGMDc5B3VuaUYxMTIHdW5pRjAwNQd1bmlFMDAwAAAAAAAB//8AAgABAAAADgAAABgAAAAAAAIAAQADAAcAAQAEAAAAAgAAAAAAAQAAAADJiW8xAAAAAM59lxYAAAAAzn2XFg==) format('truetype');font-weight:normal;font-style:normal}
2
  .fetched_tweets li{-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.tweets_avatar{margin-bottom:15px;}
3
+ .tweets_avatar img{float:left;margin-right:10px;border-radius:5px;}.circular{-webkit-border-radius:50% !important;-moz-border-radius:50% !important;border-radius:50% !important;}.tweets-intent-data{width:200px;margin-top:5px;float:right;}.tweets-intent-data a{margin-right:5px}
4
  [data-icon]:before{font-family:'stt-intents' !important;content:attr(data-icon);speak:none;font-weight:normal;font-variant:normal;font-size:20px;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
5
  .pi-visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
6
  div.wdtf-user-card {
js/jquery.newsTicker.js ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ _____ _____ _____ _______
3
+ /\ \ /\ \ /\ \ /::\ \
4
+ /::\ \ /::\ \ /::\ \ /::::\ \
5
+ /::::\ \ \:::\ \ /::::\ \ /::::::\ \
6
+ /::::::\ \ \:::\ \ /::::::\ \ /::::::::\ \
7
+ /:::/\:::\ \ \:::\ \ /:::/\:::\ \ /:::/~~\:::\ \
8
+ /:::/__\:::\ \ \:::\ \ /:::/__\:::\ \ /:::/ \:::\ \
9
+ /::::\ \:::\ \ /::::\ \ \:::\ \:::\ \:::/ / \:::\ \
10
+ /::::::\ \:::\ \__ /::::::\ \_\:::\ \:::\ \:/____/ \:::\____\
11
+ /:::/\:::\ \:::\____\ \ /:::/\:::\ \ \:::\ \:::\ \ | |:::| |
12
+ /:::/ \:::\ \:::| | \/:::/ \:::\____\ \:::\ \:::\____\___| |:::|____|
13
+ \::/ |::::\ /:::|____| /:::/ \::/ / \:::\ \::/ / _\___/:::/ /
14
+ \/____|:::::\/:::/ /\/:::/ / \/____/\ \:::\ \/____/:\ |::| /:::/ /
15
+ |:::::::::/ /:::::/ / \:::\ \:::\ \ \:::\|::|/:::/ /
16
+ |::|\::::/ /\::::/____/ \:::\ \:::\____\ \::::::::::/ /
17
+ |::| \::/____/ \:::\ \ \:::\ /:::/ / \::::::::/ /
18
+ |::| ~| \:::\ \ \:::\/:::/ / \::::::/ /
19
+ |::| | \:::\ \ \::::::/ / \::::/____/
20
+ \::| | \:::\____\ \::::/ / |::| |
21
+ \:| | \::/ / \::/ / |::|____|
22
+ \|___| \/____/ \/____/ ~~
23
+
24
+ ____.________ _____ .___ .___
25
+ | |\_____ \ __ __ ___________ ___.__. / _ \ __| _/__ _______ ____ ____ ____ __| _/
26
+ | | / / \ \| | \_/ __ \_ __ < | | / /_\ \ / __ |\ \/ /\__ \ / \_/ ___\/ __ \ / __ |
27
+ /\__| |/ \_/. \ | /\ ___/| | \/\___ | / | \/ /_/ | \ / / __ \| | \ \__\ ___// /_/ |
28
+ \________|\_____\ \_/____/ \___ >__| / ____| \____|__ /\____ | \_/ (____ /___| /\___ >___ >____ |
29
+ \__> \/ \/ \/ \/ \/ \/ \/ \/ \/
30
+ _______ ___________.__ __
31
+ \ \ ______ _ ________ \__ ___/|__| ____ | | __ ___________
32
+ ______ / | \_/ __ \ \/ \/ / ___/ | | | |/ ___\| |/ // __ \_ __ \ ______
33
+ /_____/ / | \ ___/\ /\___ \ | | | \ \___| <\ ___/| | \/ /_____/
34
+ \____|__ /\___ >\/\_//____ > |____| |__|\___ >__|_ \\___ >__|
35
+ \/ \/ \/ \/ \/ \/
36
+
37
+
38
+ ==============================================================================================================
39
+ JQuery Advanced News Ticker 1.0.11 (20/02/14)
40
+ created by risq
41
+ website (docs & demos) : http://risq.github.io/jquery-advanced-news-ticker/
42
+ ==============================================================================================================
43
+
44
+ */
45
+
46
+ ;
47
+ (function($, window, document, undefined) {
48
+ 'use strict';
49
+ var pluginName = 'newsTicker',
50
+ defaults = {
51
+ row_height: 20,
52
+ max_rows: 3,
53
+ speed: 400,
54
+ duration: 2500,
55
+ direction: 'up',
56
+ autostart: 1,
57
+ pauseOnHover: 1,
58
+ nextButton: null,
59
+ prevButton: null,
60
+ startButton: null,
61
+ stopButton: null,
62
+ hasMoved: function() {},
63
+ movingUp: function() {},
64
+ movingDown: function() {},
65
+ start: function() {},
66
+ stop: function() {},
67
+ pause: function() {},
68
+ unpause: function() {}
69
+ };
70
+
71
+ function Plugin(element, options) {
72
+ this.element = element;
73
+ this.$el = $(element);
74
+ this.options = $.extend({}, defaults, options);
75
+ this._defaults = defaults;
76
+ this._name = pluginName;
77
+ this.moveInterval;
78
+ this.state = 0;
79
+ this.paused = 0;
80
+ this.moving = 0;
81
+ if (this.$el.is('ul, ol')) {
82
+ this.init();
83
+ }
84
+ }
85
+
86
+ Plugin.prototype = {
87
+ init: function() {
88
+ this.$el.height(this.options.row_height * this.options.max_rows)
89
+ .css({overflow : 'hidden'});
90
+
91
+ this.checkSpeed();
92
+
93
+ if(this.options.nextButton && typeof(this.options.nextButton[0]) !== 'undefined')
94
+ this.options.nextButton.click(function(e) {
95
+ this.moveNext();
96
+ this.resetInterval();
97
+ }.bind(this));
98
+ if(this.options.prevButton && typeof(this.options.prevButton[0]) !== 'undefined')
99
+ this.options.prevButton.click(function(e) {
100
+ this.movePrev();
101
+ this.resetInterval();
102
+ }.bind(this));
103
+ if(this.options.stopButton && typeof(this.options.stopButton[0]) !== 'undefined')
104
+ this.options.stopButton.click(function(e) {
105
+ this.stop()
106
+ }.bind(this));
107
+ if(this.options.startButton && typeof(this.options.startButton[0]) !== 'undefined')
108
+ this.options.startButton.click(function(e) {
109
+ this.start()
110
+ }.bind(this));
111
+
112
+ if(this.options.pauseOnHover) {
113
+ this.$el.hover(function() {
114
+ if (this.state)
115
+ this.pause();
116
+ }.bind(this), function() {
117
+ if (this.state)
118
+ this.unpause();
119
+ }.bind(this));
120
+ }
121
+
122
+ if(this.options.autostart)
123
+ this.start();
124
+ },
125
+
126
+ start: function() {
127
+ if (!this.state) {
128
+ this.state = 1;
129
+ this.resetInterval();
130
+ this.options.start();
131
+ }
132
+ },
133
+
134
+ stop: function() {
135
+ if (this.state) {
136
+ clearInterval(this.moveInterval);
137
+ this.state = 0;
138
+ this.options.stop();
139
+ }
140
+ },
141
+
142
+ resetInterval: function() {
143
+ if (this.state) {
144
+ clearInterval(this.moveInterval);
145
+ this.moveInterval = setInterval(function() {this.move()}.bind(this), this.options.duration);
146
+ }
147
+ },
148
+
149
+ move: function() {
150
+ if (!this.paused) this.moveNext();
151
+ },
152
+
153
+ moveNext: function() {
154
+ if (this.options.direction === 'down')
155
+ this.moveDown();
156
+ else if (this.options.direction === 'up')
157
+ this.moveUp();
158
+ },
159
+
160
+ movePrev: function() {
161
+ if (this.options.direction === 'down')
162
+ this.moveUp();
163
+ else if (this.options.direction === 'up')
164
+ this.moveDown();
165
+ },
166
+
167
+ pause: function() {
168
+ if (!this.paused) this.paused = 1;
169
+ this.options.pause();
170
+ },
171
+
172
+ unpause: function() {
173
+ if (this.paused) this.paused = 0;
174
+ this.options.unpause();
175
+ },
176
+
177
+ moveDown: function() {
178
+ if (!this.moving) {
179
+ this.moving = 1;
180
+ this.options.movingDown();
181
+ this.$el.children('li:last').detach().prependTo(this.$el).css('marginTop', '-' + this.options.row_height + 'px')
182
+ .animate({marginTop: '0px'}, this.options.speed, function(){
183
+ this.moving = 0;
184
+ this.options.hasMoved();
185
+ }.bind(this));
186
+ }
187
+ },
188
+
189
+ moveUp: function() {
190
+ if (!this.moving) {
191
+ this.moving = 1;
192
+ this.options.movingUp();
193
+ var element = this.$el.children('li:first');
194
+ element.animate({marginTop: '-' + this.options.row_height + 'px'}, this.options.speed,
195
+ function(){
196
+ element.detach().css('marginTop', '0').appendTo(this.$el);
197
+ this.moving = 0;
198
+ this.options.hasMoved();
199
+ }.bind(this));
200
+ }
201
+ },
202
+
203
+ updateOption: function(option, value) {
204
+ if (typeof(this.options[option]) !== 'undefined'){
205
+ this.options[option] = value;
206
+ if (option == 'duration' || option == 'speed'){
207
+ this.checkSpeed();
208
+ this.resetInterval();
209
+ }
210
+ }
211
+ },
212
+
213
+ add: function(content){
214
+ this.$el.append($('<li>').html(content));
215
+ },
216
+
217
+ getState: function() {
218
+ if (paused) return 2 // 2 = paused
219
+ else return this.state;// 0 = stopped, 1 = started
220
+ },
221
+
222
+ checkSpeed: function() {
223
+ if (this.options.duration < (this.options.speed + 25))
224
+ this.options.speed = this.options.duration - 25;
225
+ },
226
+
227
+ destroy: function() {
228
+ this._destroy(); // or this.delete; depends on jQuery version
229
+ }
230
+ };
231
+
232
+ $.fn[pluginName] = function(option) {
233
+ var args = arguments;
234
+
235
+ return this.each(function() {
236
+ var $this = $(this),
237
+ data = $.data(this, 'plugin_' + pluginName),
238
+ options = typeof option === 'object' && option;
239
+ if (!data) {
240
+ $this.data('plugin_' + pluginName, (data = new Plugin(this, options)));
241
+ }
242
+ // if first argument is a string, call silimarly named function
243
+ if (typeof option === 'string') {
244
+ data[option].apply(data, Array.prototype.slice.call(args, 1));
245
+ }
246
+ });
247
+ };
248
+ })(jQuery, window, document);
js/jquery.newsTicker.min.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ JQuery Advanced News Ticker 1.0.11 (20/02/14)
3
+ created by risq
4
+ website (docs & demos) : http://risq.github.io/jquery-advanced-news-ticker/
5
+ */
6
+ (function(b,k,l,m){function g(a,f){this.element=a;this.$el=b(a);this.options=b.extend({},c,f);this._defaults=c;this._name=d;this.moveInterval;this.moving=this.paused=this.state=0;(this.$el.is("ul")||this.$el.is("ol"))&&this.init()}var d="newsTicker",c={row_height:20,max_rows:3,speed:400,duration:2500,direction:"up",autostart:1,pauseOnHover:1,nextButton:null,prevButton:null,startButton:null,stopButton:null,hasMoved:function(){},movingUp:function(){},movingDown:function(){},start:function(){},stop:function(){},
7
+ pause:function(){},unpause:function(){}};g.prototype={init:function(){this.$el.height(this.options.row_height*this.options.max_rows).css({overflow:"hidden"});this.checkSpeed();this.options.nextButton&&"undefined"!==typeof this.options.nextButton[0]&&this.options.nextButton.click(function(a){this.moveNext();this.resetInterval()}.bind(this));this.options.prevButton&&"undefined"!==typeof this.options.prevButton[0]&&this.options.prevButton.click(function(a){this.movePrev();this.resetInterval()}.bind(this));
8
+ this.options.stopButton&&"undefined"!==typeof this.options.stopButton[0]&&this.options.stopButton.click(function(a){this.stop()}.bind(this));this.options.startButton&&"undefined"!==typeof this.options.startButton[0]&&this.options.startButton.click(function(a){this.start()}.bind(this));this.options.pauseOnHover&&this.$el.hover(function(){this.state&&this.pause()}.bind(this),function(){this.state&&this.unpause()}.bind(this));this.options.autostart&&this.start()},start:function(){this.state||(this.state=
9
+ 1,this.resetInterval(),this.options.start())},stop:function(){this.state&&(clearInterval(this.moveInterval),this.state=0,this.options.stop())},resetInterval:function(){this.state&&(clearInterval(this.moveInterval),this.moveInterval=setInterval(function(){this.move()}.bind(this),this.options.duration))},move:function(){this.paused||this.moveNext()},moveNext:function(){"down"===this.options.direction?this.moveDown():"up"===this.options.direction&&this.moveUp()},movePrev:function(){"down"===this.options.direction?
10
+ this.moveUp():"up"===this.options.direction&&this.moveDown()},pause:function(){this.paused||(this.paused=1);this.options.pause()},unpause:function(){this.paused&&(this.paused=0);this.options.unpause()},moveDown:function(){this.moving||(this.moving=1,this.options.movingDown(),this.$el.children("li:last").detach().prependTo(this.$el).css("marginTop","-"+this.options.row_height+"px").animate({marginTop:"0px"},this.options.speed,function(){this.moving=0;this.options.hasMoved()}.bind(this)))},moveUp:function(){if(!this.moving){this.moving=
11
+ 1;this.options.movingUp();var a=this.$el.children("li:first");a.animate({marginTop:"-"+this.options.row_height+"px"},this.options.speed,function(){a.detach().css("marginTop","0").appendTo(this.$el);this.moving=0;this.options.hasMoved()}.bind(this))}},updateOption:function(a,b){"undefined"!==typeof this.options[a]&&(this.options[a]=b,"duration"==a||"speed"==a)&&(this.checkSpeed(),this.resetInterval())},add:function(a){this.$el.append(b("<li>").html(a))},getState:function(){return paused?2:this.state},
12
+ checkSpeed:function(){this.options.duration<this.options.speed+25&&(this.options.speed=this.options.duration-25)},destroy:function(){this._destroy()}};b.fn[d]=function(a){var f=arguments;return this.each(function(){var c=b(this),e=b.data(this,"plugin_"+d),h="object"===typeof a&&a;e||c.data("plugin_"+d,e=new g(this,h));"string"===typeof a&&e[a].apply(e,Array.prototype.slice.call(f,1))})}})(jQuery,window,document);
slider.php CHANGED
@@ -1,19 +1,9 @@
1
  <?php
2
- /*
3
- * HTML output for the Horizontal Slider style of widget.
4
- */
5
- ?>
6
-
7
- <?php
8
- // Prepare Classes
9
  $classes[] = 'slider';
10
  $classes[] = $widget_id;
11
  ?>
12
-
13
  <ul class="fetched_tweets <?php echo $class; ?> <?php echo implode(' ', $classes); ?>" data-timeout="10000" data-speed="1000" data-animation="fade">
14
-
15
  <?php
16
-
17
  $tweets_count = $wpltf_wdgt_tweets_cnt;
18
  $name = $wpltf_wdgt_name;
19
  $timeto_store = $wpltf_wdgt_store_time;
1
  <?php
 
 
 
 
 
 
 
2
  $classes[] = 'slider';
3
  $classes[] = $widget_id;
4
  ?>
 
5
  <ul class="fetched_tweets <?php echo $class; ?> <?php echo implode(' ', $classes); ?>" data-timeout="10000" data-speed="1000" data-animation="fade">
 
6
  <?php
 
7
  $tweets_count = $wpltf_wdgt_tweets_cnt;
8
  $name = $wpltf_wdgt_name;
9
  $timeto_store = $wpltf_wdgt_store_time;
views/dynamic_html.php CHANGED
@@ -14,10 +14,10 @@
14
  <h4 style="width:100%; text-align:center;">Twitter API Options</h4>
15
  <div style="padding:10px;">
16
  <p>
17
- <label for="<?php echo $this->get_field_id('consumerKey'); ?>">Consumer Key: <input class="widefat" id="<?php echo $this->get_field_id('consumerKey'); ?>" name="<?php echo $this->get_field_name('consumerKey'); ?>" type="text" value="<?php echo esc_attr($consumerKey); ?>" /></label>
18
  </p>
19
  <p>
20
- <label for="<?php echo $this->get_field_id('consumerSecret'); ?>">Consumer Secret: <input class="widefat" id="<?php echo $this->get_field_id('consumerSecret'); ?>" name="<?php echo $this->get_field_name('consumerSecret'); ?>" type="text" value="<?php echo esc_attr($consumerSecret); ?>" /></label>
21
  </p>
22
  <p>
23
  <label for="<?php echo $this->get_field_id('accessToken'); ?>">Access Token: <input class="widefat" id="<?php echo $this->get_field_id('accessToken'); ?>" name="<?php echo $this->get_field_name('accessToken'); ?>" type="text" value="<?php echo esc_attr($accessToken); ?>" /></label>
14
  <h4 style="width:100%; text-align:center;">Twitter API Options</h4>
15
  <div style="padding:10px;">
16
  <p>
17
+ <label for="<?php echo $this->get_field_id('consumerKey'); ?>">API Key: <input class="widefat" id="<?php echo $this->get_field_id('consumerKey'); ?>" name="<?php echo $this->get_field_name('consumerKey'); ?>" type="text" value="<?php echo esc_attr($consumerKey); ?>" /></label>
18
  </p>
19
  <p>
20
+ <label for="<?php echo $this->get_field_id('consumerSecret'); ?>">API Secret: <input class="widefat" id="<?php echo $this->get_field_id('consumerSecret'); ?>" name="<?php echo $this->get_field_name('consumerSecret'); ?>" type="text" value="<?php echo esc_attr($consumerSecret); ?>" /></label>
21
  </p>
22
  <p>
23
  <label for="<?php echo $this->get_field_id('accessToken'); ?>">Access Token: <input class="widefat" id="<?php echo $this->get_field_id('accessToken'); ?>" name="<?php echo $this->get_field_name('accessToken'); ?>" type="text" value="<?php echo esc_attr($accessToken); ?>" /></label>
wp-latest-twitter-tweets.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Twitter Feeds
4
  Plugin URI: http://www.vivacityinfotech.net/
5
  Description: Displays latest tweets from your Twitter account using Twitter oAuth API 1.1.
6
  Author: Vivacity Infotech Pvt. Ltd.
7
- Version: 1.4.3
8
  Author URI: http://www.vivacityinfotech.net/
9
 
10
  Copyright 2014 Vivacity InfoTech Pvt. Ltd. (email : support@vivacityinfotech.com)
@@ -40,4 +40,4 @@ function add_meta_links($links, $file) {
40
  }
41
  return $links;
42
  }
43
- ?>
4
  Plugin URI: http://www.vivacityinfotech.net/
5
  Description: Displays latest tweets from your Twitter account using Twitter oAuth API 1.1.
6
  Author: Vivacity Infotech Pvt. Ltd.
7
+ Version: 1.4.6
8
  Author URI: http://www.vivacityinfotech.net/
9
 
10
  Copyright 2014 Vivacity InfoTech Pvt. Ltd. (email : support@vivacityinfotech.com)
40
  }
41
  return $links;
42
  }
43
+ ?>
wp-latest-twitter-tweets.php~ CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Twitter Feeds
4
  Plugin URI: http://www.vivacityinfotech.net/
5
  Description: Displays latest tweets from your Twitter account using Twitter oAuth API 1.1.
6
  Author: Vivacity Infotech Pvt. Ltd.
7
- Version: 1.4.1
8
  Author URI: http://www.vivacityinfotech.net/
9
 
10
  Copyright 2014 Vivacity InfoTech Pvt. Ltd. (email : support@vivacityinfotech.com)
4
  Plugin URI: http://www.vivacityinfotech.net/
5
  Description: Displays latest tweets from your Twitter account using Twitter oAuth API 1.1.
6
  Author: Vivacity Infotech Pvt. Ltd.
7
+ Version: 1.4.3
8
  Author URI: http://www.vivacityinfotech.net/
9
 
10
  Copyright 2014 Vivacity InfoTech Pvt. Ltd. (email : support@vivacityinfotech.com)