Is there any way I can leave the meta description blank in rankmath?

#97804
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for getting in touch with us.

    If you don’t fill the SEO description field in Rank math, an excerpt of your page content is automatically used. If you don’t wish to have Rank math description added to your pages, add the following filter to your theme functions.php:

    
    /**
     * 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;
    });
    

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Is there any way I can leave the meta description blank in rankmath?’ is closed to new replies.