• Hi there,I need to translate the text on the gift-cards page. In loco translate I can find all translations, but sadly not this page. Text:

    There are no gift cards to show!

    Gift Cards

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hi there,
    thanks for contacting us!

    That string has an active translation, so it should appear from Loco Translate. Anyway, you can modify that text by adding this code inside the functions.php file of your active child theme:

    if (!function_exists('yith_ywgc_enqueue_scripts_custom')) {
    function yith_ywgc_enqueue_scripts_custom()
    {
    $jquery = 'jQuery(document).ready(function($){
    jQuery(".ywgc-empty-table-message p").text( "your text" );
    })';

    wp_add_inline_script('ywgc-frontend-script', $jquery);
    }

    add_action('wp_enqueue_scripts', 'yith_ywgc_enqueue_scripts_custom', 99);
    }

    Could you check it, please?

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Translate my account – giftcards page : Locotranslate’ is closed to new replies.