11 reputation
1
bio website
location
age
visits member for 3 years, 5 months
seen Jul 14 '11 at 17:27

Jul
14
awarded  Student
Jul
14
asked How to programmatically add a user to a role?
Jul
14
comment referencing the current user in a page i created in wordpress
<?php require('/wordpress/wp-blog-header.php'); $current_user = wp_get_current_user(); $current_user->set_role(rocky2); ?>
Jul
14
comment referencing the current user in a page i created in wordpress
thanks Bainternet but I have added the require and am getting the error "cannot coonect to database" this is the code below:
Jul
13
comment referencing the current user in a page i created in wordpress
Yes it is a php page
Jul
13
asked referencing the current user in a page i created in wordpress