kudu-digital
Forum Replies Created
-
Hi, thanks for the response.
So even though the minified files are purged, as far as I can see, the css file version do not change. Therefore local browsers still think it’s the same file, thus don’t download the new one.
I can of course force my browser to refresh, but I can’t do that with all the visitors coming on our website. The new files should be pushed to them somehow, otherwise they will see a broken site.
Forum: Plugins
In reply to: [TinyPNG - JPEG, PNG & WebP image compression] Compression too stronHello,
I also have the exact same issue. The optimisation settings are so strong, that the quality of the images suffers too much, we can clearly see that the images have been overly compressed (blurry, pixellated contours).
It would be great if we could get the possibility to choose the level of optimisation (for example in %).
Forum: Plugins
In reply to: [Contact Form 7] Redirect to an external URL with form inputThank you for the quick response!
– Where should I place this code exactly? in the Additionnal settings of Contact Form 7, right? Somehow it doesn’t get triggered by the submit button.
– page id: should this be the wordpress page ID or the form ID? I tried with both
– I guess I should replace form_url with my own variable from the form?I tried all of this but nothing happen. I do not understand how this could redirect the user on an external page with the right zip code.
I tried this
function cf7_custom_form_url( $zip-code) {
global $post;
//The page id where the form is
$form_page_id = 27;if ( $post->ID === $form_page_id ) {
return ‘https://www.rehabs.com/find-a-rehab/?loc=’;
}
else{
return $zip-code;
}}
add_filter( ‘wpcf7_form_action_url’, ‘cf7_custom_form_url’ );