Hello,
We apologize for the issue you are facing with removing the SEO columns in the admin list. Thank you for raising this concern.
The code snippet you provided is almost correct, but it seems like you might need to ensure that the filter for custom post types is correctly specified. Here’s an updated version of your code that should work:
// Function to remove SEO title and description columns
function remove_rank_math_seo_columns($columns) {
unset($columns['rank_math_title']); // Remove SEO Title column
unset($columns['rank_math_description']); // Remove SEO Description column
return $columns;
}
add_filter('manage_posts_columns', 'remove_rank_math_seo_columns');
add_filter('manage_pages_columns', 'remove_rank_math_seo_columns');
add_filter('manage_your_custom_post_type_columns', 'remove_rank_math_seo_columns'); // Replace 'your_custom_post_type' with your actual custom post type
Make sure to replace 'your_custom_post_type'
with the actual name of your custom post type. If you have multiple custom post types, you can add additional filters for each one.
If this still does not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for your patience!
Sources:
How to Disable All Rank Math Generated SEO Tags » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.
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.