Divi map maker color / change

CSS Method .et_pb_map img[src*=’marker’]{ filter:saturate(0) brightness(0.2) } HTACCESS Method IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^wp-content/themes/Divi/images/marker\.png$ http://www.mysite.com/my-custom-pin.png [L] RewriteRule...

Divi blurry images

// Begin remove Divi Portfolio and Filterable Portfolio featured image crop function pa_portfolio_image_width($width) { return ‘9999’; } function pa_portfolio_image_height($height) { return ‘9999’; } add_filter(...

cache rules htaccess

<IfModule mod_expires.c> ExpiresActive On # Images ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/webp "access plus 1...

Traduire texte WordPress

function custom_text_replace( $translated_text, $untranslated_text, $domain ) { switch ( $untranslated_text ) { case ‘Read More’: $translated_text = __( ‘Learn More’, $domain ); break; case ‘Leave a Comment’: $translated_text = __(...

Convert strings to links

$(‘.explore-listing li em’).each(function() { var matches = $(this).text().match(/\d+/g); if (matches != null) { $(this).css(‘color’, ‘red’) let numString = $(this).text(); let numStringLink = $(this).text().replace(/ /g, ”);...