BBP_Default::before_main_content()

Inserts HTML at the top of the main content area to be compatible with the Twenty Twelve theme.

Description

Source

File: bp-forums/templates/default/bbpress-functions.php

	public function before_main_content() {
	?>

		<div id="bbp-container">
			<div id="bbp-content" role="main">

	<?php
	}

Changelog

Changelog
Version Description
bbPress (r3732) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.