Ok got the solution of this one. Settings -> General. There click on anyone can register.
-
This reply was modified 8 years, 5 months ago by
rish30990.
Hello @rish30990,
Yes, our plugin needs that option checked before users will be able to register themselves.
Regards.
Hello @raster02 I have one more question. Can I show logout link and user name on header section? Because right now after login user has to go to login page again to logout. It would be better if user get logout option on header so they can do logout from any page.
-
This reply was modified 8 years, 5 months ago by
rish30990.
Hello @raster02 I have one more question. Can I show logout link and user name on header section? Because right now after login user has to go to login page again to logout. It would be better if user get logout option on header so they can do logout from any page.
Hello @rish30990,
You can use the [wppb-logout] shortcode to generate a logout link. Check our documentation page, the text that is displayed can be modified as well.
For example, this shortcode will display: Hello FIRST_NAME. Logout>>
[wppb-logout text="Hello {{meta_first_name}}"]
Let me know if this works.
Regards.
It worked as I wanted. Thanks for solution 🙂 . One last thing I want to confirm. Can we write shortcode in template file (Theme’s php file)? Something like do_shorcode(). Although I can find a way without using template file but if php shortcode is available then it would be better. Your linked documentation didn’t mention about php shortcode.
Regards
-
This reply was modified 8 years, 5 months ago by
rish30990.
-
This reply was modified 8 years, 5 months ago by
rish30990.
Yes, you can use do_shortcode() over it as well.