admin管理员组文章数量:1326317
I'm trying to achieve having a completely custom WordPress login page, using a project from codepen. It's just html and css at the moment with input fields that don't really do anything, is there a way to turn it into a functional login system that isn't overly complicated?
I'm trying to achieve having a completely custom WordPress login page, using a project from codepen. It's just html and css at the moment with input fields that don't really do anything, is there a way to turn it into a functional login system that isn't overly complicated?
Share Improve this question asked Aug 7, 2020 at 23:39 Aspire EnvorAspire Envor 1 1- Did you read everything here? codex.wordpress/Customizing_the_Login_Form . – mozboz Commented Aug 10, 2020 at 13:56
1 Answer
Reset to default 0If you're happy to do a bit of coding, then start by creating a new page template for your login page, name a file something like page-login.php
in your themes root and make that page markup how you want it.
Once you have the mark-up in place, add in the following tag, which will pull in the WP login form onto the page for you.
<?php wp_login_form(); ?>
<a href="<?php echo wp_lostpassword_url(); ?>" class="btn secondary">Forgotten Password?</a>
If it's the markup of the form itself that you want to change, I don't believe you can. But, doing the above will give you the facility to add custom styling, CSS, JS, to the page if required.
本文标签: cssWordpress login using a completely custom page and no plugins
版权声明:本文标题:css - Wordpress login using a completely custom page and no plugins? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742203570a2432402.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论