Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove default bbPress login?

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

  • Robin W
    Moderator

    @robin-w

    if you are using a child theme, I’ll let you know how to do this


    adalela
    Participant

    @adalela

    I’m using a paid wordpress theme. I can modify code if that is needed. I haven’t changed any bbPress theme thus far. Thanks for your help.


    Robin W
    Moderator

    @robin-w

    ok, you would be better to have a child theme to your paid theme, so maybe consider that going forward

    Functions files and child themes – explained !

    but what you will need to do is

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

    transfer this to your pc and edit it to remove everything EXCEPT

    <?php

    /**
     * User Login Form
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Exit if accessed directly
    defined( 'ABSPATH' ) || exit;
    
    ?>

    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-user-login.php

    bbPress will now use this template instead of the original, and not show the login

    If you do this in your paid theme, you will need to repeat it on every theme upgrade as that will wipe your changes out, but as long as you know that, you can place the file in your paid theme, just remember what you did ! a child theme maintains these changes.


    adalela
    Participant

    @adalela

    Thank you Robin, that worked! Appreciate your help. I also learned a thing or two about customizing themes.


    Robin W
    Moderator

    @robin-w

    great – glad you are fixed


    habilpekdemir
    Participant

    @habilpekdemir

    thank u that worked for my website .


    Robin W
    Moderator

    @robin-w

    great – glad you are fixed

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