2,387 reputation
1032
bio website blog.ashfame.com
location Delhi, India
age 25
visits member for 3 years, 8 months
seen 19 hours ago

Developer + Entrepreneur + Opensource fanatic!

Working as Dragon Monk for AnattaDesign. We tackle user experience problems by creating products that fix them. We created Awesome Checkout and My Abandoned Carts.

You can get in touch via Twitter or check out my Github


May
25
comment Fall Back Google CDN in JavaScript
@ChipBennett He is trying to have a fallback mechanism just like we have in HTML5 Boilerplate. Having a fallback is the best way among any other way.
May
25
comment Fall Back Google CDN in JavaScript
This will slow things down a bit and moreover only checks when the PHP actually ran and not everytime when the cached pages are served. Best is to do it on client side by checking if jQuery has been defined just after loading it.
May
25
comment Plugin to set all Posts in a certain Category to a certain Post Format
@NitinKhanna Did you try it? It should work. Because that app will use XMLRPC to publish the post on your WordPress, IMO.
May
25
comment Plugin to set all Posts in a certain Category to a certain Post Format
@Chris_O Thanks! I forgot about the condition while posting the answer
May
25
answered Plugin to set all Posts in a certain Category to a certain Post Format
May
23
comment Best practice for versioning wp-config.php?
IMO, everything should be put under versioned control and the system should be able to handle different environments without any hackery stuff along keeping things secure and simple to work with. I just posted on how I do it, that covers all your concerns :) Let me know if you have any questions about my setup.
May
23
answered Best practice for versioning wp-config.php?
May
10
answered Links do not open from click, only in new tab
May
7
comment Can't get CSS Into the Head via add_action
@ChristopherDavis You are right! I changed the hook name to wp_enqueue_scripts because its specifically for that purpose but using any hook before that hook is just not using the JIT (just in time) approach, yet it is correct and works fine. Do you mean to say there is more to it? I have always been using init hook to enqueue/register scripts and styles & never ran into any issue. What say?
May
7
revised Can't get CSS Into the Head via add_action
fixed hook
May
7
awarded  Revival
May
6
revised Can't get CSS Into the Head via add_action
added code
May
6
comment Add a Save Button to Custom Meta Box
See how the default submit button does, and mimic that?
May
6
comment How to set the default value of a option in a theme?
IMO, wp_parse_args() is still better because in using the default parameter of get_option(), that kicks in only when get_option() doesn't return anything from database. It won't be useful in the case when you have a subset of options filled in and wants to fill the missing ones from the defaults, like when you are upgrading your plugin, and all existing users of that plugin doesn't have the newly added setting in their database yet. We would want the default to kick in for that.
May
6
answered How to remove specific categories from posts?
May
6
answered Can't get CSS Into the Head via add_action
May
6
comment How to get Post ID with the Add Filter Function
get_the_ID() is still meant to be used inside the loop only. It might work for you well on single pages but a fully reliable way is to access global $post variable only like I said in my answer.
May
5
answered Rename a current used post type
May
5
answered How do you allow plugins to be updated using the GUI without breaking your subversion repository?
May
5
awarded  Autobiographer