SocialMark plugin problem with RankMath

#366054
  • Resolved Shota
    Rank Math free

    I am using SocialMark – Easy Watermark/Logo on Social Media Post Link Share Preview plugin and when I updated my all plugins RankMath too, SocialMark plugin don’t work. After disable RankMath plugin everything work correctly. Please help me.
    Before I maked update everything work correctly, that two plugins RankMath and SocialMark don’t have any conflicts.

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

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

    Can you please share your recent error logs so we can determine what’s causing the conflict?

    You can follow this guide to enable debugging in WordPress
    https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, they will help you locate the log file.

    Looking forward to helping you.

    Shota
    Rank Math free

    Thank you for attention, I checked debug logs, but nothing see about plugins.
    I send to you video where I showing what problem I have.
    https://we.tl/t-Ts03DQtOwS

    Hello,

    Thank you for that video.

    I’ve checked your site, and it seems that the plugin is already generating the OpenGraph meta tags for sharing your URLs on social media sites. Since Rank Math also generates those tags, it is causing a conflict on which data should be displayed.

    However, for it to work alongside Rank Math, you may need to disable the Rank Math OpenGraph meta tags on your site by using this filter:

    /**
     * Hook to remove og:tags
     */
    add_action( 'rank_math/head', function() {
    	remove_all_actions( 'rank_math/opengraph/facebook' );
    	remove_all_actions( 'rank_math/opengraph/twitter' );
    });

    The filter should be added to your active theme’s functions.php file. Here’s another way to apply the filter using the rankmath.php file:
    https://rankmath.com/kb/filters-hooks-api-developer/#adding-filters-and-hooks-in-rank-math-php

    I hope that helps.

    Thank you.

    Shota
    Rank Math free

    Hello,

    Thank you for information, I am adding

    /**
      * Hook to remove og:tags
      */
    add_action( 'rank_math/head', function() {
    remove_all_actions( 'rank_math/opengraph/facebook' );
    remove_all_actions( 'rank_math/opengraph/twitter' );
    });

    in code in my function.php, but still the problem is not fixed, then I created in active theme folder new file rank-math.php and added hook to remove og:tags but problem is not fixed.
    Maybe we find another way for resolve my problem?

    Shota
    Rank Math free

    I do not have replays from you. Please replay

    Hello,

    Thank you for your patience.

    I’ve checked your site, but it seems that Rank Math is not activated at the moment. However, the correct OpenGraph image is already being used with the watermark you have set from the Socialmark plugin.

    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.

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

The ticket ‘SocialMark plugin problem with RankMath’ is closed to new replies.