• Resolved Generosus

    (@generosus)


    Good Day,

    We need a code snippet that will allow us to disable Rank Math’s live blog feed displayed in our WP Admin dashboard. Code snippet to also include removing the title, “Latest Blog Posts from Rank Math”

    Details: https://prnt.sc/9h94nM2o-ffp

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @generosus,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    At the moment, we don’t have a filter to disable the blog posts in your dashboard widget. As a workaround, you can make use of this code and insert this into your theme’s functions.php file:
    add_action('admin_head', 'hide_rm_blog_urls'); function hide_rm_blog_urls() { echo '<style> .rank-math-blog-title, .rank-math-blog-list{ display: none !important; } </style>'; }

    You may refer to this guide on how to add the code to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    Thread Starter Generosus

    (@generosus)

    Hi @rankmathteam,

    Worked like a charm. Thank you.

    Unfortunately, the RSS feed error reported here still displays as noted here.

    Could there be another parameter that needs to be added to your code snippet to remove the error message as well?

    Thank you.

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @generosus,

    Yes, please try this modified code instead:
    add_action('admin_head', 'hide_rm_blog_urls'); function hide_rm_blog_urls() { echo '<style> .rank-math-blog-title, .rank-math-blog-title + p, .rank-math-blog-list{ display: none !important; } </style>'; }

    Hope that helps. Don’t hesitate to get in touch with us if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Disable Latest Blog Posts from Rank Math | RM Dashboard (Backend)’ is closed to new replies.