Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Using login_form from bbPress on a WordPress site

@mr_pelle

Participant

The simplest and most straight forward solution is to work out what you want to do, and code that directly.

In this case:

<?php
if ( is_user_logged_in() || bb_is_user_logged_in() ) {
// Logged in user
// Hardcode your form here
} else {
// Not logged in
// Hardcode your form here
}
?>

You cannot call bb_is_user_logged_in() without prior inclusion of bb-load.php, though…

Skip to toolbar