This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Gravity Forms OVERRIDES | |
| //// Modify variables | |
| body:has(#gravity_forms_theme_framework-css) .gform-theme--framework.gform-theme--orbital { | |
| --gf-color-danger:#c02b0a; | |
| --gf-color-primary: var(--primary); | |
| /* Button Color and Hover color */ | |
| --gf-ctrl-btn-bg-color-primary:var(--primary); | |
| --gf-ctrl-btn-bg-color-hover-primary:var(--primary-medium); | |
| --gf-ctrl-border-color: var(--border-color-light); | |
| /* Input field Radii */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html::before { | |
| content: ''; | |
| position: fixed; | |
| top: 0; | |
| right: 0; | |
| background: #000; | |
| color: #fff; | |
| font-size: 14px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){var b=document.getElementById('wpadminbar');if(!b)return;var h=b.dataset._hidden==='1',H=document.documentElement,B=document.body;if(!h){b.dataset._hidden='1';b.dataset._bAdm=B.classList.contains('admin-bar')?'1':'0';b.dataset._hAdm=H.classList.contains('admin-bar')?'1':'0';b.style.setProperty('display','none','important');H.style.setProperty('margin-top','0','important');B.style.setProperty('margin-top','0','important');B.classList.remove('admin-bar');H.classList.remove('admin-bar');}else{b.style.removeProperty('display');H.style.removeProperty('margin-top');B.style.removeProperty('margin-top');if(b.dataset._bAdm==='1')B.classList.add('admin-bar');if(b.dataset._hAdm==='1')H.classList.add('admin-bar');b.dataset._hidden='';}})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // CHANGE THE NUMBER AT THE END TO THE FORM ID | |
| add_filter( 'gform_pre_render_2', 'populate_posts' ); | |
| add_filter( 'gform_pre_validation_2', 'populate_posts' ); | |
| add_filter( 'gform_pre_submission_filter_2', 'populate_posts' ); | |
| add_filter( 'gform_admin_pre_render_2', 'populate_posts' ); | |
| function populate_posts( $form ) { | |
| foreach ( $form['fields'] as &$field ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_filter( 'wp_speculative_loading_enabled', '__return_false' ); | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* Remove "Rendered with Bricks" Admin Bar entry */ | |
| add_action('admin_bar_menu', 'remove_bricks_adminbar_item', 999); | |
| function remove_bricks_adminbar_item($wp_admin_bar) { | |
| $wp_admin_bar->remove_node('editor_mode'); | |
| } | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* Disable Video Upload */ | |
| function disable_video_uploads( $mimes ) { | |
| // Video mime types | |
| $video_mimes = array( | |
| 'asf' => 'video/x-ms-asf', | |
| 'asx' => 'video/x-ns-asx', | |
| 'wmv' => 'video/X-ms-wmv', | |
| 'wmx' => 'video/x-ms-wmx', | |
| 'wm' => 'video/X-ns-wm', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Entfernt die Spalte „Automatische Updates“ aus der Plugin-Übersicht | |
| function remove_auto_updates_column($columns) { | |
| unset($columns['auto-updates']); | |
| return $columns; | |
| } | |
| add_filter('manage_plugins_columns', 'remove_auto_updates_column'); | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Scrollbar magic */ | |
| /* You first need to target all scrollbars to override the DOM */ | |
| ::-webkit-scrollbar { | |
| -webkit-appearance: auto; | |
| } | |
| /* Then you can target the :horizontal class on it's own */ | |
| ::-webkit-scrollbar-thumb:horizontal { | |
| border-radius: 20px; | |
| background-color: rgb(29 76 128); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* add css to remove script selector from beaver builder modules */ | |
| add_action( 'wp_enqueue_scripts', 'bb_remove_fontselector'); | |
| function bb_remove_fontselector() { | |
| echo " | |
| <style> | |
| .fl-font-field-font-wrapper {visibility: hidden;} | |
| </style> | |
| "; | |
| } |
NewerOlder