This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'wp_speculation_rules_configuration', '__return_null' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install --cask ungoogled-chromium |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Disable speculative loading in WordPress | |
| add_filter( 'wp_speculation_rules_configuration', '__return_null' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class='geotargetlygeocontent1532057370878'> | |
| <!-- Geo content will render here--> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| User-Agent: googlebot | |
| Content-Signal: ai-train=yes, search=yes, ai-input=yes | |
| Allow: / | |
| User-Agent: bingbot | |
| Content-Signal: ai-train=no, search=yes, ai-input=yes | |
| Allow: / | |
| User-Agent: OAI-Searchbot | |
| Content-Signal: ai-train=no, search=yes, ai-input=no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@context": "http://schema.org", | |
| "@type": "ReportageNewsArticle", | |
| "mainEntityOfPage": { | |
| "@type": "WebPage", | |
| "@id": "<?php the_permalink(); ?>", | |
| "publisher":{ | |
| "@type":"NewsMediaOrganization", | |
| "name":"Your Site Name", | |
| "ethicsPolicy":"https://www.yourdomain.com/policies-and-standards/", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Disable RSS enclosures for media files | |
| add_filter( 'rss_enclosure', '__return_empty_string' ); | |
| // Remove Gutenberg block styles, which I don't use | |
| add_action( 'wp_enqueue_scripts', function() { | |
| wp_dequeue_style( 'wp-block-library' ); | |
| } ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function remove_yoast_json($data){ | |
| $data = array(); | |
| return $data; | |
| } | |
| add_filter('wpseo_json_ld_output', 'remove_yoast_json', 10, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
NewerOlder