File Editor
Directories:
.. (Back)
calypsoify
carousel
comment-likes
comments
contact-form
custom-css
custom-post-types
geo-location
google-analytics
gravatar
infinite-scroll
likes
markdown
masterbar
memberships
photon
photon-cdn
plugin-search
post-by-email
protect
publicize
pwa
related-posts
scan
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
wpcom-tos
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
woocommerce-analytics.php
wordads.php
wpgroho.js
Create New File
Create
Edit File: sitemaps.php
<?php /** * Module Name: Sitemaps * Module Description: Make it easy for search engines to find your site. * Sort Order: 13 * First Introduced: 3.9 * Requires Connection: No * Auto Activate: No * Module Tags: Recommended, Traffic * Feature: Recommended * Additional Search Queries: sitemap, traffic, search, site map, seo * * @package Jetpack */ /** * Disable direct access and execution. */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( '1' == get_option( 'blog_public' ) ) { // loose comparison okay. include_once __DIR__ . '/sitemaps/sitemaps.php'; // Disable WordPress 5.5-era sitemaps. add_filter( 'wp_sitemaps_enabled', '__return_false' ); } add_action( 'jetpack_activate_module_sitemaps', 'jetpack_sitemap_on_activate' ); /** * Run when Sitemaps module is activated. * * @since 4.8.0 */ function jetpack_sitemap_on_activate() { wp_clear_scheduled_hook( 'jp_sitemap_cron_hook' ); require_once __DIR__ . '/sitemaps/sitemap-constants.php'; require_once __DIR__ . '/sitemaps/sitemap-buffer.php'; require_once __DIR__ . '/sitemaps/sitemap-stylist.php'; require_once __DIR__ . '/sitemaps/sitemap-librarian.php'; require_once __DIR__ . '/sitemaps/sitemap-finder.php'; require_once __DIR__ . '/sitemaps/sitemap-builder.php'; }
Save Changes
Rename File
Rename