AKdigital
Forum Replies Created
-
The problem is that the inline js never get executed on the popup since its out of the dom before it opens, here is a temp fix
in include-js-css.php line 103 add this,
`
$custom_inline_js .= ‘
(function($) {
$(function() {
jQuery( document ).on( “elementor/popup/show”, () => {
jQuery.ajax( {
url: “//freegeoip.live/json/”,
type: “POST”,
dataType: “jsonp”,
success: function(location) {
//console.log(location.country_code);
$(“.wpcf7-countrytext”).countrySelect({‘;
$custom_inline_js .= isset( $nb_cpf_settings_options[‘country_auto_select’] )
&& $nb_cpf_settings_options[‘country_auto_select’] == 1
? ‘defaultCountry: location.country_code.toLowerCase(),’ : ”;$custom_inline_js .= $onlyCountries.”.$preferredCountries.”.$excludeCountries.’
});
$(“.wpcf7-phonetext”).intlTelInput({
autoHideDialCode: false,
autoPlaceholder: “off”,
nationalMode: ‘.$phone_nationalMode.’,
separateDialCode: false,
hiddenInput: “full_number”,’;
$custom_inline_js .= isset( $nb_cpf_settings_options[‘phone_auto_select’] )
&& $nb_cpf_settings_options[‘phone_auto_select’] == 1 ?
‘initialCountry: location.country_code.toLowerCase(),’ : ”;
$custom_inline_js .= $phone_onlyCountries.”.$phone_preferredCountries.”.$phone_excludeCountries.’
});
}
})
});
});
})(jQuery);’;`Forum: Plugins
In reply to: [Timeline Express] caption to imagesAmazing Support and works like a charm.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Using meta_compare="Yes,
Do you want me to send you a link for the site ?
It seems someone had this problem and solved it, but cant understand his answer.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Using meta_compare="Is there any way to solve this problem,
I cant get this to work, any idea ?
Having the same issue with my site,
The content is jumping outside of the slider borders when you change the width of the screen.
Can I send you my site url in a private message ?
Thanks