Hello,
Thank you for contacting Rank Math today.
If you had already entered a manual meta description and would like this to generated from the post then you will need head over to the Rank Math metabox on each post and enter the %excerpt% replacement variable as shown below:
Looking forward to helping you. Thank you.
I dont want exerpt to be generated. I want it to be blank. metadescription=””.
Or no meta description tag at all
I cannot remove it in meta description box in each article, as that data is used for social meta desc and thats needed.
I just need meta desc tag to disappear from front end.
Hi there,
Thanks for the additional info.
Please note that Google will auto generate the description from the post excerpt when it does not exist. To be able to remove all the Rank Math description from the head of your pages, you can add this code on your theme’s functions.php file:
/**
* Allow changing the meta description sentence from within the theme.
*
* @param string $description The description sentence.
*/
add_filter( 'rank_math/frontend/description', function( $description ) {
$description = "";
return $description;
});
I hope this info helps. Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.