• Resolved neverdowork

    (@neverdowork)


    Dear community,
    I would like to change the content in the Login-Form:

    I did not find an option for that in the settings.

    Thanks in advance and kind regards,

    neverdowork

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xootix

    (@xootix)

    Hello,

    Goes in your functions.php

    add_filter( 'xoo_el_login_fields', function( $fields ){
                //Label
                $fields[ 'xoo-el-username' ]['label'] = 'Username/Email';
                $fields[ 'xoo-el-password' ]['label'] = 'Password';
     
     
    $fields[ 'xoo-el-username' ]['placeholder'] = 'Username/Email';
                $fields[ 'xoo-el-password' ]['placeholder'] = 'Password';
     
     
                return $fields;
    } );
    
    • This reply was modified 2 years ago by xootix.
    Thread Starter neverdowork

    (@neverdowork)

    Dear support,

    this snippet causes a critical error:
    <br>The code snippet you are trying to save produced a fatal error on line 11:<strong>syntax error, unexpected 'return' (T_RETURN)</strong><br>

    Could you have a look at it again?

    Best,

    neverdowork

    Plugin Author xootix

    (@xootix)

    Hello,

    The code is tested and works fine.
    Please make sure you’re copying it properly.

    Thread Starter neverdowork

    (@neverdowork)

    My bad, really made a mistake in the snippet!

    Thanks for the quick and competent support, as always!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login Form Content’ is closed to new replies.