This topic has 2 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler
hey !
the PHP page in appearance don’t work anymore !
when i try to input some PHP code it stays black and not with colors, that shows that it’s working.
i really need your help on that guys pleaaaaase ! <3
add_filter( 'gettext', 'customizing_woocommerce_strings', 999, 3 );
function customizing_woocommerce_strings( $translated_text, $untranslated_text, $domain ) {
switch ( $translated_text ) {
case 'Veuillez sélectionner des options du produit avant de l’ajouter à votre panier.' :
$translated_text = __( 'Votre message personnalisé ici.', 'woocommerce' );
break;
}
return $translated_text;
}
Hello, PEYO,
This is independent of the theme.
We would like to inform you that it is not recommended to edit PHP files through the Dashboard. We suggest that you use FTP to make any changes to files. Please contact your hosting provider to obtain FTP access and use FileZilla – https://filezilla-project.org/
Kind Regards,
8theme team
Tagged: appearance, best selling, themes, troubleshooting, woocommerce
The issue related to '‘the PHP page in appearance don’t work anymore !’' has been successfully resolved, and the topic is now closed for further responses