Version Description
- ADD : WP Color Picker for url link
- ADD : Range slider for feed height
- ADD : Review link on Plugin Page
- ADD : New Products in Product Page : Version update + WordPress 4.9.8 Compatible -
Download this release
Release Info
Developer | weblizar |
Plugin | Weblizar Twitter Widget |
Version | 1.7.6 |
Comparing to | |
See all releases |
Code changes from version 1.7.5 to 1.7.6
- css/weblizar-option-twiiter-style.css +34 -0
- our_product.php +17 -2
- readme.txt +10 -3
- twiiter_help.php +60 -4
- twitter-tweets.php +12 -1
- twitter-tweets_shortcode.php +5 -2
css/weblizar-option-twiiter-style.css
CHANGED
@@ -727,6 +727,40 @@ line-height: 1.33;
|
|
727 |
border-radius: 2px;
|
728 |
}
|
729 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
730 |
@media (max-width: 900px){
|
731 |
.ui-tabs .ui-tabs-panel {
|
732 |
width: 70% !important;
|
727 |
border-radius: 2px;
|
728 |
}
|
729 |
|
730 |
+
input[type=range].wltt-slider {
|
731 |
+
-webkit-appearance: none;
|
732 |
+
width: 40%;
|
733 |
+
height: 15px;
|
734 |
+
border-radius: 5px;
|
735 |
+
background: #d3d3d3;
|
736 |
+
outline: none;
|
737 |
+
opacity: 0.7;
|
738 |
+
-webkit-transition: .2s;
|
739 |
+
transition: opacity .2s;
|
740 |
+
}
|
741 |
+
|
742 |
+
.wltt-slider:hover {
|
743 |
+
opacity: 1;
|
744 |
+
}
|
745 |
+
|
746 |
+
.wltt-slider::-webkit-slider-thumb {
|
747 |
+
-webkit-appearance: none;
|
748 |
+
appearance: none;
|
749 |
+
width: 25px;
|
750 |
+
height: 25px;
|
751 |
+
border-radius: 50%;
|
752 |
+
background: #000000;
|
753 |
+
cursor: pointer;
|
754 |
+
}
|
755 |
+
|
756 |
+
.wltt-slider::-moz-range-thumb {
|
757 |
+
width: 25px;
|
758 |
+
height: 25px;
|
759 |
+
border-radius: 50%;
|
760 |
+
background: #000000;
|
761 |
+
cursor: pointer;
|
762 |
+
}
|
763 |
+
|
764 |
@media (max-width: 900px){
|
765 |
.ui-tabs .ui-tabs-panel {
|
766 |
width: 70% !important;
|
our_product.php
CHANGED
@@ -116,7 +116,15 @@
|
|
116 |
<a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-gallery-with-lightbox/" target="_new" title="Download Plugin"><i class="fas fa-download"></i></a>
|
117 |
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/responsive-photo-gallery-pro/" target="_new" title="Plugin Details"><i class="fas fa-info"></i></a>
|
118 |
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/responsive-photo-gallery-pro/" target="_new" title="Plugin Demo"><i class="fas fa-eye"></i></a>
|
119 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
</div>
|
121 |
|
122 |
<!-- Themes -->
|
@@ -231,7 +239,14 @@
|
|
231 |
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
|
232 |
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/weblizar-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
|
233 |
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/preview/#weblizar" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
|
234 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
</div>
|
236 |
|
237 |
<!-- footer -->
|
116 |
<a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/responsive-gallery-with-lightbox/" target="_new" title="Download Plugin"><i class="fas fa-download"></i></a>
|
117 |
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/responsive-photo-gallery-pro/" target="_new" title="Plugin Details"><i class="fas fa-info"></i></a>
|
118 |
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/responsive-photo-gallery-pro/" target="_new" title="Plugin Demo"><i class="fas fa-eye"></i></a>
|
119 |
+
</div>
|
120 |
+
<div class="col products col-sm-6 col-md-4 p-3">
|
121 |
+
<h4>Clock in Portal</h4>
|
122 |
+
<p class="icon-size"><i class="far fa-clock"></i></p>
|
123 |
+
<a class="btn btn-secondary btn-sm" href="https://wordpress.org/plugins/clock-in-portal/" target="_new" title="Download Plugin"><i class="fas fa-download"></i></a>
|
124 |
+
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/plugins/clockin-pro-plugin/" target="_new" title="Plugin Details"><i class="fas fa-info"></i></a>
|
125 |
+
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/clockin-pro-admin/wp-login.php?redirect_to=http%3A%2F%2Fdemo.weblizar.com%2Fclockin-pro-admin%2Fwp-admin%2F&reauth=1" target="_new" title="Admin Demo"><i class="fas fa-eye"></i></a>
|
126 |
+
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/clockin-pro-admin/wp-login.php?redirect_to=http%3A%2F%2Fdemo.weblizar.com%2Fclockin-pro-admin%2Fwp-admin%2F&reauth=1" target="_new" title="Staff Demo"><i class="fas fa-eye"></i></a>
|
127 |
+
</div>
|
128 |
</div>
|
129 |
|
130 |
<!-- Themes -->
|
239 |
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
|
240 |
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/weblizar-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
|
241 |
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/preview/#weblizar" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
|
242 |
+
</div>
|
243 |
+
<div class="col products col-sm-6 col-md-4 p-3">
|
244 |
+
<h4>Love Wedding Premium</h4>
|
245 |
+
<p class="icon-size"><i class="fas fa-heart"></i></p>
|
246 |
+
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/best-free-wordpress-themes/" target="_new" title="Download Theme"><i class="fas fa-download"></i></a>
|
247 |
+
<a class="btn btn-secondary btn-sm" href="https://weblizar.com/themes/love-wedding-premium-theme/" target="_new" title="Theme Details"><i class="fas fa-info"></i></a>
|
248 |
+
<a class="btn btn-secondary btn-sm" href="http://demo.weblizar.com/love-wedding/" target="_new" title="Theme Demo"><i class="fas fa-eye"></i></a>
|
249 |
+
</div>
|
250 |
</div>
|
251 |
|
252 |
<!-- footer -->
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: weblizar
|
|
3 |
Donate link: https://www.weblizar.com/
|
4 |
Tags: twitter, twitter widget, twitter wordpress plugin,twitter feed
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.9.
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -73,11 +73,18 @@ Please use WordPress support forum to ask any query regarding any issue.
|
|
73 |
3. Twitter Tweets Widget Preview On Site
|
74 |
4. Twitter Tweets in Page
|
75 |
5. Twitter Tweets in Post
|
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
79 |
For more information, see Weblizar(https://weblizar.com/)
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
= 1.7.5 =
|
82 |
- Bug Fixed : First time activation twitter widget not open
|
83 |
- ADD : Add product page
|
3 |
Donate link: https://www.weblizar.com/
|
4 |
Tags: twitter, twitter widget, twitter wordpress plugin,twitter feed
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.9.8
|
7 |
+
Stable tag: 1.7.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
73 |
3. Twitter Tweets Widget Preview On Site
|
74 |
4. Twitter Tweets in Page
|
75 |
5. Twitter Tweets in Post
|
76 |
+
6. Twitter Tweet settings
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
For more information, see Weblizar(https://weblizar.com/)
|
81 |
+
= 1.7.6 =
|
82 |
+
- ADD : WP Color Picker for url link
|
83 |
+
- ADD : Range slider for feed height
|
84 |
+
- ADD : Review link on Plugin Page
|
85 |
+
- ADD : New Products in Product Page
|
86 |
+
: Version update + WordPress 4.9.8 Compatible
|
87 |
+
-
|
88 |
= 1.7.5 =
|
89 |
- Bug Fixed : First time activation twitter widget not open
|
90 |
- ADD : Add product page
|
twiiter_help.php
CHANGED
@@ -133,13 +133,15 @@ if(isset($_REQUEST['twitter-page-user_name'])) {
|
|
133 |
|
134 |
<p>
|
135 |
<label><?php _e( 'Height',"WEBLIZAR_TWITTER_TEXT_DOMAIN"); ?></label>
|
136 |
-
<input class="widefat" id="twitter-page-url-Height" name="twitter-page-url-Height" type="
|
137 |
</p>
|
138 |
-
<
|
|
|
139 |
|
140 |
<p>
|
141 |
<label><?php _e( 'URL Link Color:',"WEBLIZAR_TWITTER_TEXT_DOMAIN"); ?></label>
|
142 |
-
<input class="widefat" id="twitter-page-lnk-Color" name="twitter-page-lnk-Color" type="text" value="<?php echo esc_attr( $LinkColor ); ?>" >
|
|
|
143 |
Find More Color Codes <a href="http://html-color-codes.info/" target="_blank">HERE</a>
|
144 |
</p>
|
145 |
<br>
|
@@ -262,7 +264,44 @@ if(isset($_REQUEST['twitter-page-user_name'])) {
|
|
262 |
<br><br>
|
263 |
<p><strong>Q. What is Twitter Widget ID?</strong></p>
|
264 |
<p><strong>Ans. Twitter Widget ID</strong> used to authenticate your TWITTER
|
265 |
-
Page data & settings. To get your own TWITTER ID please read our very simple and easy <a href="https://weblizar.com/get-twitter-widget-id/" target="_blank"><strong>Tutorial
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
</div>
|
267 |
</div>
|
268 |
</div>
|
@@ -572,7 +611,24 @@ if(isset($_REQUEST['twitter-page-user_name'])) {
|
|
572 |
</table>
|
573 |
</div>
|
574 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
|
577 |
|
578 |
</div>
|
133 |
|
134 |
<p>
|
135 |
<label><?php _e( 'Height',"WEBLIZAR_TWITTER_TEXT_DOMAIN"); ?></label>
|
136 |
+
<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>
|
137 |
</p>
|
138 |
+
<p><b>Set your desire height px</b>: <span id="twitter-range-val"></span></p>
|
139 |
+
<br>
|
140 |
|
141 |
<p>
|
142 |
<label><?php _e( 'URL Link Color:',"WEBLIZAR_TWITTER_TEXT_DOMAIN"); ?></label>
|
143 |
+
<input class="widefat wltt-color-field" id="twitter-page-lnk-Color" name="twitter-page-lnk-Color" type="text" value="<?php echo esc_attr( $LinkColor ); ?>" data-default-color="#effeff" >
|
144 |
+
|
145 |
Find More Color Codes <a href="http://html-color-codes.info/" target="_blank">HERE</a>
|
146 |
</p>
|
147 |
<br>
|
264 |
<br><br>
|
265 |
<p><strong>Q. What is Twitter Widget ID?</strong></p>
|
266 |
<p><strong>Ans. Twitter Widget ID</strong> used to authenticate your TWITTER
|
267 |
+
Page data & settings. To get your own TWITTER ID please read our very simple and easy <a href="https://weblizar.com/get-twitter-widget-id/" target="_blank"><strong>Tutorial</strong>.</a></p>
|
268 |
+
</div>
|
269 |
+
</div>
|
270 |
+
<div class="row">
|
271 |
+
<div class="col-md-10">
|
272 |
+
<div id="heading">
|
273 |
+
<h2>Rate Us</h2>
|
274 |
+
</div>
|
275 |
+
<p>
|
276 |
+
If you are enjoying using our <b>Weblizar Twitter Widget</b> plugin and find it useful, then please consider writing a positive feedback. Your feedback will help us to encourage and support the plugin's continued development and better user support.
|
277 |
+
</p>
|
278 |
+
<style>
|
279 |
+
.acl-rate-us span.dashicons{
|
280 |
+
width: 30px;
|
281 |
+
height: 30px;
|
282 |
+
}
|
283 |
+
.acl-rate-us span.dashicons-star-filled:before {
|
284 |
+
content: "\f155";
|
285 |
+
font-size: 30px;
|
286 |
+
}
|
287 |
+
.acl-rate-us {
|
288 |
+
color : #FBD229 !important;
|
289 |
+
padding-top:5px !important;
|
290 |
+
}
|
291 |
+
|
292 |
+
.acl-rate-us span{
|
293 |
+
display:inline-block;
|
294 |
+
}
|
295 |
+
</style>
|
296 |
+
<div style="background:#EF4238;display:inline-block;">
|
297 |
+
<a class="acl-rate-us" style="text-align:center; text-decoration: none;font:normal 30px/l; " href="https://wordpress.org/plugins/twitter-tweets/#reviews" target="_blank" >
|
298 |
+
<span class="dashicons dashicons-star-filled"></span>
|
299 |
+
<span class="dashicons dashicons-star-filled"></span>
|
300 |
+
<span class="dashicons dashicons-star-filled"></span>
|
301 |
+
<span class="dashicons dashicons-star-filled"></span>
|
302 |
+
<span class="dashicons dashicons-star-filled"></span>
|
303 |
+
</a>
|
304 |
+
</div>
|
305 |
</div>
|
306 |
</div>
|
307 |
</div>
|
611 |
</table>
|
612 |
</div>
|
613 |
</div>
|
614 |
+
<script>
|
615 |
+
var slider = document.getElementById("twitter-page-url-Height");
|
616 |
+
var output = document.getElementById("twitter-range-val");
|
617 |
+
|
618 |
+
var x = slider.value;
|
619 |
+
// var y = x/1000;
|
620 |
+
output.innerHTML = x;
|
621 |
|
622 |
+
slider.oninput = function() {
|
623 |
+
var x = slider.value;
|
624 |
+
var y = x/1000;
|
625 |
+
output.innerHTML = x;
|
626 |
+
}
|
627 |
+
|
628 |
+
jQuery(document).ready(function($){
|
629 |
+
jQuery('.wltt-color-field').wpColorPicker();
|
630 |
+
});
|
631 |
+
</script>
|
632 |
|
633 |
|
634 |
</div>
|
twitter-tweets.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Weblizar Twitter Widget
|
4 |
-
* Version: 1.7.
|
5 |
* Description: Display your latest tweets on WordPress blog from your Twitter account.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://www.weblizar.com/
|
@@ -255,9 +255,20 @@ function Twitter_by_weblizar_page_function() {
|
|
255 |
wp_enqueue_style('weblizar-option-twiiter-style-css', WEBLIZAR_TWITTER_PLUGIN_URL .'css/weblizar-option-twiiter-style.css');
|
256 |
wp_enqueue_style('recom', WEBLIZAR_TWITTER_PLUGIN_URL .'css/recom.css');
|
257 |
wp_enqueue_script('weblizar-tab-js',WEBLIZAR_TWITTER_PLUGIN_URL .'js/option-js.js',array('jquery', 'media-upload', 'jquery-ui-sortable'));
|
|
|
|
|
258 |
require_once("twiiter_help_body.php");
|
259 |
}
|
260 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
/***
|
262 |
* Twitter Shortcode
|
263 |
*/
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Weblizar Twitter Widget
|
4 |
+
* Version: 1.7.6
|
5 |
* Description: Display your latest tweets on WordPress blog from your Twitter account.
|
6 |
* Author: Weblizar
|
7 |
* Author URI: https://www.weblizar.com/
|
255 |
wp_enqueue_style('weblizar-option-twiiter-style-css', WEBLIZAR_TWITTER_PLUGIN_URL .'css/weblizar-option-twiiter-style.css');
|
256 |
wp_enqueue_style('recom', WEBLIZAR_TWITTER_PLUGIN_URL .'css/recom.css');
|
257 |
wp_enqueue_script('weblizar-tab-js',WEBLIZAR_TWITTER_PLUGIN_URL .'js/option-js.js',array('jquery', 'media-upload', 'jquery-ui-sortable'));
|
258 |
+
wp_enqueue_style( 'wp-color-picker' );
|
259 |
+
wp_enqueue_script( 'my-script-handle', plugins_url('my-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
260 |
require_once("twiiter_help_body.php");
|
261 |
}
|
262 |
|
263 |
+
/*Plugin Setting Link*/
|
264 |
+
function wl_twitter_settinglinks( $links ) {
|
265 |
+
$twitter_settings_link = '<a href="admin.php?page=Twitter">' . __( 'Settings' ) . '</a>';
|
266 |
+
array_unshift( $links,$twitter_settings_link );
|
267 |
+
return $links;
|
268 |
+
}
|
269 |
+
$plugin_wl_twitter = plugin_basename( __FILE__ );
|
270 |
+
add_filter( "plugin_action_links_$plugin_wl_twitter", 'wl_twitter_settinglinks' );
|
271 |
+
|
272 |
/***
|
273 |
* Twitter Shortcode
|
274 |
*/
|
twitter-tweets_shortcode.php
CHANGED
@@ -55,6 +55,7 @@ function twitter_tweet_shortcode() {
|
|
55 |
if(isset($twitterSettings[ 'title' ] ) ) {
|
56 |
$title = $twitterSettings[ 'title' ];
|
57 |
}
|
|
|
58 |
?>
|
59 |
<div style="display:block;width:100%;float:left;overflow:hidden">
|
60 |
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/<?php echo esc_attr($TwitterUserName); ?>"
|
@@ -62,7 +63,8 @@ function twitter_tweet_shortcode() {
|
|
62 |
height="<?php echo esc_attr($Height); ?>"
|
63 |
data-theme="<?php echo esc_attr($Theme); ?>"
|
64 |
data-lang="<?php echo esc_attr($tw_language); ?>"
|
65 |
-
data-link-color="<?php echo esc_attr($LinkColor); ?>"
|
|
|
66 |
<script>
|
67 |
!function(d,s,id) {
|
68 |
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}
|
@@ -71,4 +73,5 @@ function twitter_tweet_shortcode() {
|
|
71 |
</div>
|
72 |
<?php
|
73 |
return ob_get_clean();
|
74 |
-
}
|
|
55 |
if(isset($twitterSettings[ 'title' ] ) ) {
|
56 |
$title = $twitterSettings[ 'title' ];
|
57 |
}
|
58 |
+
|
59 |
?>
|
60 |
<div style="display:block;width:100%;float:left;overflow:hidden">
|
61 |
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/<?php echo esc_attr($TwitterUserName); ?>"
|
63 |
height="<?php echo esc_attr($Height); ?>"
|
64 |
data-theme="<?php echo esc_attr($Theme); ?>"
|
65 |
data-lang="<?php echo esc_attr($tw_language); ?>"
|
66 |
+
data-link-color="<?php echo esc_attr($LinkColor); ?>"
|
67 |
+
data-cards="hidden"></a>
|
68 |
<script>
|
69 |
!function(d,s,id) {
|
70 |
var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}
|
73 |
</div>
|
74 |
<?php
|
75 |
return ob_get_clean();
|
76 |
+
}
|
77 |
+
?>
|