• Resolved eufernando

    (@eufernando)


    I would like to know how I can get the description of a post type.
    When going through Titles and Meta > Post title > choose the type I want, the option to change the Single post Description appears, which comes by default %seo_description%.
    When erased and saved it returns to the same value. I would like this type of post not to show any description, only the title, for me it would be useful for sharing on social media.

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @eufernando,

    Thank you for contacting the support and sorry for not following up quickly and any inconvenience that might have been caused due to that.

    We add default descriptions on all the pages. The only way you can remove it from a specific page is by using the following filter:
    https://rankmath.com/kb/filters-hooks-api-developer/#change-meta-description

    Example:
    `add_filter( ‘rank_math/frontend/description’, function( $description ) {
    // Add condition here to remove the description froms speicific page.
    return false;
    });

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Descripton remove’ is closed to new replies.