MPG Title Issue

#916561
  • Resolved Layla Ong
    Rank Math free

    I have an {{MPG_Area}} page that controls nearly 400 different location pages. The site title does not display when RankMath is active. When I deactivate it, the page title starts working again.

    Title on the Backend Looks Like ” {{MPG-Area}} Partition Lawyer
    What Displays is ” – Talkov Law”
    There is no title at all or it glosses over it.

    I went to the Single Post Title settings and have tried everything. It is currently at %title% %page% %sep% %sitename%

    I need to disable the Title feature while keeping everything else on Rankmath OR I need the MPG to display properly as the title

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

    Thank you for your query and we are so sorry about the trouble this must have caused.

    In this case, we can forcibly remove the title generated by Rank Math for that certain post type.

    add_filter( 'rank_math/frontend/title', function( $title ) {
    	if (get_post_type() === 'YOUR_POST_TYPE'){
    		return false;
    	}
    	return $title;
    });

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Don’t hesitate to get in touch with us if you have any other questions.

    Layla Ong
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    You seemed to have marked this ticket as resolved.

    We’re just following up to see if you have any other concerns that we can assist you with. If your issue has been resolved, please let us know so we can mark this ticket as closed.

    Thank you for choosing Rank Math.

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

You must be logged in to reply to this ticket.