Reputation
453
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 10 29
Impact
~85k people reached

  • 0 posts edited
  • 0 helpful flags
  • 31 votes cast
Nov
19
accepted Multiple wp_localize_script
Nov
19
comment Multiple wp_localize_script
Thanks for the answer. That will be a useful feature!
Nov
17
asked Multiple wp_localize_script
Nov
17
asked wp_enqueue and Dependencies
Nov
17
comment Does wp_localize_script call a Javascript Function or Simply Pass PHP Parameters to It
Great explanation! I understand it now. Thanks so much.
Nov
17
accepted Does wp_localize_script call a Javascript Function or Simply Pass PHP Parameters to It
Nov
17
accepted How do I escape a ']' in a short code?
Nov
17
comment How do I escape a ']' in a short code?
Thank you for you answer. In my question, I forgot to put ']' in a code block so it came out as a ']'. I've edited my question. The HTML entity works for WP, but not for Google Maps. I'll have to use Regex to replace the HTML entities. Thank you very much for the help.
Nov
17
revised How do I escape a ']' in a short code?
added 2 characters in body
Nov
17
asked Does wp_localize_script call a Javascript Function or Simply Pass PHP Parameters to It
Nov
17
comment Mixing Regular Javascript With jQuery in a Plugin
Thank you very much for the detailed answer.
Nov
17
accepted Mixing Regular Javascript With jQuery in a Plugin
Nov
17
asked How do I escape a ']' in a short code?
Nov
16
asked Javascript Function Called Too Early in PHP Script
Nov
14
asked Mixing Regular Javascript With jQuery in a Plugin
Nov
13
comment How to Debug: My Plugin Interferes With My Theme
Thank you for your help.
Nov
13
accepted How to Debug: My Plugin Interferes With My Theme
Nov
13
comment How to Debug: My Plugin Interferes With My Theme
I took the Google Maps event listener out. Now, I call the function that calculates the map bounds when the button is clicked. I then chained the functions together so that one function calls the others. It's not as efficient as when the event listener called the functions after the map tiles loaded, but it works.
Nov
13
comment How to Debug: My Plugin Interferes With My Theme
Also, I tried commenting out all of the code in csf_map_viewport_bounds(), and uncommenting the event listener: google.maps.event.addListener(csf_dcscore_crime_map, 'tilesloaded', csf_dcscore_crime_map_viewport_bounds); So, I know that the problem is with the eventListener, not with the function.
Nov
13
comment How to Debug: My Plugin Interferes With My Theme
The line reading: google.maps.event.addListener(csf_dcscore_crime_map, 'tilesloaded', csf_dcscore_crime_map_viewport_bounds); isn't ina function. It's simply in the jQuery(document).ready(function() { }); -- not sure if that would make any difference.