Metaslider whitelabeling. Still need icon
authorLaury GvR <laury@gaslightmedia.com>
Mon, 1 Dec 2014 22:03:04 +0000 (17:03 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 1 Dec 2014 22:03:04 +0000 (17:03 -0500)
Gaslightify.php
css/Gaslightify.css
js/Gaslightify.js

index 2a4f0b4..d0bd701 100755 (executable)
@@ -90,6 +90,7 @@ function glm_custom_logo() {
         #wpadminbar .quicklinks li .blavatar:before {
             content: url(<?php echo plugins_url(); ?>/Gaslightify/img/GLM_flame_none_trans_16x16.png) !important; 
         }
+        
     </style>
     <?php
     
index 2e015c3..d7ed35b 100755 (executable)
@@ -24,10 +24,16 @@ select[name="seo_filter"],
 #wp-admin-bar-blog-4-c,
 .http-off,
 #ngg_page_content #side-container,
-#ngg_about_meta_box {
+#ngg_about_meta_box,
+#toplevel_page_metaslider > ul,
+#metaslider_social, #metaslider_advanced_settings, #metaslider_configuration .inside {
     display: none !important;
 }
 // To delete the dashboard menu option
 /*#menu-dashboard {
     display: none;
-}*/
\ No newline at end of file
+}*/
+
+#toplevel_page_metaslider .dashicons-before:before {
+       content: "\f233" !important;
+}
\ No newline at end of file
index bcb9297..5c00194 100755 (executable)
@@ -11,12 +11,19 @@ jQuery(document).ready(function(){
         jQuery("#wp-admin-bar-wp-logo").hover(function() {
             return false;
         });
+        
+        /* Nextgen */
         jQuery("#ngg_page_content .wrap h2").text("GLM Photo Gallery");
         jQuery("#ngg_page_content #dashboard_right_now .hndle span").text("Welcome to the gallery!");
         jQuery('#toplevel_page_nextgen-gallery ul li:contains("Gallery Settings")').css('display', 'none');
         jQuery('#toplevel_page_nextgen-gallery ul li:contains("Other Options")').css('display', 'none');
         jQuery('#toplevel_page_nextgen-gallery ul li:contains("Upgrade to Pro")').css('display', 'none');
         
+        /* MetaSlider */
+        jQuery('#toplevel_page_metaslider .wp-menu-name').text("Slideshow");
+        jQuery('#toplevel_page_metaslider img').attr("src","");
+        
+        /* General WP */
         jQuery("#wp-admin-bar-wp-logo > .ab-item").attr("href","#").attr("title","");
         jQuery('#wp-admin-bar-my-account > a').attr("href","#").attr("title","");
         jQuery('#wp-admin-bar-user-info > a').attr("href","#");