golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/jetpack/modules
⬆️ Go Up
Upload
File/Folder
Size
Actions
account-protection.php
369 B
Del
OK
ai.php
1.08 KB
Del
OK
blaze.php
1.03 KB
Del
OK
blocks.php
1.82 KB
Del
OK
canonical-urls
-
Del
OK
canonical-urls.php
2.46 KB
Del
OK
carousel
-
Del
OK
carousel.php
612 B
Del
OK
comment-likes
-
Del
OK
comment-likes.php
8.42 KB
Del
OK
comments
-
Del
OK
comments.php
1.32 KB
Del
OK
contact-form.php
798 B
Del
OK
copy-post.php
15.45 KB
Del
OK
custom-content-types.php
4 KB
Del
OK
custom-post-types
-
Del
OK
external-media
-
Del
OK
google-fonts
-
Del
OK
google-fonts.php
643 B
Del
OK
gravatar
-
Del
OK
gravatar-hovercards.php
11.91 KB
Del
OK
infinite-scroll
-
Del
OK
infinite-scroll.php
8.25 KB
Del
OK
json-api.php
503 B
Del
OK
latex.php
4.63 KB
Del
OK
likes
-
Del
OK
likes.php
21.3 KB
Del
OK
markdown
-
Del
OK
markdown.php
1.04 KB
Del
OK
memberships
-
Del
OK
module-extras.php
2.83 KB
Del
OK
module-headings.php
46.5 KB
Del
OK
module-info.php
27.27 KB
Del
OK
monitor.php
3.7 KB
Del
OK
notes.php
7.47 KB
Del
OK
photon-cdn
-
Del
OK
photon-cdn.php
12.69 KB
Del
OK
photon.php
698 B
Del
OK
plugin-search
-
Del
OK
plugin-search.php
22.77 KB
Del
OK
podcast.php
866 B
Del
OK
post-by-email
-
Del
OK
post-by-email.php
676 B
Del
OK
post-list.php
570 B
Del
OK
protect.php
609 B
Del
OK
publicize.php
3.76 KB
Del
OK
related-posts
-
Del
OK
related-posts.php
2.42 KB
Del
OK
reprint-export.php
528 B
Del
OK
scan
-
Del
OK
search.php
1.18 KB
Del
OK
seo-tools
-
Del
OK
seo-tools.php
1.76 KB
Del
OK
sharedaddy
-
Del
OK
sharedaddy.php
1.06 KB
Del
OK
shortcodes
-
Del
OK
shortcodes.php
6.45 KB
Del
OK
shortlinks
-
Del
OK
shortlinks.php
4.58 KB
Del
OK
simple-payments
-
Del
OK
simple-payments.php
421 B
Del
OK
site-icon
-
Del
OK
sitemaps
-
Del
OK
sitemaps.php
1.3 KB
Del
OK
sso.php
681 B
Del
OK
stats
-
Del
OK
stats.php
43.68 KB
Del
OK
subscriptions
-
Del
OK
subscriptions.php
35.2 KB
Del
OK
theme-tools
-
Del
OK
theme-tools.php
2.47 KB
Del
OK
tiled-gallery
-
Del
OK
tiled-gallery.php
1.12 KB
Del
OK
vaultpress.php
1.8 KB
Del
OK
verification-tools
-
Del
OK
verification-tools.php
899 B
Del
OK
videopress
-
Del
OK
videopress.php
989 B
Del
OK
waf.php
309 B
Del
OK
widget-visibility
-
Del
OK
widget-visibility.php
558 B
Del
OK
widgets
-
Del
OK
widgets.php
2.8 KB
Del
OK
woocommerce-analytics
-
Del
OK
woocommerce-analytics.php
928 B
Del
OK
wordads
-
Del
OK
wordads.php
632 B
Del
OK
wpcom-reader.php
461 B
Del
OK
wpcom-tos
-
Del
OK
wpgroho.js
1.93 KB
Del
OK
Edit: canonical-urls.php
<?php /** * Module Name: Canonical URLs * Module Description: Add canonical URL tags to archive pages to prevent duplicate content in search engines. * Sort Order: 36 * First Introduced: 15.6 * Requires Connection: No * Requires User Connection: No * Auto Activate: No * Module Tags: Traffic * Feature: Traffic * Additional Search Queries: canonical, seo, duplicate content, woocommerce, archive * * @package automattic/jetpack */ if ( ! defined( 'ABSPATH' ) ) { exit( 0 ); } // Disable canonical URL output when a conflicting SEO plugin is active. add_filter( 'jetpack_disable_canonical_urls', 'jetpack_canonical_urls_check_conflicts' ); /** * Can be used to prevent the Canonical URLs module from outputting canonical tags. * * @module canonical-urls * * @since 15.6 * * @param bool $disabled Whether canonical URL output is disabled. Defaults to false. */ if ( ! apply_filters( 'jetpack_disable_canonical_urls', false ) ) { require_once __DIR__ . '/canonical-urls/class-jetpack-canonical-urls-resolver.php'; add_action( 'wp_head', 'jetpack_canonical_urls_output_tag' ); } /** * Check if a conflicting SEO plugin is active and disable canonical URL output. * * @since 15.6 * * @param bool $disabled Whether canonical URL output is already disabled. * @return bool Whether canonical URL output should be disabled. */ function jetpack_canonical_urls_check_conflicts( $disabled ) { if ( $disabled ) { return $disabled; } $conflicting_plugins = array( 'wordpress-seo/wp-seo.php', 'wordpress-seo-premium/wp-seo-premium.php', 'all-in-one-seo-pack/all_in_one_seo_pack.php', 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php', 'seo-by-rank-math/rank-math.php', 'autodescription/autodescription.php', 'slim-seo/slim-seo.php', 'wp-seopress/seopress.php', 'wp-seopress-pro/seopress-pro.php', 'seo-key/seo-key.php', 'seo-key-pro/seo-key.php', ); foreach ( $conflicting_plugins as $plugin ) { if ( Jetpack::is_plugin_active( $plugin ) ) { return true; } } return $disabled; } /** * Output the canonical link tag for non-singular pages. * * WordPress core handles singular posts/pages via rel_canonical(), * so this function only outputs canonical tags for archive pages. * * @since 15.6 */ function jetpack_canonical_urls_output_tag() { if ( is_singular() ) { return; } $url = Jetpack_Canonical_Urls_Resolver::get_canonical_url(); if ( ! empty( $url ) ) { echo '<link rel="canonical" href="' . esc_url( $url ) . '" />' . "\n"; } }
Save