1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Divi Login Popup Module with included error login message

Discussion in 'Free Divi Community Forum' started by Brian Smith, Jan 13, 2022.

  1. Brian Smith

    Brian Smith New Member

    Hello everyone,

    I want to include the login error message inside the divi login module without to be redirected to the wp-admin page.

    I already created a login popup as explained on your site from here :

    https://www.elegantthemes.com/blog/...-login-form-with-login-logout-buttons-in-divi

    The related video is here :



    I found that my need was possible with Elementor adding some PHP code following this video :



    The related code is here :

    https://wordpressflow.com/elementor...k-to-the-login-page-and-add-a-failed-message/

    There are two sections of code here :

    1) The redirection to the login page (in my case the popup section) when the user enter wrong login and/or password or if the fields are empty.

    2) The display of the login error message inside the popup creating a short code for the login error message.

    I think this is possible to do the same inside the divi login module but I need the right PHP code to be compatible with the divi login popup and also a PHP code to redirect to a specific page after the login if you have ;)

    Thanks you.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade before / after image slider for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly note that this is a third party community forum, which is not affiliated with nor endorsed by Elegant Themes: https://elegantthemes.com/

    Based on the looks of the custom PHP, it should work in Divi as well, as it's just a general Wordpress PHP code.

    But I foresee that the only issue is the popup login, as the code will only redirect back to the same page without triggering the popup. Thus, you will need further custom coding to open the popup on error.
     
  3. Lomomir

    Lomomir New Member

    I use Divi Elegant Themes with Pop ups for Divi and Divi login module.

    When user on my online store use wrong password site is refreshed and pop window was closed. Message about “wrong password” is also missing.

    I think i need stop redirect page and load with opened Pop us and and also with message about wrong credentials.

    Thanks for your reply.

    If any informations is missing please send me a message and i will add.
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More