File Editor
Directories:
.. (Back)
blocks
build
fonts
genericons
lib
social-logos
Files:
accessible-focus.js
class.jetpack-provision.php
connect-button.js
crowdsignal-shortcode.js
crowdsignal-survey.js
facebook-embed.js
footer.php
gallery-settings.js
genericons.php
header.php
idc-notice.js
jetpack-admin.js
jetpack-connection-banner.js
jetpack-deactivate-dialog.js
jetpack-jitm.js
jetpack-modules.js
jetpack-modules.models.js
jetpack-modules.views.js
jetpack-server-sandbox.php
jetpack-strings.php
jetpack-wizard-banner.js
jquery.jetpack-resize.js
jquery.spin.js
polldaddy-shortcode.js
postmessage.js
social-logos.php
spin.js
twitter-timeline.js
Create New File
Create
Edit File: social-logos.php
<?php /** * Social Logos * Icon Font of the social logos we use on WordPress.com and in Jetpack * * Reference: https://github.com/Automattic/social-logos * * @package Jetpack */ /* * Those references to the social logos location can be updated * in other environments such as WordPress.com. */ if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { define( 'JETPACK_SOCIAL_LOGOS_URL', '/wp-content/mu-plugins/social-logos/' ); define( 'JETPACK_SOCIAL_LOGOS_DIR', ABSPATH . JETPACK_SOCIAL_LOGOS_URL ); } else { define( 'JETPACK_SOCIAL_LOGOS_URL', plugin_dir_url( __FILE__ ) . 'social-logos/' ); define( 'JETPACK_SOCIAL_LOGOS_DIR', plugin_dir_path( __FILE__ ) . 'social-logos/' ); } /** * Globally registers the 'social-logos' style and font. * * This ensures any theme or plugin using it is on the latest version of Social Logos, and helps to avoid conflicts. */ function jetpack_register_social_logos() { if ( ! wp_style_is( 'social-logos', 'registered' ) ) { /** This filter is documented in modules/sharedaddy/sharing.php */ $post_fix = apply_filters( 'jetpack_should_use_minified_assets', true ) ? '.min' : ''; wp_register_style( 'social-logos', JETPACK_SOCIAL_LOGOS_URL . 'social-logos' . $post_fix . '.css', false, JETPACK__VERSION ); } } add_action( 'init', 'jetpack_register_social_logos', 1 );
Save Changes
Rename File
Rename