2 Commits 9a4175eb29 ... ee2f7d6456

Author SHA1 Message Date
  windhamdavid ee2f7d6456 forms js 9 months ago
  windhamdavid 444db885c6 fix rm adminbar for Gutenberg 10 months ago
3 changed files with 4 additions and 2699 deletions
  1. 2 2
      inc/form.php
  2. 2 0
      inc/tweaks.php
  3. 0 2697
      js/contact.js

+ 2 - 2
inc/form.php

@@ -31,8 +31,8 @@ function init_gscripts() {
 add_action( 'wp_print_scripts', 'dw_deregister_gf_js', 100 );
 function dw_deregister_gf_js() {
 	if( is_page( 'contact' ) ) {
-		wp_deregister_script( 'gform_conditional_logic' );
-		wp_deregister_script( 'gform_json' );
+		//wp_deregister_script( 'gform_conditional_logic' );
+		//wp_deregister_script( 'gform_json' );
 		//wp_deregister_script( 'gform_datepicker_init' );
 		//wp_deregister_script( 'gforms_stripe_frontend' );	
 	}

+ 2 - 0
inc/tweaks.php

@@ -29,6 +29,8 @@ function dw_hide() {
     #footer {display:none;}
 	#contextual-help-link-wrap {display: none;}
 	#wpadminbar {display: none;}
+	.edit-post-header {margin-top:-30px;}
+	.edit-post-sidebar {margin-top:-30px;}
 	body.admin-bar #wpcontent, body.admin-bar #adminmenu {padding-top:0;}
 	#wp-content-editor-tools{top:0 !important;position:relative!important;}
 	#ed_toolbar{top:0px !important;}

File diff suppressed because it is too large
+ 0 - 2697
js/contact.js