This file contains 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="logo"><a href="/"><?php bloginfo('name'); ?></a></div> |
This file contains 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 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 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; | |
} |
This file contains 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
// Domains from which exceptions would be accepted. | |
$trademark_exceptions = array( | |
'yoast.com' => array( 'yoast' ), | |
'automattic.com' => array( 'akismet', 'akismet-', 'jetpack', 'jetpack-', 'wordpress', 'wp-', 'woo', 'woo-', 'woocommerce', 'woocommerce-' ), | |
'facebook.com' => array( 'facebook', 'instagram', 'oculus', 'whatsapp' ), | |
'support.microsoft.com' => array( 'bing-', 'microsoft-' ), | |
'trustpilot.com' => array( 'trustpilot' ), | |
'microsoft.com' => array( 'bing-', 'microsoft-' ), | |
); |
This file contains 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
/wp-content/themes/coywolf/qrcode/php/qr_img.php |
This file contains 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
/wp-content/themes/coywolf/qrcode/php/qr_img.php?d=QR%20codes%20are%20fun" |
This file contains 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
(http.request.full_uri contains "/path/to/qrcode/" and not http.referer contains "yourdomain.com") |