Is there any shortcode to LOGOUT? How to avoid Dashboard?

This topic contains 3 replies, has 3 voices, and was last updated by Avatar Pie Register 4 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10002321
    Avatar
    sral
    Participant

    Hello,

    I know that this sounds probably ridiculous but I would like to have a shortcode or at least an option to Logout. Is there any way?

    By the way… I’ve blocked the “Redirect Logged-in Users” but, after login as subscriber user, I can access dashboard putting the “wp-admin” on search bar. Is it possible to be only able for the administrator?

    Thanks

    #10002348
    Avatar
    Pie Register
    Participant

    Hello,

    Yes you can append this query string and PR ultimately make that URL a Logout URL: ?piereg_logout_url=true&redirect_to=(After Logout URL here)

    For example:
    http://www.example.com/?piereg_logout_url=true&redirect_to=http%3A%2F%2Fwww.example.com

    Hope it helps

    Thanks

    #10003136
    Avatar
    ataullah qazi
    Participant

    Mr Mohsin Abbas,

    Iam usIng Pie Register,And I want To some Changes In This Plugin,When User Is Login In my Website,after Logged In I want Login Menu show Logout and show “Welocom User_name” Like Facebook ……..It IS Possible ? Reply Me As Soon As Possible…….

    #10003142
    Avatar
    Pie Register
    Participant

    Hello,

    Yes you can do so using a plugin deals with WP Menu or you have modify your template file.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Installation’ is closed to new topics and replies.