Add display none for BWS shortcode
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 12 May 2017 14:17:45 +0000 (10:17 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 12 May 2017 14:17:45 +0000 (10:17 -0400)
On the page edit it is uneeded for our clients, and a distraction.

Gaslightify.php
css/GaslightifyGlobal.css

index 40d2823..8f82ced 100755 (executable)
@@ -4,7 +4,7 @@
 Plugin Name: Gaslightify
 Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
 Description: A gasline to a Wordpress website.
-Version: 1.5.8
+Version: 1.5.9
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 License: Gaslight Media
@@ -211,4 +211,6 @@ function nf_subs_capabilities( $cap ) {
 add_filter( 'ninja_forms_admin_submissions_capabilities', 'nf_subs_capabilities' );
 add_filter( 'ninja_forms_admin_parent_menu_capabilities', 'nf_subs_capabilities' );
 //add_filter( 'ninja_forms_admin_menu_capabilities', 'nf_subs_capabilities' );
+add_filter('json_enabled', '__return_false');
+add_filter('json_jsonp_enabled', '__return_false');
 ?>
index 4129ec9..7593e7b 100644 (file)
@@ -1,7 +1,7 @@
 /*
 GaslightMedia, all rights reserved.
 */
-/* 
+/*
     Created on : May 22, 2015, 11:19:44 AM
     Author     : laury
 */
@@ -19,18 +19,21 @@ GaslightMedia, all rights reserved.
 }
 
 #tinymce h3 {
-    clear: both;   
+    clear: both;
 }
 
 #tinymce h4 {
-    clear: both;   
+    clear: both;
 }
 
 #tinymce h5 {
-    clear: both;   
+    clear: both;
 }
 
 #tinymce h6 {
-    clear: both;   
+    clear: both;
+}
+div.bws_shortcode_button_tooltip,
+div.mce-bws_shortcode_button {
+    display: none;
 }
-