AzzurraM25
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
| Status | Topic | Supporter | Voix | Publications | Nouveauté |
|---|---|---|---|---|---|
|
Restricted API key for Maps not accepted
Commencé par : AzzurraM25 in: Toolset Professional Support |
|
2 | 8 | Il y a 3 years, 3 months | |
|
Views got suddenly broken
Commencé par : AzzurraM25 in: Toolset Professional Support |
|
2 | 12 | Il y a 3 years, 3 months | |
|
Which JS to defer?
Commencé par : AzzurraM25
in: Toolset Professional Support
Problem: How to force the Javascript file of the Maps plugin to load at a later time? Solution: There is no such an option in Toolset. You can force Toolset to avoid loading the Map Javascript files by adding the code below:
function my_dequeue_script() {
wp_deregister_script( 'google-maps' );
wp_dequeue_script( 'google-maps' );
}
add_action( 'wp_print_scripts', 'my_dequeue_script', 200 );
After that, you can add the Javascript files below at a later time that you want: /wp-content/plugins/toolset-maps/resources/js/jquery.geocomplete.min.js |
|
2 | 5 | Il y a 3 years, 6 months |