Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP Login Widget / Changing URL for wrong logins


  • superbohne
    Participant

    @superbohne

    Hello 🙂

    Perhaps its a simple question, but i´m unable to cope it:

    How to change the URL of wp-login.php (for a custom one) within the class-bp-core-login-widget.php, without touching the file itself.

    I think it is Line 107:

    <?php echo esc_url( site_url( ‘wp-login.php’, ‘login_post’ ) ); ?>

    An idea has been to hide the form by css and hook it with a new id. But when i try this, my site broke down. But, is it the right way to solve it?

    Looking forward for your nice support 🙂

    Thank u!

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

  • shanebp
    Moderator

    @shanebp

    No, you’d need to edit the file itself.

    So you could make that edit – or write your own custom widget, based on that file, and change the value of the action field.


    superbohne
    Participant

    @superbohne

    thank u!

    I think i´ll make the change inside the core… and make a note in my bp-custom for it, to remember for the next update 🙂

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