File Editor
Directories:
.. (Back)
calypsoify
carousel
comment-likes
comments
contact-form
custom-css
custom-post-types
geo-location
google-analytics
infinite-scroll
lazy-images
likes
markdown
masterbar
memberships
minileven
photon
photon-cdn
plugin-search
post-by-email
protect
publicize
pwa
related-posts
search
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
sso
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-block-editor
Files:
.eslintrc.js
after-the-deadline.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
custom-css.php
enhanced-distribution.php
geo-location.php
google-analytics.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
lazy-images.php
likes.php
markdown.php
masterbar.php
minileven.php
mobile-push.php
module-extras.php
module-headings.php
module-info.php
monitor.php
notes.php
photon-cdn.php
photon.php
plugin-search.php
post-by-email.php
protect.php
publicize.php
pwa.php
related-posts.php
search.php
seo-tools.php
sharedaddy.php
shortcodes.php
shortlinks.php
sitemaps.php
sso.php
stats.php
subscriptions.php
theme-tools.php
tiled-gallery.php
vaultpress.php
verification-tools.php
videopress.php
widget-visibility.php
widgets.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: sharedaddy.php
<?php use Automattic\Jetpack\Status; /** * Module Name: Sharing * Module Description: Add Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content. * Sort Order: 7 * Recommendation Order: 6 * First Introduced: 1.1 * Major Changes In: 1.2 * Requires Connection: No * Auto Activate: No * Module Tags: Social, Recommended * Feature: Engagement * Additional Search Queries: share, sharing, sharedaddy, social buttons, buttons, share facebook, share twitter, social media sharing, social media share, social share, icons, email, facebook, twitter, linkedin, pinterest, pocket, social widget, social media * * @package Jetpack */ if ( ! function_exists( 'sharing_init' ) ) { require dirname( __FILE__ ) . '/sharedaddy/sharedaddy.php'; } add_action( 'jetpack_modules_loaded', 'sharedaddy_loaded' ); /** * Sharing module code loaded after all modules have been loaded. */ function sharedaddy_loaded() { Jetpack::enable_module_configurable( __FILE__ ); add_filter( 'jetpack_module_configuration_url_sharedaddy', 'jetpack_sharedaddy_configuration_url' ); } /** * Return Jetpack Sharing configuration URL * * @return string Sharing config URL */ function jetpack_sharedaddy_configuration_url() { if ( ( new Status() )->is_development_mode() || Jetpack::is_staging_site() || ! Jetpack::is_user_connected() ) { return admin_url( 'options-general.php?page=sharing' ); } $site_suffix = Jetpack::build_raw_urls( get_home_url() ); return 'https://wordpress.com/marketing/sharing-buttons/' . $site_suffix; }
Save Changes
Rename File
Rename