| bio | website | blog.ashfame.com |
|---|---|---|
| location | Delhi, India | |
| age | 24 | |
| visits | member for | 2 years, 6 months |
| seen | 57 mins ago | |
| stats | profile views | 185 |
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.
|
Apr 9 |
comment |
Programmatically add widgets to sidebars Monitor the action parameter of ajax call that is made when a widget is added, and then find the code related to that action ajax hook and see how its done in core. Simple! ;) |
|
Apr 9 |
comment |
How to remove these fields from the 'Profile' section? +1 because as far as I can recall removing fields via PHP also stops WordPress from creating blank entries in the usermeta table. |
|
Apr 9 |
comment |
Remote login with only the username not working You are actually making the server on receiving end vulnerable like this, hope this is just an experiment. Ideally you should use XMLRPC API to communicate with other WordPress installs. Write more XMLRPC methods if you need more than the ones available and you are good to go :-) |
|
Dec 16 |
comment |
WP 3.3 update disabled editor stylesheet? Or TinyMCE Advanced problem? Try disabling the plugin once and see if you get the expected behavior. If yes, then the plugin is doing it else WordPress, if only these two have changed since the last time they were working. |
|
Dec 13 |
comment |
get_option() fails to return binary result Obviously you shouldn't modify serialized data. The only thing you need to change for moving your site is the site URL and home URL. If you want to change the links, then replace them in post content. I guess you were saving local URLs in options somewhere. Remember print_r() & var_dump() are your friends |
|
Dec 13 |
comment |
get_option() fails to return binary result Add more info regarding the actual problem and show how the output differs from your expectations. On a side note, Options API handle serialization and unserialization for you, you need not mess with that. What does var_dump( get_option('magaling_ads_468060_1') ); show? |
|
Dec 11 |
comment |
How can I list posts by author? He simply wants to display lists of authors with a nested list of their posts. And he is adding authors to the navigation menu for a start. Check the second screenshot of this plugin, that's what he wants wordpress.org/extend/plugins/list-posts-by-author/screenshots |
|
Dec 6 |
comment |
Find attached images for one post type Query inside a loop, not a good idea! |
|
Nov 22 |
comment |
Remotely identify the version of a WordPress installation? Moreover you should be executing on the same server for this to work. Didn't notice that before. lol |
|
Nov 15 |
comment |
Run a plugin just 'once' per page reload @Ankur I have modified the answer |
|
Nov 11 |
comment |
WordPress plugins not showing after switching servers Well the plugin can't misbehave on the working aspect of a user's role as such unless it its designed to. Its something else, but current information doesn't ring any bell. Sorry! |
|
Nov 11 |
comment |
WordPress plugins not showing after switching servers Add more information describing the exact behavior of widgets and did you move the database too? Very likely not. |
|
Oct 6 |
comment |
Multisite sites output on a single page Its like I want to view the content of diff sites on a single page by passing on parameters upon checking of which it is figured out which site of the multisite needs to be shown at this request & then that site is shown as if it was opened by its URL. Did I do better in explaining? |
|
Oct 2 |
comment |
Multisite sites output on a single page Just to make sure you have not misunderstood me. Instead of just pulling the content, I want to show it along with the theme, how exactly it will look when that particular site is opened a.domain.com Can I learn that from the mentioned resource? |
|
Sep 4 |
comment |
Add image attachment to post via coding? Ofcourse you can! He meant to ask adding a independent uploaded image to be attached to a post, just like how you can do it in Media library. |
|
Aug 24 |
comment |
Remove current-menu-item for a specific link Check this answer wordpress.stackexchange.com/questions/1230/… |
|
Aug 19 |
comment |
Upgrade Wordpress Database from 2.6 to 3.2 I added that info to my answer,thanks |
|
Aug 16 |
comment |
Include CSS with PHP without including wp-load? You are doubling the server load this way. For every page request, WordPress will be loaded twice. Even after using html cache at server side, WordPress will still be loaded for each CSS request. Bad approach! Instead write the CSS file in the directory as per the conditions and then pick it up as a static resource. |
|
Aug 15 |
comment |
Enabling XML-RPC Accross 500 blogs Answer what Rarst asked for. Basically, the option name stored in options table is enable_xmlrpc so you just have to change that value in the database for all of those blogs. Knowing your server setup, will help us give suggestions. |
|
Aug 13 |
comment |
Data validation There are 3-4 functions which says, they will encode <> and the only difference mention is that some won't double encode them. My main question is to clarify the differences & their appropriate usage better in terms of consideration of different use cases. In short, examples with explanations :-) I am not sure how we can do it here but we can make some progress for sure. |