Hello,
Thanks for contacting us and sorry for the inconvenience caused.
Please add the following filter to your site:
/**
* Filter to enable Rank Math SEO on Elementor templates
*/
add_filter( 'rank_math/excluded_post_types',function( $post_types) {
$post_types['elementor_library'] = 'elementor_library';
return $post_types;
}, 11 );
Once done, navigate to WP Dashboard > Rank Math > Titles & Meta and you will see a new post type named My Templates. Enable the Add SEO Controls option for it to add the SEO tab in templates.
You can use one of the methods mentioned in this guide to add the filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how that goes. Looking forward to helping you.
Hi Jaideep!
Thanks for the quick reply.
I tried 2 of those methods, and followed all the steps, but it didn’t work.
I reseted the Rank Math options in the Titles & Meta section and it worked.
I probably clicked on something that prevented the snippet to work.
Hello,
We are super happy that you are able to sort this out.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.