210 reputation
111
bio website SudarMuthu.com
location Bangalore, India
age 31
visits member for 1 year, 8 months
seen yesterday

I am a developer from Bangalore, India, mostly interested in WordPress, Android and Arduino programming. I write about my projects at my blog. You can also checkout my code that I have released as open source in my github account. You can follow me on twitter.


1d
awarded  Curious
2d
accepted Is it possible to query all posts that don't have an attachment?
2d
comment Is it possible to query all posts that don't have an attachment?
@birgire Thanks and I have marked this as the answer. I like the 2nd and 3rd approach.
2d
awarded  Yearling
2d
comment Is it possible to query all posts that don't have an attachment?
I like the fact that you are using distinct in the sub query.
2d
comment Is it possible to query all posts that don't have an attachment?
Thanks. I generally try to use WP_Query instead of writing my own SQL statements as it is the recommended way. But I guess this is a complex enough scenario to go the SQL statement route.
2d
asked Is it possible to query all posts that don't have an attachment?
Jun
15
awarded  Popular Question
Apr
9
comment Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
Thanks. That's exactly what I was looking for.
Apr
9
accepted Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
Apr
9
awarded  Commentator
Apr
9
comment Send email daily from WordPress site
Updated my answer.
Apr
9
revised Send email daily from WordPress site
added 402 characters in body
Apr
9
answered Send email daily from WordPress site
Apr
9
asked Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
Mar
30
comment Is it possible to run plugin code when a multisite blog is deleted?
I guess this should be the accepted answer since this is the cleaner way to do it.
Mar
24
comment Use wpdb->prepare for `order by` column name
The white-list approach is a good solution and thanks for that. The query I have in the question is just a sample. The one I am using in my code is really complex and went through the documentation of WP_Query and figured out there is no way to do what I want without a custom query.
Mar
24
accepted Use wpdb->prepare for `order by` column name
Mar
24
asked Use wpdb->prepare for `order by` column name
Sep
25
comment uninstall.php file in Plugin to clean DB
That clears it. Thanks.