# bbpress/2.2.1/templates/default/extras/page-user-login.php

bbPress, version 2.2.1. 44 lines.

- Page: https://pluginprobe.com/plugins/bbpress/2.2.1/code/templates/default/extras/page-user-login.php
- Raw: https://pluginprobe.com/plugins/bbpress/2.2.1/raw/templates/default/extras/page-user-login.php
- Modified: 2012-11-15T08:41:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bbpress/2.2.1/code/templates/default/extras/page-user-login.php#L10-L20`.

```php
<?php

/**
 * Template Name: bbPress - User Login
 *
 * @package bbPress
 * @subpackage Theme
 */

// No logged in users
bbp_logged_in_redirect();

// Begin Template
get_header(); ?>

	<?php do_action( 'bbp_before_main_content' ); ?>

	<?php do_action( 'bbp_template_notices' ); ?>

	<?php while ( have_posts() ) : the_post(); ?>

		<div id="bbp-login" class="bbp-login">
			<h1 class="entry-title"><?php the_title(); ?></h1>
			<div class="entry-content">

				<?php the_content(); ?>

				<div id="bbpress-forums">

					<?php bbp_breadcrumb(); ?>

					<?php bbp_get_template_part( 'form', 'user-login' ); ?>

				</div>
			</div>
		</div><!-- #bbp-login -->

	<?php endwhile; ?>

	<?php do_action( 'bbp_after_main_content' ); ?>

<?php get_sidebar(); ?>
<?php get_footer(); ?>

```
