File Editor
Directories:
.. (Back)
carousel
cloudflare-analytics
comment-likes
comments
custom-post-types
geo-location
google-fonts
gravatar
infinite-scroll
likes
markdown
memberships
photon-cdn
plugin-search
post-by-email
related-posts
scan
seo-tools
sharedaddy
shortcodes
simple-payments
site-icon
sitemaps
stats
subscriptions
theme-tools
tiled-gallery
verification-tools
videopress
widget-visibility
widgets
woocommerce-analytics
wordads
wpcom-tos
Files:
blaze.php
blocks.php
carousel.php
comment-likes.php
comments.php
contact-form.php
copy-post.php
custom-content-types.php
geo-location.php
google-fonts.php
gravatar-hovercards.php
infinite-scroll.php
json-api.php
latex.php
likes.php
markdown.php
masterbar.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
post-list.php
protect.php
publicize.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
waf.php
widget-visibility.php
widgets.php
woocommerce-analytics.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: comments.php
<?php /** * Module Name: Comments * Module Description: Let visitors use a WordPress.com or Facebook account to comment * First Introduced: 1.4 * Sort Order: 20 * Requires Connection: Yes * Auto Activate: No * Module Tags: Social * Feature: Engagement * Additional Search Queries: comments, comment, facebook, social * * @package automattic/jetpack */ use Automattic\Jetpack\Assets; Assets::add_resource_hint( array( '//jetpack.wordpress.com', '//s0.wp.com', '//public-api.wordpress.com', '//0.gravatar.com', '//1.gravatar.com', '//2.gravatar.com', ), 'dns-prefetch' ); /* * Add the main commenting system. */ require __DIR__ . '/comments/comments.php'; require __DIR__ . '/comments/subscription-modal-on-comment/class-jetpack-subscription-modal-on-comment.php'; if ( is_admin() ) { /** * Add the admin functionality. */ require __DIR__ . '/comments/admin.php'; } /** * Module loader. */ function jetpack_comments_load() { Jetpack::enable_module_configurable( __FILE__ ); } add_action( 'jetpack_modules_loaded', 'jetpack_comments_load' );
Save Changes
Rename File
Rename