link to an example on your site please
I need a Register button besides the Login button because the default bbpress settings only show the Login button. How can I add a Register button maam?
if you give me a link to where this is happening I may be able to help.
themes and plugins and settings all make sites unique, so I need to see your site.
So you’re saying that bbpress is supposed to display a Register button besides the Login button but possibly my Theme or Plugin is hiding it?
no- I’m saying I need to see your site.
if that is a problem, then so be it.
I just help out here.
Why do you want to see my site? I am only asking how to add a Register button besides the Login button. What’s your reasoning?
sorry not here for a debate.
I hope you get fixed.
To help you visualize what I want, here’s a little screenshot I prepared especially for you.
https://ibb.co/wLS51Rg
Wow, are you really a moderator here?
There’s nothing wrong with me. I just asked you what you need my site for and you don’t like to answer it. There’s nothing wrong with me so I don’t need to get fixed.
You are rude. I’m only asking a simple question and you say that there’s something wrong with me??
I am so amazed that nobody answered you. What you were asking was very clear and i’m looking for the same thing. When you fall on the bbPress front page, if someone is not registered on your website they should be able to click on a “register” button just next to the “login” button like you can find on most websites ? How comes it’s not already there from scratch ? Still nobody for helping the others that will fall on this topic ?
Thanks !
And then I stumbled on to the same problem. I came up with the following solution.
Create a page and add the shortcode [bbp-register] to display the register screen.
Then add the following code to your functions.php
function add_bbp_register_button() {
?>
<script type="text/javascript">
jQuery('.bbp-submit-wrapper').append( '<button onclick="location.href=\'http://LINK-TO-REGISTER-PAGE\'" type="button">Register</button>' );
</script>
<?php
}
add_action('wp_footer', 'add_bbp_register_button');
cheers
Oh wait wrong code and not able to edit original post… here is the good one
jQuery("form.bbp-login-form").find(".bbp-submit-wrapper").append( '<button class="button" onclick="location.href=\'http://LINK-TO-REGISTER-PAGE\'" type="button">Registreer</button>' );