Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #505656

    Hi,

    First of all, thanks again for an amazing theme and even better support. You guy really do an outstanding job!

    I was wondering if you could help me with something, or at least point me in the right direction. I am building a website using Enfold, that will act as the frontend (not logged in) site available to the public. Once our customers log in from the WordPress site, they will be directed to our External/non-wordpress site, that is only available to logged in clients. What I want to achieve is this:

    1. Add Login and Register buttons to the top menu next to the Social Icons on the top right corner
    2. Once the client clicks on Login, a lightbox opens displaying a login form. Once they fill in their username/email and password, and successfully log in, they will be taken to our external, non-Wordpress site (that has a different URL)
    3. Once they click on Register, they qwill be redirected to our registration page (non-Wordpress site that has a different URL)
    (lets say the login link is secure.myexclusivesite.com/login and registration would be secure.myexclusivesite.com/register)

    My question is, how do I achieve the first 2 things? First, how do i add the links to the top menu, and how do I create this lightbox, popup form? I’ve searched for plugins, but they all seem to focus on creating a login form for loging into WordPress sites, not from a WordPress site to an external one.

    Any help on this would be amazing, as I seem to have hit a wall with this one

    Thanks a lot in advance

    Lily

    #505829

    Hey Viuliloush!

    Thank you for using Enfold.

    1.) You can modify the includes > helper-main-menu.php file to add new elements in the top header or use the “avia_meta_header” filter in the functions.php file. Example:

    // add something
    add_action('avia_meta_header', function() {
    	echo 'SOMETHING HERE';	
    });

    2.) Follow the instructions here: https://kriesi.at/support/topic/inline-content-in-magnific-popup/#post-289356
    https://kriesi.at/support/topic/open-form-in-a-lightbox-popup/#post-378103

    3.) This is something you need to consult with a freelance developer. You can contact codeable: http://kriesi.at/contact/customization

    Cheers!
    Ismael

    #508331

    Hi Ismael,

    Thanks a lot for your help.

    I’m sorry if I sound ignorant, but I’m completely clueless when it comes to PHP. What would I have to add to that piece of code you sent me in order to add a login and register button to the top header?

    Regarding 2 and 3, thanks! I will create the form, as the registration page has been created already.

    Thanks a lot for your help

    Lily

    #508787

    Hey!

    There are available plugins specifically for this purpose so you won’t have to create it manually. For example, you can try this: https://wordpress.org/plugins/ciusan-register-login/

    You can then use the plugin’s shortcode in the functions.php file:

    // add something
    add_action('avia_meta_header', function() {
    	echo do_shortcode("[ciusan_register]");	
    });

    Cheers!
    Ismael

    #515750

    Hi,

    what does “// add something” mean in the code sent?

    #515761

    Hi!

    It is just a comment about your code, for future reference.

    Best regards,
    Yigit

    #531463

    Thanks :)

    #531763

    Hey!

    Let us know if yo need anything else. :)

    Regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Login and Register’ is closed to new replies.