Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

my readme

=== BBpress Addon For Yoast SEO ===
Contributors: @hgoswami
Tags: bbpress addon, bbpress, bbpress seo, Yoast bbpress, WPSEO bbpress
Donate link: https://ehospital.in/donate/
Requires at least: 4.3
Tested up to: 4.8.2
Requires PHP: 5
License: GPL2
License URI: https://ehosital.in/

This plugin adds necessary code to make Wordpress SEO by Yoast compatible with BBPress.

== Description ==
Yoast SEO BBpress Addon makes Wordpress SEO by Yoast compatible with BBPress by adding simple codes. The plugin requires Wordpress SEO by Yoast to work. When installed successfully, the topics in BBpress displays the correct meta description from Topic Content. This is a simple plugin and do not alter any codes in Wordpress SEO plugin neither in Wordpress. 
The plugin  has originally been coded for  a hospital database site and working live with BBpress as its forum in https://ehospital.in/. 
Any support questions can be asked in the support forums of eHospital. 

== Installation ==
Upload the entire yoast-seo-bbpress-addon folder to the /wp-content/plugins/ directory
DO NOT change the name of the yoast-seo-bbpress-addon folder
Activate the plugin through the ‘Plugins’ menu in WordPress

== Frequently Asked Questions ==
All the support questions shall be answered  in https://ehospital.in/topic/support-for-yoast-seo-bbpress-addon/