Snippets don’t work!

#610421
  • Resolved Maksim
    Rank Math free

    Help me please! I don’t speak English.
    Snippets don’t work! They just don’t save. There is a heading: soccer. I went to the heading, rank math section, entered all the snippet data and the new name, but I didn’t change the heading name on the site. I saved it. I went to the rubric editor and everything reset. Doesn’t it work like that?
    https://ibb.co/3kDMn6T

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

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    For initial troubleshooting, please check if you are using a Firewall as it may prevent saving the changes. If you are using a Firewall, please whitelist this route:

    /wp-json/rankmath/v1/updateMeta
    

    You can also share your website URL with us so that we can check it as well.

    For more information on this issue, you can follow this guideline: https://rankmath.com/kb/meta-data-not-saving/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Maksim
    Rank Math free

    Off to study your recommendations. My site is still in demo mode https://wp.exbets.ru

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Thank you.

    Maksim
    Rank Math free

    Followed the steps in your instructions, tested through the site health plugin. After activating the plugins everything worked fine, the problem of updating information appeared after activating the theme. How to solve this problem?

    Hello,

    Thank you for the update.

    If the theme that you’re using prevents the data from getting saved on your site, then we recommend contacting them for further investigation.

    It is also possible that they have already encountered this issue and have a fix available to apply on your site.

    Let us know how this goes.

    Thank you.

    Maksim
    Rank Math free

    Turns out the problem is in this code I’m plugging into the theme, how do I find out which of these is interfering?
    I connect this code to the functions.php file:
    My code

    Hello,

    From the code you shared in your functions.php file, it seems that you have disabled the WordPress REST API:

    add_filter('rest_enabled', '__return_false');

    The WordPress Rest API should not be disabled. Since we rely on that for our functions, the REST API should be working to function everything properly.

    To resolve this issue, kindly try enabling it back to see if that works for you.

    Let us know how it goes.

    Thank you.

    Maksim
    Rank Math free

    I commented out the code, it really doesn’t work without rest API, but something else is interfering from the first block. I don’t know what it is.

    remove_action(‘wp_head’,’wp_generator’);
    remove_action(‘wp_head’,’wlwmanifest_link’);
    remove_action(‘wp_head’,’wp_resource_hints’, 2);
    remove_action(‘wp_head’,’wlwmanifest_link’);
    remove_action(‘wp_head’,’rsd_link’);
    remove_action(‘wp_head’,’rel_canonical’);
    remove_action(‘wp_head’,’wp_site_icon’);
    remove_action(‘wp_head’,’wp_oembed_add_discovery_links’ );
    remove_action(‘wp_head’,’wp_oembed_add_host_js’ );
    remove_action(‘wp_head’,’feed_links_extra’, 3 );
    remove_action(‘wp_head’,’feed_links’, 2 );
    remove_action(‘wp_head’,’print_emoji_detection_script’, 7 );
    remove_action(‘wp_head’,’rest_output_link_wp_head’ );
    remove_action(‘wp_head’,’noindex’, 1 );
    remove_action(‘wp_head’,’wp_shortlink_wp_head’, 10, 0);
    remove_action(‘wp_head’,’adjacent_posts_rel_link_wp_head’, 10, 0 );

    Hello,

    You are also removing some actions which handle the Rest API initialization like the line below:

    
    remove_action( 'init', 'rest_api_init' );

    I would suggest removing any lines mentioning the WordPress API that may cause conflicts with our plugin.

    You can contact your theme author to take a closer look at your functions.php file or if your functions.php is custom made, you need to contact the developer responsible for this customization.

    Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.

    Maksim
    Rank Math free

    Problem solved! Now there’s another one. How to design breadcrumbs according to bootstrap 3? You must have an option to change the design.

    Hello,

    We’re glad that the saving issue is already resolved.

    Unfortunately, we don’t have dedicated styling control for the breadcrumbs.

    However, you can use CSS to adjust its style using this code .rank-math-breadcrumb{} to target the breadcrumbs on your site.

    Here’s a sample CSS to adjust its appearance:

      .rank-math-breadcrumb {
        font-size: 50px;
        padding-left: 110px;
        background-color: beige;
        color: #5a03fc;
        padding-top: 25px;
    }

    And here’s a tutorial on how to use custom CSS on your site:
    https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/

    Hope that helps.

    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 11 replies - 1 through 11 (of 11 total)

The ticket ‘Snippets don’t work!’ is closed to new replies.