WordPress: Remove support for tags for posts
//post: remove tags add_action( 'init', 'unregister_tags' ); function unregister_tags() { unregister_taxonomy_for_object_type( 'post_tag', 'post' ); }
//post: remove tags add_action( 'init', 'unregister_tags' ); function unregister_tags() { unregister_taxonomy_for_object_type( 'post_tag', 'post' ); }
It is easy but google does not help too much as there are hundreds of semi legal sites trying to get their software installed on your system. Beware. Most of these tools are not functional, nor intended for this and…
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…
/*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…
Install the "WP FullCalendar" plugin. https://wordpress.org/plugins/wp-fullcalendar/ Go to the settings Page "Settings - WP FullCalendar" and set up the following: You do not need to select any post types as we control this with the shortcode and hooks. Just define…
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…
Use span_1_of_1 until span_1_of_8. You can combine it like this. It might require enym plugin, or you will end up with equidistant columns like "2 halfs", "3 thirds", "4 fourths" etc. (unil 8). Having mixed column widths requires a couple…
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…
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…