Skip to content

Instantly share code, notes, and snippets.

View ericakfranz's full-sized avatar

Erica Franz ericakfranz

View GitHub Profile
@ericakfranz
ericakfranz / envira-gallery-remove-media-button.php
Created September 3, 2017 04:09
Remove the Add Gallery button on post / page edit screen.
@ericakfranz
ericakfranz / om-translate-copied.js
Created January 26, 2024 20:45
OptinMonster Click to Copy button "Copied!" text translation script
document.addEventListener('om.Main.init', function (evt) {
var Strings = evt.detail._utils.strings;
// Replace ¡Copiada! below with the text you wish to use.
Strings['Copied!'] = '¡Copiada!';
});
@ericakfranz
ericakfranz / om-monsterlink.html
Created January 26, 2024 20:39
Text MonsterLink example
@ericakfranz
ericakfranz / om-button-monsterlink.html
Created January 26, 2024 20:38
Button MonsterLink example.
@ericakfranz
ericakfranz / om-image-monsterlink.html
Created January 26, 2024 20:37
Image MonsterLink example
@ericakfranz
ericakfranz / om-monsterlink-mobile-variant.html
Created January 26, 2024 20:35
MonsterLink with mobile variation
@ericakfranz
ericakfranz / special-monsterlink.html
Created January 26, 2024 20:31
MonsterLink from a non `a` tag element
html div#om-{{id}} {
top: 0px !important;
bottom: unset !important;
right: auto !important;
margin-left: 20px !important;
transition: top 0.3s ease 0s !important;
}
html div#om-{{id}} {
top: 0px !important;
bottom: unset !important;
width: 350px !important;
left: calc(350px / 2) !important;
right: calc(350px / 2) !important;
margin-left: auto !important;
margin-right: auto !important;
transition: top 0.3s ease 0s !important;
}
html div#om-{{id}} {
top: 0px !important;
bottom: unset !important;
transition: top 0.3s ease 0s !important;
}