Error when building a login form with your code
-
Here is a tutorial in your video How to Create A Custom Login Form In WordPress | Fluent Forms
I inserted the code into my functions.php (as in the video) and got: “Your PHP code changes were rolled back due to an error on line 135 of file wp-content/themes/bricks-child/functions.php. Please fix and try saving again. syntax error, unexpected ‘}’, expecting end of file” – checked a few times – I exactly copied and pasted the code. “Line 135” is last line of copied code, which is: }, 10, 3);
Please see the screenshot.
I’m using the Bricks Builder child theme.
Let me also ask another question here? I’m seeing that those code includes some messages like: ‘message’ => ‘Your are logged in, Please wait while you are redirecting’. I’m going to translate my site with WPML – can these messages included in the code be translated with any translation plugin? Or I will need to use another code here? If yes, I would rather avoid using your plugin. I need a simple solution to build login/registration/profile form for Bricks builder without any code.
- The topic ‘Error when building a login form with your code’ is closed to new replies.