Skip to content

Inline JS and CSS in WordPress for Backend and Gutenberg

Disable "stick to the top of the blog" and "pending review" in Gutenberg sidebar //hide stick to the top of the blog checkbox function inline_custom_admin_style() { echo '<style> .editor-post-author__panel { margin-top:-50px !important; } .post-author-selector{background: white;} </style>'; } add_action('admin_head', 'inline_custom_admin_style'); Via…

Mehr Lesen

Good working responsive Tables

/*TABLES RESPONSIVE*/ table.responsive span[data-type="responsive"]{ display:none; } @media only screen and (max-width:768px){ table.responsive span[data-type="responsive"]{ display: block; /* width: 100%; */ /*vertical-align: top;*/ color: var(--wpex-table-thead-color); font-weight: var(--wpex-bold); color: var(--wpex-table-th-color); /* text-align: -webkit-match-parent; */ /* padding: var(--wpex-table-cell-padding,.769em 1em); */ /* border: 1px solid…

Mehr Lesen

Mailster E-Mail Messages come with wrong logo

This is a very annoying bug in mailster. Though you have set a a custom logo in the global settings (template section), mailster still sends notification mails with the annoying "My Mail" logo. This is wrong because in the settings…

Mehr Lesen

Silhouette Cameo 2 – Thermo Transfer TShirt Print – How To

Einfaches ToDo für Plotter-T-Shirt -Folien-Plottung: Bereite das Bild in Inkscape vor. Wichtig ist, dass du die Vorlagen spiegelst, damit später das Motiv und Schrift beim Aufpressen seitenrichtig dargestellt werden. Speichere es im Format DXF. Öffne es dann in Silhouette Studio…

Mehr Lesen

Change Email w/o notification

function change_user_email_without_confirmation($user_id, $new_email) { // Sanitize user ID and new email $user_id = intval($user_id); $new_email = sanitize_email($new_email); // Make sure it's a valid email address if (!is_email($new_email)) { return new WP_Error('invalid_email', __('Invalid email address.')); } // Get the user data…

Mehr Lesen
An den Anfang scrollen