golden hour
/home/doctorbruno/public_html/kumaniko.com/wp-content/plugins/jetpack/modules/widgets
⬆️ Go Up
Upload
File/Folder
Size
Actions
authors
-
Del
OK
authors.php
8.06 KB
Del
OK
blog-stats.php
4.88 KB
Del
OK
class-jetpack-instagram-widget.php
24.23 KB
Del
OK
contact-info
-
Del
OK
contact-info.php
17.82 KB
Del
OK
customizer-controls.css
165 B
Del
OK
customizer-utils.js
4.07 KB
Del
OK
eu-cookie-law
-
Del
OK
eu-cookie-law.php
9.99 KB
Del
OK
facebook-likebox
-
Del
OK
facebook-likebox.php
13.67 KB
Del
OK
flickr
-
Del
OK
flickr.php
6.9 KB
Del
OK
gallery
-
Del
OK
gallery.php
14.86 KB
Del
OK
goodreads
-
Del
OK
goodreads.php
6.26 KB
Del
OK
google-translate
-
Del
OK
google-translate.php
5.81 KB
Del
OK
gravatar-profile.css
1.23 KB
Del
OK
gravatar-profile.php
13.23 KB
Del
OK
image-widget
-
Del
OK
image-widget.php
11.27 KB
Del
OK
instagram
-
Del
OK
internet-defense-league.php
5.99 KB
Del
OK
mailchimp.php
3.64 KB
Del
OK
migrate-to-core
-
Del
OK
milestone
-
Del
OK
milestone.php
346 B
Del
OK
my-community
-
Del
OK
my-community.php
10.49 KB
Del
OK
rsslinks-widget.php
10.38 KB
Del
OK
search
-
Del
OK
search.php
36.05 KB
Del
OK
simple-payments
-
Del
OK
simple-payments.php
20.32 KB
Del
OK
social-icons
-
Del
OK
social-icons.php
20.36 KB
Del
OK
social-media-icons
-
Del
OK
social-media-icons.php
10.66 KB
Del
OK
top-posts
-
Del
OK
top-posts.php
25.87 KB
Del
OK
twitter-timeline-admin.js
2.2 KB
Del
OK
twitter-timeline.php
19.77 KB
Del
OK
upcoming-events.php
6.3 KB
Del
OK
wordpress-post-widget
-
Del
OK
wordpress-post-widget.php
3.5 KB
Del
OK
Edit: twitter-timeline-admin.js
jQuery( function ( $ ) { function twitterWidgetTypeChanged( widgetTypeSelector ) { var selectedType = $( widgetTypeSelector ).val(); $( widgetTypeSelector ) .closest( '.jetpack-twitter-timeline-widget-type-container' ) .next( '.jetpack-twitter-timeline-widget-id-container' ) .find( 'label' ) .css( 'display', function () { var labelType = $( this ).data( 'widget-type' ); if ( selectedType === labelType ) { return ''; } else { return 'none'; } } ); } function twitterWidgetTweetDisplayChanged( event ) { var $tweetDisplaySelector = $( event.target ); var selectedTweetDisplay = $tweetDisplaySelector.val(); var $form = $tweetDisplaySelector.closest( 'form' ); var $heightContainer = $form.find( '.jetpack-twitter-timeline-widget-height-container' ); var $tweetLimitContainer = $form.find( '.jetpack-twitter-timeline-widget-tweet-limit-container' ); var $scrollbarInput = $form.find( 'input[id*=chrome-noscrollbar]' ); switch ( selectedTweetDisplay ) { case 'fixed': $heightContainer.hide(); $tweetLimitContainer.show(); $scrollbarInput.prop( 'disabled', true ); break; case 'dynamic': $tweetLimitContainer.hide(); $heightContainer.show(); $scrollbarInput.prop( 'disabled', false ); break; } } // We could either be in wp-admin/widgets.php or the Customizer. var $container = $( '#customize-controls' ); if ( ! $container.length ) { $container = $( '#wpbody' ); } // Observe widget settings for 'change' events of the 'type' property for // current and future Twitter timeline widgets. $container.on( 'change', '.jetpack-twitter-timeline-widget-type', function () { twitterWidgetTypeChanged( this ); } ); // Set the labels for currently existing widgets (including the "template" // version that is copied when a new widget is added). $container.find( '.jetpack-twitter-timeline-widget-type' ).each( function () { twitterWidgetTypeChanged( this ); } ); // Observe widget settings for 'change' events of the 'tweet-display' property for // current and future Twitter timeline widgets. $container.on( 'change', '.jetpack-twitter-timeline-widget-tweet-display-radio', twitterWidgetTweetDisplayChanged ); } );
Save