wp_enqueue_style('GaslightifyMSStyle', plugins_url('css/GaslightifyMS.css', __FILE__));
}
}
+ if (!current_user_can('edit_posts')) {
+ ?>
+ <style type="text/css">
+ #menu-posts, #menu-comments {
+ display: none !important;
+ }
+ </style>
+ <?php
+ }
}
add_action('after_setup_theme', 'GLM_general_settings');
.update-nag,
#screen-meta-links,
select[name="seo_filter"],
-#menu-posts,
-#menu-comments,
#menu-tools,
#menu-users,
#wp-admin-bar-edit-profile,
/* MetaSlider */
jQuery('#toplevel_page_metaslider .wp-menu-name').text("Slideshow");
- jQuery('#toplevel_page_metaslider img').attr("src","");
+// jQuery('#toplevel_page_metaslider img').attr("src","");
+// would like this replaced with an icon before we get rid of it
/* General WP */
jQuery("#wp-admin-bar-wp-logo > .ab-item").attr("href","#").attr("title","");