makaulius
Forum Replies Created
-
Forum: Plugins
In reply to: [Multilingual Contact Form 7 with Polylang] Form does not translate via AJAX/** * translate * * @param $text_or_array * @return array|mixed|string */ function do_translate($text_or_array){ if ( !is_textdomain_loaded( 'pll_string' ) ) { Helpers::load_string_translations_textdomain(); } return Helpers::translate_translation_strings_recursive($text_or_array); }!is_textdomain_loaded(‘pll_string’) – whether it’s AJAX or not, it’s always false.
So load_string_translations_textdomain() not running.
Is it really bad if I skip this check, because running load_string_translations_textdomain() solves the problem?Exactly, that’s what I needed. My problem is solved.
Thank you for your support.
What do you think about having all tables wrapped by default and applying the following styles to the wrap:
width: 100%;
overflow: auto;Is there a function for filtering and printing tables in HTML? If not, I will add a wrapper with JavaScript.
Hello again,
Could you please help me in completely removing ‘js/jquery.datatables.min.js’ from loading in my custom theme? I wish to implement a simple scrolling with CSS and do not intend to use any other datatables features in my theme.
I attempted to use
wp_dequeue_script(), but it seems that the script is still loading due to a shortcode.Thank you for your help.
Understood. It appears to be a Datatables plugin issue. I’ll investigate and attempt to find a solution for the problem.