ba221ea5 by Jeff Balicki

sss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 42f549e6
...@@ -108,3 +108,10 @@ function template_chooser($template) ...@@ -108,3 +108,10 @@ function template_chooser($template)
108 add_filter('template_include', 'template_chooser'); 108 add_filter('template_include', 'template_chooser');
109 109
110 110
111
112 add_action('after_setup_theme', 'remove_admin_bar');
113 function remove_admin_bar() {
114 if (!current_user_can('administrator') && !is_admin()) {
115 show_admin_bar(false);
116 }
117 }
...\ No newline at end of file ...\ No newline at end of file
......