Skip to:
Content
Pages
Categories
Search
Top
Bottom

css for removing website field for guest users


  • 9march
    Participant

    @9march

    Hi

    Can anyone please help with with the right css code to use to hide the ‘website’ field for guest users who want to reply.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)

  • Robin W
    Moderator

    @robin-w

    not with css I’m afraid.

    you will need to know how to transfer files to/from your site using ftp. If so then

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

    transfer this to your pc and edit

    remove lines 32-35 ie

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

    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


    9march
    Participant

    @9march

    Hi robin

    Thank you so very much. It worked like the prayer of the righteous. Thanks a lot again.

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