Wordpress | naveenOS https://www.naveenos.com How may I help you - E-Commerce | Full-Stack Developer Wed, 29 Jun 2011 11:00:44 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 PHP: How to unserialize for XML string https://www.naveenos.com/2011/06/php-how-to-unserialize-for-xml-string https://www.naveenos.com/2011/06/php-how-to-unserialize-for-xml-string#comments Wed, 29 Jun 2011 10:58:17 +0000 http://naveenos.com/?p=381 WordPress is a powerfull tool for blog and it keep all data  in serialize format and user can easily get these values from database by get_option() function. But some time we need to use unserialize function to get some specific value from the string. So we simply use unserialize function on stored string and get […]

The post PHP: How to unserialize for XML string first appeared on naveenOS.]]>
https://www.naveenos.com/2011/06/php-how-to-unserialize-for-xml-string/feed 3
WordPress: Add or remove ‘www’ from your url https://www.naveenos.com/2011/02/wordpress-add-or-remove-www-from-your-url https://www.naveenos.com/2011/02/wordpress-add-or-remove-www-from-your-url#comments Wed, 02 Feb 2011 13:21:16 +0000 http://naveenos.com/?p=310 In most cases we see that when we try to open any site then it add ‘www’ in the url or remove from the url. This can be manage by Htaccess in general sites on the server. Wordpres provides a good facility to manage this url setting. 1. Go Settings > General 2. Set WordPress […]

The post WordPress: Add or remove ‘www’ from your url first appeared on naveenOS.]]>
https://www.naveenos.com/2011/02/wordpress-add-or-remove-www-from-your-url/feed 3
WordPress: How to get role name of a user by id https://www.naveenos.com/2010/09/wordpress-how-to-get-role-name-of-a-user-by-id https://www.naveenos.com/2010/09/wordpress-how-to-get-role-name-of-a-user-by-id#respond Mon, 13 Sep 2010 10:32:49 +0000 http://naveenos.com/?p=244 This code will print the role name of the user whose id is store in $user_id variable. Tweet This Post

The post WordPress: How to get role name of a user by id first appeared on naveenOS.]]>
https://www.naveenos.com/2010/09/wordpress-how-to-get-role-name-of-a-user-by-id/feed 0
WordPress: get the current logged in user information https://www.naveenos.com/2010/08/wordpress-get-the-current-logged-in-user-information https://www.naveenos.com/2010/08/wordpress-get-the-current-logged-in-user-information#respond Mon, 30 Aug 2010 07:53:51 +0000 http://naveenos.com/?p=234 This is helpful during write the plugin or widget for wordpress: Tweet This Post

The post WordPress: get the current logged in user information first appeared on naveenOS.]]>
https://www.naveenos.com/2010/08/wordpress-get-the-current-logged-in-user-information/feed 0
WordPress: How to use Ajax at front side without using admin-ajax.php https://www.naveenos.com/2010/08/wordpress-how-to-use-ajax-at-front-side-without-using-admin-ajax-php https://www.naveenos.com/2010/08/wordpress-how-to-use-ajax-at-front-side-without-using-admin-ajax-php#comments Thu, 26 Aug 2010 09:59:54 +0000 http://naveenos.com/?p=229 Mostly all wordpress developers write the code to create widgets in admin side. and he use following code: var ajaxurl =''; var data = { action: 'action_function_name' }; // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php jQuery.post(ajaxurl, data, function(response) { alert(response); }); But when he wants to use […]

The post WordPress: How to use Ajax at front side without using admin-ajax.php first appeared on naveenOS.]]>
https://www.naveenos.com/2010/08/wordpress-how-to-use-ajax-at-front-side-without-using-admin-ajax-php/feed 16
WordPress: Retrieve all roles list https://www.naveenos.com/2010/08/wordpress-retrieve-all-roles-list https://www.naveenos.com/2010/08/wordpress-retrieve-all-roles-list#comments Wed, 25 Aug 2010 12:47:45 +0000 http://naveenos.com/?p=225 Many times we need to show all roles in a dropdown for our widget and we try to find in database but we are unable to get correct value.. so here I am providing a good solution to get all list of roles: Tweet This Post

The post WordPress: Retrieve all roles list first appeared on naveenOS.]]>
https://www.naveenos.com/2010/08/wordpress-retrieve-all-roles-list/feed 2
WordPress Widgets vs Plugins, what’s the difference? https://www.naveenos.com/2010/06/wordpress-widgets-vs-plugins-what%e2%80%99s-the-difference https://www.naveenos.com/2010/06/wordpress-widgets-vs-plugins-what%e2%80%99s-the-difference#comments Tue, 15 Jun 2010 12:54:22 +0000 http://naveenos.com/?p=127 What is the difference between plugins and widgets? Plugins are functions that do something to your website. They could serve a back-end purpose and never be visible to you or the public. In the other hand, a widget usually is the representation of a plugin in the form of an object that can be placed […]

The post WordPress Widgets vs Plugins, what’s the difference? first appeared on naveenOS.]]>
https://www.naveenos.com/2010/06/wordpress-widgets-vs-plugins-what%e2%80%99s-the-difference/feed 2