icodina
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Add filter to disable wpcf7_autp for emailsProvisional solution for the HTML mail:
in line 93 the /wp-content/plugins/contact-form-7/includes/mail.php$html = $header.wpcf7_autop($body).$footer;
CHANGE TO$html = $header.$body.$footer;
Forum: Plugins
In reply to: [Contact Form 7] Version 5.7 Broke all the forms!Solution for the form:
wp_config.php:
define('WPCF7_AUTOP',false);
functions.php:add_filter('wpcf7_autop_or_not','__return_false');
Provisional solution for the HTML mail:
in line 93 the /wp-content/plugins/contact-form-7/includes/mail.php$html = $header.wpcf7_autop($body).$footer;
CHANGE TO
$html = $header.$body.$footer;
Forum: Plugins
In reply to: [Contact Form 7] Please remove the auto paragraph featureSolution for the form:
wp_config.php:
define('WPCF7_AUTOP',false);
functions.php:add_filter('wpcf7_autop_or_not','__return_false');
Provisional solution for the HTML mail:
in line 93 the /wp-content/plugins/contact-form-7/includes/mail.php$html = $header.wpcf7_autop($body).$footer;
CHANGE TO
$html = $header.$body.$footer;
- This reply was modified 2 years, 3 months ago by icodina.
Forum: Plugins
In reply to: [Contact Form 7] Add filter to disable wpcf7_autp for emailsTHIS IS VERY IMPORTANT
$html = $header . wpcf7_autop( $body ) . $footer;
It has broken all my html mails (in many websites)Forum: Plugins
In reply to: [Polylang] Output based on current languagetry this:
switch(pll_current_language()) { case "en" : [your code] break; case "es" : [your code] break; case "fr" : [your code] break; ... }
- This reply was modified 6 years ago by icodina.
Forum: Fixing WordPress
In reply to: How to Disable Visual Editor in The Text WidgetAlso…
In order to copy and transfer the HTML, JS or PHP code to another widget or plugin, before editing, rename and replace the class php file of the widget (wp-includes/widgets/class-wp-widget-text.php) with the version prior to 4.8
This works correctly