How to remove administrator role in settings -> general -> New User Default Role?

Okay, this looks tricky, but I think it’s possible. The user-new.php file calls wp_dropdown_roles() to output the list of roles. The wp_dropdown_roles() function calls get_editable_roles() to get the list of roles to output. The get_editable_roles() function has a filter, editable_roles. So, you should be able to add a filter for editable_roles, such that, if the … Read more

Filter custom post types in admin not working

Basically you are doing every thing right except the taxonomy slug in the url should be lowercase so you can simply place this line: esc_url( add_query_arg( array( ‘post_type’ => $post->post_type, ‘Service’ => $term->slug ), ‘edit.php’ ) ), with this: esc_url( add_query_arg( array( ‘post_type’ => $post->post_type, ‘service’ => $term->slug ), ‘edit.php’ ) ), and you should … Read more

Disable all https in WordPress

I don’t believe WordPress sends HTTPS requests unless it has been told to do so. It sounds like you need to undo some previous configuration — most likely change/remove the FORCE_SSL_LOGIN constant. You may have plugins participating as well though. Make sure to check that. Reference: http://codex.wordpress.org/Administration_Over_SSL