Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.77k stars 892 forks source link

BuddyPress User Page fails to include Open-Graph Title Tags #6395

Open Pcosta88 opened 7 years ago

Pcosta88 commented 7 years ago

What did you expect to happen?

Open Graph Title Tags to be inserted into the source code

What happened instead?

They were not

How can we reproduce this behavior?

1.Install BuddyPress

2.Add a User

3.Insert GitHub Code below into the functions.php to make the page title appear

if ( ! function_exists( 'myarcadetheme_remove_bp_wpseo_title' ) && function_exists( 'wpseo_auto_load' ) ) { function myarcadetheme_remove_bp_wpseo_title() { if ( ! bp_is_blog_page() ) { $myarcadetheme_front_end = WPSEO_Frontend::get_instance(); remove_filter( 'pre_get_document_title', array( $myarcadetheme_front_end, 'title' ), 15 ); } } add_action( 'init', 'myarcadetheme_remove_bp_wpseo_title' ); }

4.See that neither the code provided nor the Yoast plugin outputs the Open-Graph Title Tags

screen_shot_2017-01-09_at_10_08_10_am

Can you provide a link to a page which shows this issue?

Technical info

Pcosta88 commented 7 years ago

related: https://github.com/Yoast/wordpress-seo/issues/1971

Pcosta88 commented 6 years ago

Issue still happens with v7.7.1 of Yoast and WP 4.9.6 and BuddyPress 3.1.0

FrontEnd

screen_shot_2018-06-28_at_7_08_34_am

Backend

screen_shot_2018-06-28_at_7_08_23_am

rmarcano commented 5 years ago

The OpenGraph tags for Title, Description, and URL are also missing. This also occurs on other pages like sub-forum and group index pages.

mmikhan commented 2 years ago

Opened internally: https://yoast.atlassian.net/browse/PRODUCT-187