ਵੇਰਵਾ
This plugin is an Add-on for Simple-Jwt-Login. It allows you to automatically login users from the newsletter sent by MailPoet into a WordPress website using a JWT.
Simple shortcode example:
[custom:simple-jwt-login]
This shortcode will generate a link, with the text “Login”
Available shortcode parameters:
– text : The text for the link
– class: Class added for the link
– style: Custom CSS added to the link
– validity: The number of seconds a JWT is valid
– authCode: Auth Code that is required by Autologin. You will find this in Simple-JWT-Login plugin -> Auth Codes
– redirectUrl: This URL will overwrite the SimpleJWTLogin settings, and it will specify where users will be redirected after autologin.
– isURL: When this parameter is provided, the shortcode will return only the autologin URL
Full short code example:
[custom:simple-jwt-login text="Login" class="myClassName" style="color:red;" validity="604800" authCode="1"]
This example will generate a red link, with the text “Login”.
You can also customize the shortcode to just return the URL.
[custom:simple-jwt-login text="Login" validity="604800" isUrl="on"]
ਸਕਰੀਨਸ਼ਾਟ
ਸਥਾਪਤੀਕਰਨ
Here’s how you install and activate the JWT-login plugin:
- Download the Simple-JWT-login-MailPoet plugin.
- Upload the .zip file in your WordPress plugin directory.
- Activate the plugin from the “Plugins” menu in WordPress.
or
- Go to the ‘Plugins’ menu in WordPress and click ‘Add New’
- Search for ‘Simple-JWT-Login-MailPoet’ and select ‘Install Now’
- Activate the plugin when prompted
Next steps:
In The “Simple JWT Login” tab, there will be a new submenu item “MailPoet integration”. Generate your shortcode there and copy it into your newsletter templates.
ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ
-
Is the Auth Code required?
-
No, it is not required. You can disable it from the Simple-JWT-Login -> ‘Login’. Just set the parameter ‘Login requires Auth Code’ to ‘No’.
-
Does this plugin works with MailPoet 2?
-
No. This plugin works only with MailPoet 3. MailPoet 2 is deprecated.
-
Yes. You can add as many short-codes as you want in a single email template.
ਸਮੀਖਿਆਵਾਂ
There are no reviews for this plugin.
ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ
“Simple JWT Login MailPoet – Login users from newsletter” is open source software. The following people have contributed to this plugin.
ਯੋਗਦਾਨੀ“Simple JWT Login MailPoet – Login users from newsletter” has been translated into 3 locales. Thank you to the translators for their contributions.
“Simple JWT Login MailPoet – Login users from newsletter” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।
ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
ਤਬਦੀਲੀ-ਚਿੱਠਾ
= 1.0.1 ( 31 Jul 2024)
– Fix Shortcode handler
– Update WordPress 6.6 compatibility
= 1.0.0 ( 03 May 2024)
– Test with latest WordPress version
0.1.1 ( 26 Apr 2022)
- Add a new parameter to allow the display of only the URL
0.1.0 ( 06 Apr 2022)
- Initial release