Redirect to Add Listing After Login

This topic contains 6 replies, has 3 voices, and was last updated by  getawaydigital 4 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #515484

    getawaydigital
    Full Member
    Post count: 211

    I have four custom post types. Each has an add listing form in main menu of site. Logged out or non registered users see a login/register page when they try and access any of these add listing pages. Looking for some help please on how to set things so that after logging in users are redirected to the add listing page they originally selected to visit.

    This happened by default on V1 site and I’m struggling to find out how to do it on V2 upgrade, is it possible?

    Thanks, Andy

    #515491

    Kor
    Moderator
    Post count: 16516

    Hi Andy,

    Thanks for your post. To redirect a user after login, you can use the userswp plugin as explained here https://wpgeodirectory.com/docs-v2/integrations/userswp/#settings . Could you give it a try and see if it’s what you’re looking for?

    #515506

    Alex Rollin
    Moderator
    Post count: 27815
    #515531

    Kor
    Moderator
    Post count: 16516

    Hi Andy,

    We’ve just updated GD and Userswp plugin and if you change the add listing shortcode to show the login/register links shown below, it will open a lightbox. The user will never leave the page and will be on the right page and logged in.

    [gd_add_listing show_login="1"]
    #515747

    getawaydigital
    Full Member
    Post count: 211

    Thanks Kor, I have tried a totally different approach now which I think works for me now. I will look at this update to userswp though. Will this give me a url that I can use in main menu of website?

    #515762

    Alex Rollin
    Moderator
    Post count: 27815

    You can link directly to the add-listing page.

    #515841

    getawaydigital
    Full Member
    Post count: 211

    Ok thanks will try this

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket