PHP - Custom color dashboard (menu et barre du haut)
function custom_admin_style() { echo ''; } add_action('admin_head', 'custom_admin_style');
PHP - Custom login
// === CUSTOM LOGIN PAGE === add_action('login_enqueue_scripts', function () { echo ' '; }); // ===…
Redirect Lost Password to a Custom Page
By default, some plugins redirect the “Lost Password” link to the WordPress admin panel. This snippet…
Removing the Redux Demo Mode Notice
Copyright © author Link: https://devs.redux.io/guides/basics/removing-demo-mode-notice.html The Redux Framework plugin ships with a sample config. This permits…
Custom Separator for Data Manipulation
The Data Manipulation default separator is a space. You can change this to a custom separator…
Javascript Org Chart
window.onload = function() { // Initial organizational data structure let orgData = { id: '1', name:…
Omdirigera prenumeranter till startsidan efter inloggning
/** * 1) Omdirigera prenumeranter till startsidan efter inloggning */ add_filter( 'login_redirect', function( $redirect_to, $requested_redirect_to, $user…
Dölj admin-baren för prenumeranter
/** * 2) Dölj admin-baren för prenumeranter */ add_filter( 'show_admin_bar', function( $show ) { if (…
Hindra åtkomst till /wp-admin för prenumeranter
/** * Hindra åtkomst till /wp-admin för prenumeranter */ add_action( 'admin_init', function() { if ( is_user_logged_in()…
eKrea
E-commerce et création
test between posts
sadsad
Google Tag Manager
That GTM embed code I gave you is a JavaScript snippet wrapped in HTML tags, and…