The PHP page in appearance don’t work anymore !

This topic has 2 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler

  • Avatar: PEYO
    PEYO
    Participant
    May 5, 2023 at 12:55

    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;
    }

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 5, 2023 at 13:07

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.