2,041 reputation
1948
bio website tomauger.com
location Toronto, Canada
age
visits member for 3 years, 7 months
seen Sep 10 at 18:14

WordPress developer. Always learning. Hoping to contribute.


Sep
2
asked What would cause the 'wp' action to fire twice per page (but only once per post) in Firefox only?
Sep
1
comment Why is jquery-ui-core enqueueing in my footer instead of the header?
Interestingly, as soon as I wp_enqueue_script() some other (custom) script and mark jquery-ui-core as a dependency, jquery-ui-core is popped to the header!
Sep
1
comment Why is jquery-ui-core enqueueing in my footer instead of the header?
Thanks, Christopher. The missing link for me was wp-includes/script-loader.php. That's some good info there. You mention that it's being registered to enqueue in the footer, but where do you see that? I'm looking for wp_register_script() there but only see direct calls on the $scripts object.
Sep
1
asked Why is jquery-ui-core enqueueing in my footer instead of the header?
Sep
1
comment Is there a way to list all the JavaScript scripts that are actually loaded by WordPress? Do we care?
Thanks for the detailed answer! Much appreciated.
Sep
1
accepted Is there a way to list all the JavaScript scripts that are actually loaded by WordPress? Do we care?
Sep
1
asked Is there a way to list all the JavaScript scripts that are actually loaded by WordPress? Do we care?
Aug
30
comment Memory usage when querying users
Not that I'm a proponent of direct DB access, but if you're running into extreme memory situations, would that be a solution for you? get_users() will cache each "gotten" user in RAM; if you have a buttload of users, this will eat a ton of RAM. You might bypass this with a direct DB query.
Aug
30
comment Detection of theme being used
The bigger question here is why you would need this information. I have the suspicion that your need to get the current theme may be due to some other, possibly non-standard, approach that could probably be done a lot easier the "WordPress way". Care to elaborate?
Aug
30
comment What's the difference between get_the_time and get_the_date?
The real question for me is why is the template tag called "the_time()" but the "get" version is "get_the_date()"!?
Aug
29
comment Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
It will be a generated image in most cases. I'm totally cool with it being a separate image that is created manually (outside WP) and uploaded separately.
Aug
29
comment Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
please if you have the time, post your other solution. This is not just for me, but for future seekers who come upon this thread. Appreciate you giving back to the community.
Aug
29
accepted Will I see a performance hit if I use native API calls like get_the_title() instead of $post->post_title?
Aug
28
comment Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
@helenhousandi well, the plugin appears to be broken in WP 3.2.1, but there's a lot of good code in there that might be salvageable. I'll post back if I write a plugin
Aug
28
comment Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
@helenhousandi brilliant blog post. I'ma try the plugin now, see how well it works.
Aug
28
comment Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
+1 for suggesting a completely out-of-the-box way to handle this. It is, in fact, an approach I have been considering in the absence of other options. The downvote was probably because your answer seems to indicate that I should hard-code the URLs with HTML, but this is not necessary, since the Insert Image or Insert Media buttons will do all that for you.
Aug
28
comment Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
How do you figure that ACF will be able to help me with my media upload issue?
Aug
26
answered Using wp_trim_excerpt to get the_excerpt() outside the loop
Aug
26
comment Will I see a performance hit if I use native API calls like get_the_title() instead of $post->post_title?
Awesome. Can you update your answer so I can accept it?
Aug
26
revised Can I attach a document (eg: PDF) but have a JPEG as a thumbnail?
added 105 characters in body