Hello,
We apologize for the issue you are facing with the Elementor Editor not loading due to Rank Math. To resolve this, you can enable Rank Math’s integration on Elementor template pages by adding a specific filter to your theme’s rank-math.php
file. Here’s how you can do it:
Steps to Enable Rank Math on Elementor Templates
-
Add the Filter: You need to add the following code snippet to your theme’s rank-math.php
file:
/**
* 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 );
-
Create or Edit rank-math.php
: If you haven’t already created a rank-math.php
file in your theme’s directory, you can create one in the path wp-content/themes/theme-name/rank-math.php
, where theme-name
is the name of your active theme.
-
Use a Child Theme: It’s recommended to use a child theme for these modifications to prevent any issues with your main theme. You can create a child theme using the Child Theme Configurator.
-
Update the File: After adding the code, make sure to update the file.
Screenshots for Guidance
After following these steps, check if the Elementor Editor loads properly. If you continue to experience issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern, and we hope this helps you get back to using Rank Math smoothly!
Sources:
Enable Rank Math SEO on Elementor Templates » Rank Math
Hello,
Can you please do it from your side if I provide you with a temporary login to my WordPress dashboard? It will be beneficial.
Is anyone there who can help me with the issue?
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please make sure you’re using the latest version of the Rank Math plugin on your website: https://rankmath.com/changelog/
If you’re not able to see the update, please clear Rank Math’s transients from WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients: https://rankmath.com/kb/rank-math-status-and-tools/#rank-math-transients
Let us know how it goes. Looking forward to helping you.
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.