golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/jetpack/modules/widgets
⬆️ Go Up
Upload
File/Folder
Size
Actions
authors
-
Del
OK
authors.php
9.02 KB
Del
OK
blog-stats.php
6.12 KB
Del
OK
class-jetpack-eu-cookie-law-widget.php
10.56 KB
Del
OK
class-jetpack-instagram-widget.php
24.39 KB
Del
OK
contact-info
-
Del
OK
contact-info.php
17.95 KB
Del
OK
customizer-controls.css
168 B
Del
OK
customizer-utils.js
4.06 KB
Del
OK
eu-cookie-law
-
Del
OK
facebook-likebox
-
Del
OK
facebook-likebox.php
15.23 KB
Del
OK
flickr
-
Del
OK
flickr.php
8.39 KB
Del
OK
gallery
-
Del
OK
gallery.php
15.95 KB
Del
OK
goodreads
-
Del
OK
goodreads.php
8.76 KB
Del
OK
google-translate
-
Del
OK
google-translate.php
6.44 KB
Del
OK
gravatar-profile.css
632 B
Del
OK
gravatar-profile.php
16.28 KB
Del
OK
image-widget
-
Del
OK
image-widget.php
12.16 KB
Del
OK
instagram
-
Del
OK
internet-defense-league
-
Del
OK
internet-defense-league.php
5.72 KB
Del
OK
mailchimp.php
4.34 KB
Del
OK
milestone
-
Del
OK
milestone.php
393 B
Del
OK
my-community
-
Del
OK
my-community.php
10.9 KB
Del
OK
rsslinks-widget.php
10.37 KB
Del
OK
simple-payments.php
451 B
Del
OK
social-icons
-
Del
OK
social-icons.php
22.21 KB
Del
OK
social-media-icons
-
Del
OK
social-media-icons.php
10.77 KB
Del
OK
top-posts
-
Del
OK
top-posts.php
27.66 KB
Del
OK
twitter-timeline-admin.js
2.18 KB
Del
OK
twitter-timeline.php
19.89 KB
Del
OK
upcoming-events.php
6.81 KB
Del
OK
wordpress-post-widget
-
Del
OK
wordpress-post-widget.php
3.71 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 ''; } 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