393 reputation
1525
bio website
location
age
visits member for 3 years, 5 months
seen Jan 29 '12 at 6:17

I like lacrosse, hence my handle.


Oct
5
comment Building a WP Shortcode: Loading Markers on a Google Map
Maybe there is a way to build the XML file following this example: wordpress.stackexchange.com/questions/6840/… If I can combine this solution with the above, it might work.
Oct
5
accepted Front Page Settings
Oct
5
accepted wp_enqueue_style in Plugin
Oct
4
revised Building a WP Shortcode: Loading Markers on a Google Map
added 246 characters in body; edited title
Oct
4
revised Building a WP Shortcode: Loading Markers on a Google Map
additional info
Oct
4
asked Building a WP Shortcode: Loading Markers on a Google Map
Sep
30
comment How to Run a jQuery Script after a Javascript Script has Finished in WordPress
Hi @DrewGourley Thank you for the help. It was a timing problem. My function was firing before the map fully loaded. I added your code, and the timing was still off. So in addition, I added an eventListener. It works now. Thank you.
Sep
30
accepted How to Run a jQuery Script after a Javascript Script has Finished in WordPress
Sep
29
asked How to Run a jQuery Script after a Javascript Script has Finished in WordPress
Sep
27
comment How Can I Access a PHP Variable in Another PHP Function
@goto10, you came up with a much better title.
Sep
27
accepted How do I Import an Exisiting WP Project into Aptana 3?
Sep
23
answered How do I Import an Exisiting WP Project into Aptana 3?
Sep
22
awarded  Critic
Sep
22
asked How do I Import an Exisiting WP Project into Aptana 3?
Sep
17
accepted How Can I Access a PHP Variable in Another PHP Function
Sep
16
comment How Can I Access a PHP Variable in Another PHP Function
Sorry, I ran out of space. Thank you for including the open.js link explaining what you were doing in the "for in" loop. Do I need to set default values for the $atts in php if we there are defaults set in default_args in the js script? If I wanted to turn this into a PHP class, I would wrap it in class myClass {}. I'm not sure how I would set the js to a property other than $output.= . I learned a ton from you. I'll definitely give you the green checkmark (not exactly a huge reward for your effort). Again, thank you so much for your solution and explanation.
Sep
16
comment How Can I Access a PHP Variable in Another PHP Function
Awesome answer! Thank you very much for your kind help. I never would have thought of concatenating the js script in the $output. Thank you for mentioning the localize_script pitfall. I want to understand your solution thoroughly. As I understand it, this bit jQuery.noConflict(); jQuery(document).ready(function($) { } isn't needed? Do I need to worry about this script conflicting with other scripts? Multi-instance friendly: As long as I only have one lax-google-map shortcode per page, then it should work okay? As I understand it, it will only crash if I have multiple maps on one page.
Sep
16
comment How Can I Access a PHP Variable in Another PHP Function
Hi @Chip Bennett, I think that it's a WP question that concerns PHP. If it were straight PHP, I would just pass the $atts as a parameter in a new function as One Trick Pony suggested. But, I don't understand WP well enough to know how to break it out into another function when I've got this: add_action('init', 'lax_google_map_init'); and the wp_localize_script lines. It's a tough one. Thank you.
Sep
15
revised How Can I Access a PHP Variable in Another PHP Function
additional info
Sep
15
comment How Can I Access a PHP Variable in Another PHP Function
@One Trick Pony, Thank you for your message. How do I pass $atts as an argument when lax_google_map_init() is called by add_action('init'...)? I need the $atts in order to set the $params. I can't move $params into another function because I can't add a parameter to lax_google_map_init(). I'm a little stuck. Any suggestions? Thank you.