Category: Login
mobile sticky menu chatgpt css (copy)
/* Reset some default styles */ body, h1, ul { margin: 0; padding: 0; } /* Hide the container by default for larger screens */ .mobile-bottom-menu-container { display: none; } /* Column styles */ .mobile-bottom-menu-column { flex: 1; text-align: center;…Continue reading
Yootheme JS Form Input Add Classes
“use strict” jQuery(document).on(‘ready’, function () { jQuery(‘input[type=text]’).addClass(‘uk-input’); jQuery(‘input[type=password]’).addClass(‘uk-input’); jQuery(‘input[type=number]’).addClass(‘uk-input’); jQuery(‘input[type=email]’).addClass(‘uk-input’); jQuery(‘select’).addClass(‘uk-select’); jQuery(‘input[type=radio]’).addClass(‘uk-radio’); jQuery(‘input[type=checkbox]’).addClass(‘uk-checkbox’); jQuery(‘input[type=range]’).addClass(‘uk-range’); jQuery(‘input[type=tel]’).addClass(‘uk-input’); jQuery(‘textarea’).addClass(‘uk-textarea’); jQuery(‘[type=”submit”]:not(“.uk-text-link”)’).addClass(‘uk-button uk-button-primary uk-button-large uk-margin-top’); jQuery(‘.acf-fields’).addClass(‘uk-grid’); jQuery(‘form .acf-field’).each(function () { jQuery(this).addClass(‘uk-grid-margin-medium’); jQuery(this).find(‘.acf-label > label’).appendTo(jQuery(this).find(‘.acf-input-wrap’)); jQuery(this).find(‘label’, ‘textarea’).attr({ ‘data-valid’: jQuery(this).find(‘input’, ‘textarea’).attr(‘placeholder’), ‘data-placeholder’: jQuery(this).find(‘input’, ‘textarea’).attr(‘placeholder’) }).text(”); jQuery(this).find(‘input’, ‘textarea’).attr(‘placeholder’,…Continue reading
Homepage Chatbot
Untitled Snippet
Custom login page
/* Change Admin Logo */ add_action( ‘login_head’, ‘rd_login_logo’ ); function rd_login_logo() { echo ‘ ‘; } /* Replace Link URL */ add_filter( ‘login_headerurl’, ‘rd_login_url’ ); function rd_login_url(){ return ‘https://rubberduckers.co.uk’; } /* Change login logo hover text */ add_filter( ‘login_headertext’, ‘rd_login_logo_title’…Continue reading
Login ‘Remember Me’ checked by default
/*’Remember Me’ checked by default */ add_action( ‘init’, ‘rd_login_checked_rememberme’ ); function rd_login_checked_rememberme() { add_filter( ‘login_footer’, ‘rd_check_rememberme’ ); } function rd_check_rememberme() { echo ““; }Continue reading
Failed login: Don’t show if username is correct
/* If a user’s login fails, don’t tell them whether the username or password was incorrect */ add_filter ( ‘login_errors’, ‘rd_failed_login’ ); function rd_failed_login () { return ‘Login failed because either your username or password is incorrect. Please try again.’;…Continue reading
Untitled Snippet
cart preview image stretch fix in oceanWP theme (copy)
/*Menu cart hover dropdown box image stretch fix*/ .woocommerce ul.product_list_widget li img { float: unset !important; display: block !important; min-width: 80px !important; height: 80px !important; margin-left: unset !important; position: relative !important; } .woocommerce ul.product_list_widget .wpr-mini-cart-image { display: inline-block; float: left;…Continue reading