PHP – Custom color dashboard (menu et barre du haut)
function custom_admin_style() { echo ‘ ‘; } add_action(‘admin_head’, ‘custom_admin_style’);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
function custom_admin_style() { echo ‘ ‘; } add_action(‘admin_head’, ‘custom_admin_style’);Continue reading
add_action(‘admin_init’, function () { // Redirect any user trying to access comments page global $pagenow; if ($pagenow === ‘edit-comments.php’) { wp_safe_redirect(admin_url()); exit; } // Remove comments metabox from dashboard remove_meta_box(‘dashboard_recent_comments’, ‘dashboard’, ‘normal’); // Disable support for comments and trackbacks in…Continue reading
add_filter( ‘gform_confirmation_anchor’, ‘__return_true’ );Continue reading
/** * The template for displaying the footer * * Contains footer content and the closing of the #main and #page div elements. * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ ?>Continue reading
/** Removes the “Login with GoDaddy” SSO Integration. */ add_action( ‘plugins_loaded’, function() { add_filter( ‘wpaas_gd_sso_button_enabled’, ‘__return_false’, 99999999, 1 ); } );Continue reading
/** * Plugin Name: Shuffles Z-Index Debugger * Description: Adds a visual z-index overlay tool with an admin bar toggle, styled to match the Shuffles theme. * Version: 1.0 * Author: ToughGigs Tools */ // Add the toggle button to…Continue reading
/** * Site Logo block: live height preview with dropdown under Dimensions and width slider removed */ if ( ! defined( ‘ABSPATH’ ) ) exit; // Default pixel heights function afs_logo_sizes_defaults() { return array( ‘small’ => 50, ‘medium’ => 80,…Continue reading
/** * Kadence extra header row with native AdButler tag (no iframe, no doc.write hacks) * – Renders INSIDE Kadence header so it follows sticky behavior * – Full-viewport centered row; no reserved height; no interference with other tags */…Continue reading