Or use the plugin to easily manage all your snippets: Header Footer Code Manager
Debugging login/registration issues
In case if you have issues with a cache after the login try to add define(“LRM_AJAX_URL_USE_ADMIN”, 1); to your wp-config. If the problem does not relate with the cache: You have to open the “Advanced” tab and enable option: Enable debug mode for public AJAX requests. After you can share […]
How to generate PDF invoice for your order
Login to your account – https://maxim-kaminsky.com/shop/my-account/ Check your Billing details on the Addresses tab and edit if needed Go to the Orders tab Click “View” order Download the Invoice Ready!
How to create custom login/registration & restore password pages
Example on how to set-up custom Login page In order to stop the wp-login.php usage and use custom pages on your website you need for example for Login: Create custom page, call it for example Login Put a shortcode like[lrm_form default_tab=”login” logged_in_message=”You have been already logged in!”] Select the newly […]
Dynamically change the redirect URL via PHP
Code sample: Add it to your theme (child) functions.php
WooCommerce reset password issue
In plugin versions < 1.71 if WC plugin is installed – it’s reset password page used by default. But sometimes this causes issues, so since version 1.71, you are able to disable this behavior in order to use settings from the Pages settings section.
2 Factor Login / 2FA / OTP verification
100% compatible plugins: Google Authenticator Wordfence plugins: Wordfence Security – Firewall & Malware Scan Wordfence Login Security Result: Not tested or does not compatible: https://wordpress.org/plugins/two-factor/ – does not work, but can be integrated based on a wp-login page only. https://wordpress.org/plugins/miniorange-2-factor-authentication/ – not tested yet. https://wordpress.org/plugins/two-factor-authentication/ – does not work.
How to add Logout link to your menu
Make sure that the “Login & Registration modal” section is visible, else display it Select the “Logout link” and click “Add to menu” Click “Save menu” Check your website while you are logged in Create logout link manually To create a logout link manually take a page where the user […]
How to hide the Registration tab?
You could hide the Registration tab in 3 ways: 1. Disable registration on your website in wp-admin 2. Hide both login and registration tab 3. Add code to your child theme functions.php, for example: add_filter(‘lrm/users_can_register’, ‘__return_false’ );
Manage your license
Where to find your license key: Link: https://maxim-kaminsky.com/shop/my-account/api-keys/ Where to download plugin zip: Where to put the license key: How to deactivate your license key: Or How to increase my activations count? If you want to add more domains to your license – drop me a line to get a price. […]