Google Map JavaScript error after migrating

Google API’s now requires API key for new domains, you should create an API key as per instructions here: https://developers.google.com/maps/documentation/javascript/get-api-key and edit the line in the plugin that loads the Google Maps API to include your key as the value of a ‘key’ parameter. Wherever you find one of these: “https://maps.googleapis.com/maps/api/js“ or “http://maps.googleapis.com/maps/api/js” in the …

Read more

dropdown does not work [closed]

There is a item over these select boxes. In you css file search for element.style and remove it’s position: relative; property. element.style { bottom: 0; left: 0; position: relative; top: auto; } That will fix this issue.

Change color of a specific word generated by script [closed]

Insted of <font style=”font-color:#2ED7A2;”>’ + crypt_single_target_currency.match(/.*?\(([0-9a-z]+)\)/i)[1] + ‘</font> try <span style=”color:#2ED7A2;”>’ + crypt_single_target_currency.match(/.*?\(([0-9a-z]+)\)/i)[1] + ‘</span> the font tag isn’t supported in html 5 and you were calling “font-color” instead of just “color”

Get current day using javascript [closed]

I’ve an approach for you, getting the WordPress date in JavaScript, a numb one, but still an approach: 🙂 functions.php wp_enqueue_script( ‘wpse-custom-scripts’, get_template_directory_uri() .’/js/wpse-custom.js’, array(‘jquery’), ‘1.0.0’, true ); wp_localize_script( ‘wpse-custom-scripts’, ‘wpse’, array( ‘date_time_now’ => date( ‘Y-m-d H:i:s’, current_time( ‘timestamp’ ) ), //format: YYYY-MM-DD 00:00:00 ) ); wpse-custom.js jQuery(document).ready(function($) { console.log(“WordPress date now: ” + wpse.date_time_now); …

Read more

Broken links help with site

You could use your text editor on your theme and plugin files to search for the /js/respond.src.js in the source code. If in a theme, then create a Child Theme and modify that php file. (Any changes you make to a theme’s code will be overwritten in the next theme update.) If it is a …

Read more

Javascript file not included only on home page

This might be because of two issues: Unique handler is not used to enqueue scripts on homepage Path to the file is wrong Unique Handler You should use unique script handler while enqueuing scripts or styles using wp_enqueue_*, I see that you used script as your script handler which is pretty generic and is not …

Read more