ARCHIVE

Tips
Javascript Detect any Browser and Browser Version

Since jQuery 1.9.0 removed the jQuery.browser functionality, I compiled some useful functions to replicate that functionality. [raw] function is_ie(){ if (navigator.appVersion.indexOf("MSIE") != -1){ return true; }; return false; }; function is_firefox(){ if (navigator.userAgent.indexOf("Firefox") != -1){ return true; }; return false; }; function is_opera(){ if (navigator.userAgent.indexOf("Opera") != -1){ return true; }; return false; }; function is_chrome(){ […]
WordPress Objects Examples

$current_user [php]WP_User Object ( [data] => stdClass Object ( [ID] => 1 [user_login] => admin [user_pass] => $P$xxxxxxx7o3SVZWJYrn/ [user_nicename] => admin [user_email] => xxx@gmail.com [user_url] => [user_registered] => 2011-03-04 22:59:53 [user_activation_key] => [user_status] => 0 [display_name] => admin [first_name] => [last_name] => [nickname] => admin [description] => [rich_editing] => true [comment_shortcuts] => false [admin_color] => […]