विवरण
Use a simple, single shortcode to allow your visitors to login or logout depending on their current status.
The shortcode outputs an a href link for you to add in the header, footer or anywhere else on your website.
Example Shortcode:
[login-logout text_to_login="Login" text_to_logout="Logout" class="custom-class" redirect="/shop/"]
Available Parameters:
- text_to_login – The text to prompt logged-out users to log in.
- text_to_logout – The text to prompt logged-in users to log out.
- class – Any optional custom classes to be added to the link.
- redirect – An optional page to redirect to after logging in/out. If not included, users will redirect to whatever page they’re on when they click the link.
- login_url – An optional parameter that user can change the URL login page
स्थापना
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Include the shortcode anywhere on your website:
[login-logout text_to_login="Login" text_to_logout="Logout" class="" redirect=""]
- Enjoy!
प्रश्नोत्तर
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Include the shortcode anywhere on your website:
[login-logout text_to_login="Login" text_to_logout="Logout" class="" redirect=""]
- Enjoy!
- Upload the plugin files to the
योगदानकर्ता र डेभलपरहरू
“Login Logout Shortcode” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Login Logout Shortcode” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
1.1.0
- Add login URL parameter so that user can change the URL login page instead of login on WP admin page
1.0.0
- First release!