• Resolved hcsweb

    (@hcsweb)


    Hello, we used to load GTranlate on click using Ajax and this function

    // Translation on click
    function runTranslation() {
    if ( isset($_REQUEST) ) {
    echo do_shortcode( ‘[gtranslate]’ );
    }
    die();
    }
    add_action( ‘wp_ajax_runTranslation’, ‘runTranslation’ );
    add_action( ‘wp_ajax_nopriv_runTranslation’, ‘runTranslation’ );

    Recently the “echo do_shortcode( ‘[gtranslate]’ ); ” stopped working there. I tried with a shortcode from another plugin and it works.

    Do you have any idea what could be the reason why it does not load anymore when clicking on the Button “English” and then on “Google Translate aktivieren”?

    Thanks a lot for your support.

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Loading GTranslate on Click’ is closed to new replies.