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
| .intro { background:#eee; } | |
| .intro h1 { color:#000; } | |
| .intro p { color:#333; } |
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
| article a, section a, footer a { color:#0E52AE;text-decoration:none;border-bottom:1px solid #ccc; } | |
| article a:hover, section a:hover { border-bottom:1px solid #999; } |
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
| <input type="text" pattern="[0-9]*" inputmode="numeric"> |
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 FLoC | |
| function disable_floc($headers) { | |
| $headers['Permissions-Policy'] = 'interest-cohort=()'; | |
| return $headers; | |
| } | |
| add_filter('wp_headers', 'disable_floc'); |
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
| // Use a quality setting of 75 for WebP images. | |
| function filter_webp_quality( $quality, $mime_type ) { | |
| if ( 'image/webp' === $mime_type ) { | |
| return 75; | |
| } | |
| return $quality; | |
| } | |
| add_filter( 'wp_editor_set_quality', 'filter_webp_quality', 10, 2 ); |
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
| /* Display Image */ | |
| article a[href *= "https://amzn.to"]:after, article a[href *= "https://www.amazon.com"]:after { | |
| display:inline-block;content: " " url(/amazon.svg);width:1rem;padding-left:.2rem; | |
| } | |
| /* Display Character */ | |
| article a[href *= "#"]:after { | |
| content: " ⇣";color:#71708B; | |
| } |