Clear title and description

#476348
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    If you wanted to remove the title and description tags added by Rank Math, please try to use and customize this filter:

    
    add_action( 'init', function() {
            remove_action( 'rank_math/head', '_wp_render_title_tag', 1 );
            //uncomment to add default title tag
    	//add_action( 'wp_head', '_wp_render_title_tag', 1 );
    	
    });
    add_filter( 'rank_math/frontend/description','__return_false');
    add_filter( 'rank_math/frontend/title','__return_false');

    You can add conditional statements for the filter to work on specific pages/post types only.

    Let us know how this goes.

    Thank you.

    No, I want to remove the meta tags that are registered manually so that they are replaced with templates registered in your plugin

    Hello,

    Can you please confirm if you wish to forcibly use the global/default meta that you set in the “Titles & Meta” settings instead of the meta you set in individual pages?

    Looking forward to helping you with this one.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Clear title and description’ is closed to new replies.