Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Need Help Please

@robin-w

Moderator

great 🙂

find
wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php

transfer this to your pc and edit

change this from line 27

<p>
			<label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
			<input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
		</p>

to

<input type="hidden" id="bbp_anonymous_email" value="anon@anon.com" name="bbp_anonymous_email" />

and save

create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress

where %your-theme-name% is the name of your theme

Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php

bbPress will now use this template instead of the original, and the email address will then not be asked for.

Skip to toolbar