meta description, and schema description is not same…

#15117
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    This is expected behavior, the meta description will only be used on the meta and not the blog posting schema. You will need to copy over the custom description data to the rich snippet tab to fix this.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    its not blogposting schema, and its normal to have same description.

    Yoast SEO does the same with your meta… give us an option to do that…

    Hello,

    Thank you for contacting Rank Math today.

    You can fix this by adding the following code to your theme’s functions.php file:

    /**
     * Filter to add meta description on the Article rich snippet desc
     * Replace $schmea_type with schema name like article, review, etc.
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
    	global $post;
    	$meta_description = get_post_meta($post->ID,'rank_math_description',true);
    	if($meta_description){
    		$entity['description'] = $meta_description;
    		return $entity;
    	}
        return $entity;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thank you so much, it fixed our problem.

    for the next update it needs to be included as an option 🙂

    and next, please add howto and faq snippet type on classic and gutenberg editor.

    Hello,

    We are super happy that this resolved your issue. I will pass your suggestions to our dev team 🙂

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?rate=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘meta description, and schema description is not same…’ is closed to new replies.