Elementor Editor is not loading because of Rank Math

#950413
  • Resolved Haider Designs
    Rank Math free

    I used the plugin Rank Math but my Elementor Editor is not loading because of it. Can you please provide me with a solution to fix this issue? I’ll be highly obliged and would love to use the Rank Math plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    1. 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 );
    2. 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.

    3. 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.

    4. Update the File: After adding the code, make sure to update the file.

    Screenshots for Guidance

    • Navigate to Theme File Editor:
      Navigate to Theme File Editor

    • Open rank-math.php in WordPress Theme Editor:
      Open rank-math.php in WordPress Theme Editor

    • Add the Code Snippet:
      Add the code snippet to rank-math.php file

    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.

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

The ticket ‘Elementor Editor is not loading because of Rank Math’ is closed to new replies.