X7ROOT File Manager
Current Path:
/home/notabjze/crypfinite.com/wp-content/plugins/jetpack/modules/widgets
home
/
notabjze
/
crypfinite.com
/
wp-content
/
plugins
/
jetpack
/
modules
/
widgets
/
ðŸ“
..
ðŸ“
authors
📄
authors.php
(9 KB)
📄
blog-stats.php
(6.11 KB)
📄
class-jetpack-eu-cookie-law-widget.php
(10.56 KB)
📄
class-jetpack-instagram-widget.php
(24.05 KB)
ðŸ“
contact-info
📄
contact-info.php
(17.98 KB)
📄
customizer-controls.css
(166 B)
📄
customizer-utils.js
(4.06 KB)
ðŸ“
eu-cookie-law
ðŸ“
facebook-likebox
📄
facebook-likebox.php
(15.28 KB)
ðŸ“
flickr
📄
flickr.php
(8.32 KB)
ðŸ“
gallery
📄
gallery.php
(16.01 KB)
ðŸ“
goodreads
📄
goodreads.php
(8.71 KB)
ðŸ“
google-translate
📄
google-translate.php
(6.45 KB)
📄
gravatar-profile.css
(631 B)
📄
gravatar-profile.php
(16.3 KB)
ðŸ“
image-widget
📄
image-widget.php
(12.09 KB)
ðŸ“
instagram
ðŸ“
internet-defense-league
📄
internet-defense-league.php
(5.65 KB)
📄
mailchimp.php
(4.29 KB)
ðŸ“
milestone
📄
milestone.php
(346 B)
ðŸ“
my-community
📄
my-community.php
(10.93 KB)
📄
rsslinks-widget.php
(10.6 KB)
ðŸ“
simple-payments
📄
simple-payments.php
(21.91 KB)
ðŸ“
social-icons
📄
social-icons.php
(22.34 KB)
ðŸ“
social-media-icons
📄
social-media-icons.php
(10.72 KB)
ðŸ“
top-posts
📄
top-posts.php
(27.65 KB)
📄
twitter-timeline-admin.js
(2.18 KB)
📄
twitter-timeline.php
(20.02 KB)
📄
upcoming-events.php
(6.74 KB)
ðŸ“
wordpress-post-widget
📄
wordpress-post-widget.php
(3.71 KB)
Editing: customizer-utils.js
/* global gapi, FB, twttr, PaypalExpressCheckout */ /** * Utilities to work with widgets in Customizer. */ /** * Checks whether this Customizer supports partial widget refresh. * @return {boolean} */ wp.customizerHasPartialWidgetRefresh = function () { return ( 'object' === typeof wp && 'function' === typeof wp.customize && 'object' === typeof wp.customize.selectiveRefresh && 'object' === typeof wp.customize.widgetsPreview && 'function' === typeof wp.customize.widgetsPreview.WidgetPartial ); }; /** * Verifies that the placed widget ID contains the widget name. * @param {object} placement * @param {string} widgetName * @return {*|boolean} */ wp.isJetpackWidgetPlaced = function ( placement, widgetName ) { return placement.partial.widgetId && 0 === placement.partial.widgetId.indexOf( widgetName ); }; /** * Bind events for selective refresh in Customizer. */ ( function ( $ ) { $( document ).ready( function () { if ( wp && wp.customize && wp.customizerHasPartialWidgetRefresh() ) { // Refresh widget contents when a partial is rendered. wp.customize.selectiveRefresh.bind( 'partial-content-rendered', function ( placement ) { if ( placement.container ) { // Refresh Google+ if ( wp.isJetpackWidgetPlaced( placement, 'googleplus-badge' ) && 'object' === typeof gapi && gapi.person && 'function' === typeof gapi.person.go ) { gapi.person.go( placement.container[ 0 ] ); } // Refresh Facebook XFBML else if ( wp.isJetpackWidgetPlaced( placement, 'facebook-likebox' ) && 'object' === typeof FB && 'object' === typeof FB.XFBML && 'function' === typeof FB.XFBML.parse ) { FB.XFBML.parse( placement.container[ 0 ], function () { var $fbContainer = $( placement.container[ 0 ] ).find( '.fb_iframe_widget' ), fbWidth = $fbContainer.data( 'width' ), fbHeight = $fbContainer.data( 'height' ); $fbContainer.find( 'span' ).css( { width: fbWidth, height: fbHeight } ); setTimeout( function () { $fbContainer .find( 'iframe' ) .css( { width: fbWidth, height: fbHeight, position: 'relative' } ); }, 1 ); } ); } // Refresh Twitter else if ( wp.isJetpackWidgetPlaced( placement, 'twitter_timeline' ) && 'object' === typeof twttr && 'object' === typeof twttr.widgets && 'function' === typeof twttr.widgets.load ) { twttr.widgets.load( placement.container[ 0 ] ); } else if ( wp.isJetpackWidgetPlaced( placement, 'eu_cookie_law_widget' ) ) { // Refresh EU Cookie Law if ( $( '#eu-cookie-law' ).hasClass( 'top' ) ) { $( '.widget_eu_cookie_law_widget' ).addClass( 'top' ); } else { $( '.widget_eu_cookie_law_widget' ).removeClass( 'top' ); } placement.container.fadeIn(); } else if ( wp.isJetpackWidgetPlaced( placement, 'jetpack_simple_payments_widget' ) ) { // Refresh Simple Payments Widget try { var buttonId = $( '.jetpack-simple-payments-button', placement.container ) .attr( 'id' ) .replace( '_button', '' ); PaypalExpressCheckout.renderButton( null, null, buttonId, null ); } catch { // PaypalExpressCheckout may fail. // For the same usage, see also: // https://github.com/Automattic/jetpack/blob/6c1971e6bed7d3df793392a7a58ffe0afaeeb5fe/modules/simple-payments/simple-payments.php#L111 } } } } ); // Refresh widgets when they're moved. wp.customize.selectiveRefresh.bind( 'partial-content-moved', function ( placement ) { if ( placement.container ) { // Refresh Twitter timeline iframe, since it has to be re-built. if ( wp.isJetpackWidgetPlaced( placement, 'twitter_timeline' ) && placement.container.find( 'iframe.twitter-timeline:not([src]):first' ).length ) { placement.partial.refresh(); } else if ( wp.isJetpackWidgetPlaced( placement, 'jetpack_simple_payments_widget' ) ) { // Refresh Simple Payments Widget placement.partial.refresh(); } } } ); } } ); } )( jQuery );
Upload File
Create Folder