Daily CSS Images Day 09 Calendar
A Pen by Alex Johnson on CodePen.
Daily CSS Images Day 09 Calendar
A Pen by Alex Johnson on CodePen.
Repositories (forking and cloning and the difference between them) | |
How to create | |
What are README files | |
How to read other people's repositories | |
gitignore files | |
Why it is required? |
function defer_parsing_of_js ( $url ) { | |
if ( FALSE === strpos( $url, '.js' ) ) return $url; | |
if ( strpos( $url, 'jquery.js' ) ) return $url; | |
return "$url' defer "; | |
} | |
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 ); |
<IfModule mod_headers.c> | |
Header always append X-Frame-Options SAMEORIGIN | |
Header always set Strict-Transport-Security "max-age=10886400; includeSubDomains" | |
Header set X-XSS-Protection "1; mode=block" | |
Header set Content-Security-Policy default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self'; | |
Header set X-Content-Type-Options nosniff | |
Header set X-Permitted-Cross-Domain-Policies "none" | |
Header set Referrer-Policy "no-referrer" | |
Header set Feature-Policy "geolocation 'self'; vibrate 'none'" | |
</IfModule> |
<?php | |
//Delete storage directory from public and Run below script from public folder | |
echo $targetFolder = $_SERVER['DOCUMENT_ROOT'].'/../storage/app/public'; | |
echo "<br>"; | |
echo $linkFolder = $_SERVER['DOCUMENT_ROOT'].'/storage'; | |
symlink($targetFolder,$linkFolder); | |
echo 'Symlink completed'; | |
?> |
You can execute reCAPTCHA on as many actions as you want on the same page. | |
Automatically bind the challenge to a button | |
The easiest method for using reCAPTCHA v3 on your page is to include the necessary JavaScript resource and add a few attributes to your html button. | |
Load the JavaScript API. | |
------------------------------------------------------------------------------------------------------ | |
<script src="https://www.google.com/recaptcha/api.js"></script> |
<?php | |
//Chnage based on Shipping | |
if(!function_exists( 'ywcdd_change_label_datefield' ) ) { | |
add_filter( 'ywcdd_change_datepicker_label', 'ywcdd_change_label_datefield', 10 ); | |
function ywcdd_change_label_datefield() { | |
$chosen_methods = WC()->session->get( 'chosen_shipping_methods' ); | |
if(isset($chosen_methods)) { | |
$chosen_shipping = $chosen_methods[0]; |
<?php | |
//paste below code in function.php | |
add_action( 'woocommerce_no_products_found', function(){ | |
remove_action( 'woocommerce_no_products_found', 'wc_no_products_found', 10 ); | |
// HERE change your message below | |
$message = __( 'No products were found matching your selection.', 'woocommerce' ); | |
echo '<p class="woocommerce-info">' . $message .'</p>'; | |
}, 9 ); |
<IfModule security2_module> | |
SecRuleEngine on | |
ServerTokens Full | |
SecServerSignature " " | |
</IfModule> |