Admin/Nav Extension – CSS

.mx_nav { background: #dadada; padding: 0 0 5px 0; margin: 0px 0 -5px -20px; line-height: 27px; border-bottom: 1px solid #c5c5c5; } .mx_nav li { display: inline-block; margin: 5px 0 0px 5px; padding: 0; } .mx_nav li.title { font-size: 23px; font-weight:…Continue reading

Plugin/WPCode – CSS

/* Custom editor styling for WPCode IDE window */ #wpcode-snippet-manager-form .CodeMirror pre { tab-size: 2 !important; line-height: 18px; font-family: “JetBrains Mono”, monospace; font-feature-settings: “calt”; font-size: 13px !important; font-variant-ligatures: no-common-ligatures; } /* WPCode snippets list table */ table.wpcode-snippets .manage-column.column-name { width:…Continue reading

Disable Legacy CSS

add_filter( ‘show_recent_comments_widget_style’, ‘__return_false’ ); add_filter( ‘use_default_gallery_style’, ‘__return_false’ );Continue reading

Automatic CSS/JavaScript Cache Busting

/** * Replace the `ver` query arg with the file’s last modified timestamp * * @param string $src URL to a file * @return string Modified URL to a file */ function filter_cache_busting_file_src( $src = ” ) { global $wp_scripts;…Continue reading

Jump Links

.wpsJumpLinks{ padding-top: 65px; /* Adjust the value depending on the desired offset */ margin-top: -65px; /* Make sure the value is the same as padding-top, but with a negative sign */ scroll-margin-top: 65px; /* Adjust the value depending on the…Continue reading

WP Simple Pay: Hide reCAPTCHA Badge

/** * @link https://library.wpcode.com/snippet/ro8w3kow/ */ add_action( ‘simpay_form_before_form_bottom’, function() { ?> This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.Continue reading