271 reputation
413
bio website
location
age
visits member for 2 years, 8 months
seen Sep 24 '12 at 10:26
stats profile views 147

Dec
15
accepted Comment filtering (search)
Dec
14
comment Comment filtering (search)
nevermind, I figured it out :)
Dec
14
accepted Get the sidebar ID in which the current widget was dropped
Dec
14
asked Comment filtering (search)
Dec
12
asked Get the sidebar ID in which the current widget was dropped
Dec
12
accepted Count widgets of a certain type
Dec
12
comment Fastest way to get the comment and ping total count for a post
that doesn't work. you have calls to some weird functions there, which are not available in wp..
Dec
12
accepted Any plugin out there that uses WP's internal image uploader?
Dec
12
comment How to load and show comments with AJAX instead of pagination?
I will when I'll have a working solution :)
Dec
12
asked Count widgets of a certain type
Nov
29
comment Prevent WordPress from loading comments
anyway, I think that I'm forced to use the original query for all comments, because otherwise I'll get issues with threaded comments. WP has a pretty bad comment system...
Nov
29
comment Prevent WordPress from loading comments
well it's pretty much the same as the default function: pastebin.com/DuEkCZDv if you call it with ajax = true it will get only 10 comments, otherwise it will run the sql which gets all the comments...
Nov
29
accepted Prevent WordPress from loading comments
Nov
29
comment Prevent WordPress from loading comments
Even more weird is if I use the same sql query as WP does, but append add "LIMIT 10" to it. query count increases by 10...
Nov
29
comment Prevent WordPress from loading comments
ok. I ran into something weird :) If I replace WP's sql query with my get_comments() function I get 10 extra database queries reported, but less memory usage. For eg. for a post with 5000 comments, memory usage is 32 MB vs 16 MB. I don't understand how can WordPress make less database queries by selecting 5000 comments than me using get_comments() to pull out only 10 comments....
Nov
28
revised Fastest way to get the comment and ping total count for a post
added 66 characters in body
Nov
28
comment Getting $comments outside the comment template
what's the difference between using admin-ajax.php and usual site url?
Nov
28
accepted Getting $comments outside the comment template
Nov
28
asked Fastest way to get the comment and ping total count for a post
Nov
28
comment Prevent WordPress from loading comments
thanks, I'll just override that template