WordPress.org

Ready to get started?Download WordPress

Forums

signup and two different logins (2 posts)

  1. vny009
    Member
    Posted 1 year ago #

    Hello,

    I am a web developer and I am new to wp. I want to create a signup form and two different login for different roles that will redirect to different pages. I can do this without wordpress but how to do this in wordpress. I am not sure how to use sessions in wordpress plugins. If this is not possible with wordpress, can i copy and paste normal php codes into wordpress site?

    If anybody can reply, please answer.

    Thanks in advance.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    can i copy and paste normal php codes into wordpress site?

    No - although you can use PHP in a theme's template files. You'd effectively need to create your own custom login plugin. Try starting with Writing_a_Plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic