101 reputation
4
bio website robinkeet.com
location Netherlands
age 26
visits member for 1 year, 8 months
seen 11 hours ago

Still a student @HAN (Hogeschool van Arnhem en Nijmegen) in The Netherlands.

I'm still learning, get stuck now and then on basic stuff, but getting better and better with HTML5, CSS3, JS, jQuery, PHP and MySQL. A combination which I prefer as I'm quite a result based person.


2d
comment How to restrict dashboard access to Admins only?
You sir, get a +1! :) Been looking for this for hours! Also a small improvement. Single site your check is sufficient. For multi-site you'd want to replace manage_options with manage_network. The latter would disable the dashboard also for default "site administrators" but leave access available for Super Administrators (Network admins).
Jul
22
comment Allow roles below admin to add subscribers only
I personally haven't and would like the answer to that ;) Even when going into the database and manually changing default_role from subscriber to anything, after the next refresh of the site, or a specific blog in multi-site, the value has been reset to subscriber.
Jul
15
comment How to display custom taxonomy
Also, have you bound your CPT (Custom Post Type) products to link to the object (term/taxonomy) of city? If not, do so as well. Have a look at the "taxonomies" Argument (halfway down the page) here.
Jul
15
comment How to display custom taxonomy
Have you tried a template file city.php ? Basing this of 'category' being a taxonomy and there's category.php.
Jul
7
comment How to prevent first post and first comment on WP MU?
Nice, thanks for this. Btw, there's a ':' after restore_current_blog() instead of ';'. Just FYI. (1 char edit...)
Jul
4
accepted wp_get_attachment_image_src returns image on main domain, false on subdomain
Jul
4
awarded  Editor
Jul
4
revised wp_get_attachment_image_src returns image on main domain, false on subdomain
Small addition to explain for future usage of this function that a `created_on` field needs to be added to a new users' metadata with the blog_id the user was created on.
Jul
2
answered wp_get_attachment_image_src returns image on main domain, false on subdomain
Jul
2
comment wp_get_attachment_image_src returns image on main domain, false on subdomain
Thank you for the quick answer. I will start on a workaround for that and post that as well. I might not be the only one bumping into this.
Jul
2
asked wp_get_attachment_image_src returns image on main domain, false on subdomain
Jun
10
revised Get users from all/specific blog by user_role and current_user role
edited tags
Jun
10
awarded  Scholar
Jun
10
accepted Get users from all/specific blog by user_role and current_user role
Jun
5
asked Get users from all/specific blog by user_role and current_user role
Jun
5
answered Get users from all/specific blog by user_role and current_user role
Jun
2
suggested suggested edit on How to edit a user profile on the front end?
May
28
answered Allow roles below admin to add subscribers only
May
28
comment Allow roles below admin to add subscribers only
With making a few small adjustments to the code to suit my own needs, it still holds up in WP3.9.1 :)
May
19
awarded  Supporter