reyhanweb
increase limits
Privacy checkbox field remains at the top line
The following code snippet will ensure that the privacy checkbox remains at the top line if…
Categorias pai a negrito e lembrete para nao esquecer de prencher certos campos ao adicionar um produto
/** * Validação completa para produtos WooCommerce * Verifica preço, categoria, referência (SKU) e peso */…
Trustpilot header code
ads trustpilot script to the header for reviews and tracking
om.WebFonts.init
document.addEventListener('om.WebFonts.init', function(event) { console.log(event.detail.WebFonts); console.log(event.detail.Campaign); } );
om.Styles.positionPopup
document.addEventListener('om.Styles.positionPopup', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Bottom Left
html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }
om external links monsterlink uniqe id
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'pcoamlfqsv7jeervep0b'; // ... the rest…
allow authors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'publish_posts'; } );
Optin View
#om-{{id}}-optin button.{{ns}}-CloseButton { /* Your Custom Styles */ }
plain-css.css
html div#om-{{id}} * { /* Anything inside here will be applied to all elements within your…
wrong redirect .htaccess
# Slash al final RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !# RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule…
Custom Heading above Qty (Woocommerce)
let qty = document.querySelector(".e-atc-qty-button-holder"); let text = ` How many card you’re planning to purchase? Choose…
Disabling the Admin Bar for Non-Admin Users
add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }