File: bp-forums/core/theme-compat.php |
Description |
---|---|
bbp_remove_adjacent_posts() |
Remove “prev” and “next” relational links from on bbPress pages. |
BBP_Theme_Compat |
Theme Compatibility base class |
BBP_Theme_Compat::__construct() |
Pass the $properties to the object on creation. |
BBP_Theme_Compat::__set() |
Set a theme’s property. |
BBP_Theme_Compat::__get() |
Get a theme’s property. |
bbp_register_theme_package() |
Register a new Forums theme package to the active theme packages array |
bbp_theme_compat_reset_post() |
This fun little function fills up some WordPress globals with dummy data to stop your average page template from complaining about it missing. |
bbp_template_include_theme_compat() |
Reset main query vars and filter ‘the_content’ to output a Forums template part as needed. |
bbp_template_include_theme_compat |
Bail if the template already matches a Forums template. This includes archive-* and single-* WordPress post_type matches (allowing themes to use the expected format) as well as all Forums-specific template files for users, topics, forums, etc. |
bbp_redirect_canonical() |
Remove the canonical redirect to allow pretty pagination |