Skip to content

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

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

Formiantor GA Tracking

/*FORMINATOR TRACKING * https://gist.github.com/wpmudev-sls/5fc34beaee5a34947cda67ccc6a56bff * https://gist.github.com/patrickfreitasdev/46c9dbf946b3cc34a46ae3a24d58635b THIS ONE HERE GA ONLY * */ add_action( 'wp_footer', function(){ /** * Tracking ID and property number * * The tracking ID is a string like UA-000000-2. * It must be included in your…

Mehr Lesen

Debugging and logging in PHP

You can also debug the problem as follows: Put this on your wp-config.php file: define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); This will create the file: wp-content/degub.log. In order to see some debug, just add lines like these on…

Mehr Lesen
An den Anfang scrollen