Creating Custom user type just like custom post

Well, Roles are in many ways custom user types and you can add meta fields specific to roles. For example… function is_my_user_role($id = null) { global $profileuser; if (empty($profile) && !empty($id)) $profileuser = get_user_to_edit($id); return (in_array(‘myrole’,$profileuser->roles)) ? true : false; } function my_user_fields($profileuser) { if (!is_my_user_role()) return false; // HTML for the fields } add_action(‘show_user_profile’, … Read more

show count author post today

Basic logic behind what you want: Find out the actual date e.g. $date_now Get posts by author http://codex.wordpress.org/Function_Reference/get_posts_by_author_sql that have the same publish date as $date_now (you need to do a sql query for that). count the rows that were returned and echo the output.

Migrating Users along with their password

I imported the 2 tables in the target database and faced permission issue while logging in to the target site , then I followed this site http://beconfused.com/2007/how-to-solve-you-do-not-have-sufficient-permissions-to-access-this-page-in-wordpress/ and it fixed the issue.