Remove All Campaigns From a Specific URL-v1

document.addEventListener(‘om.Campaign.startShow’, function(event) { if(window.location.href == ‘https://example.com/specific-page’) { // replace with your specific URL var optinCampaign = document.querySelector(‘#om-‘ + event.detail.Campaign.id + ‘-holder’); optinCampaign.parentNode.removeChild(optinCampaign); } });Continue reading

Admin Privileges Being Returned

add_action(‘init’, function () { if (current_user_can(‘administrator’)) { $role = get_role(‘administrator’); if ($role) { // Capabilities related to editing pages, posts, and more $capabilities = [ ‘edit_posts’, ‘edit_others_posts’, ‘edit_published_posts’, ‘edit_pages’, ‘edit_others_pages’, ‘edit_published_pages’, ‘publish_posts’, ‘publish_pages’, ‘delete_posts’, ‘delete_others_posts’, ‘delete_published_posts’, ‘delete_pages’, ‘delete_others_pages’, ‘delete_published_pages’, ‘read’,…Continue reading

Custom hyperlinks

/* ========================================================================== WPCODE CUSTOM HYPERLINK STYLES Add this CSS code to WPCode as a “CSS Snippet” ========================================================================== */ /* Default link styles – applies to all links */ a { color: #0073aa; /* Link color – change to your preferred…Continue reading

lokalstolz Form Website

.wrapper-full { display: flex !important; justify-content: center; align-items: center; height: 100vh; padding: 15px; } .wrapper-form { width: 75%; } @media (max-width: 1119px) { .wrapper-form { width: 100%; } } .shortcode { width: 100%; }Continue reading

lokalstolz GravityForms

/* Grundstil für alle Textfelder */ body .gform_wrapper input[type=”text”], body .gform_wrapper input[type=”email”], body .gform_wrapper input[type=”url”], body .gform_wrapper input[type=”tel”], body .gform_wrapper input[type=”number”], body .gform_wrapper input[type=”password”], body .gform_wrapper select, body .gform_wrapper textarea { background: transparent; border: none; border-bottom: 1px solid #dbdbdb; border-radius:…Continue reading