Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit New Topic page

  • @kkpb8084

    Participant

    Hello
    I’ve searched online but cannot find the answer. Does anyone know how I can edit the New Topic page of my forum: http://psychiatryadvice.com/new-topic/

    For example, how do I remove the section which requests ‘website’?

    Or do you know which file I need to edit?

    Thanks!

    Wordpress v 4.5.3
    bbpress v 2.5.9-6017

Viewing 2 replies - 1 through 2 (of 2 total)
  • @robin-w

    Moderator

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php
    Make a copy of this file, 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 you can amend this

    so you will need to take out lines 31-34 which say

    <p>
    			<label for="bbp_anonymous_website"><?php _e( 'Website:', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_website" />
    		</p>
    
    

    You should do this in a child theme, but if you do it in your main theme keepo a record as you will need to do this again on any theme update.

    Functions files and child themes – explained !

    @kkpb8084

    Participant

    Thanks Robin W, that’s the file and solution I needed.
    Perfect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar