Results not showing _yoast_wpseo_title | WordPress.org

[ad_1]

Hi, I have this function in my functions file –

add_filter( ‘relevanssi_post_title_before_tokenize’, ‘rlv_use_yoast_title’, 10, 2 ); function rlv_use_yoast_title( $title, $post ) { return get_post_meta( $post->ID, ‘_yoast_wpseo_title’, true ); }

I also checked the DB to make sure the title was being saved correctly to the _yoast_wpseo_title meta field and it is.

The search results are displaying the post title for all my pages, posts and my landing pages which all start with LP and have checked to make sure the Yoast SEO Title has the field filled in with the correct title.

Using WPBackery, the7Theme.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer