Hide Author Name & Time to read while sharing the link of pages

#788570
  • Resolved svelter
    Rank Math free

    I’m using Rankmath & want to hide the Author Name & Time to read while sharing the link of pages

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

    Thank you for reaching out to us regarding hiding the Author Name and Time to read while sharing the link of pages. To achieve this with Rank Math, you can follow these steps:

    1. Hide Author Name: To hide the Author Name from being shared when the link is posted, you can customize the Open Graph Meta tags. You need to add a code snippet to your theme’s functions.php file. Here is the code snippet you can use:
    add_filter('rank_math/opengraph/facebook/og_author', function ($author) {
        return '';
    });
    1. Hide Time to Read: To hide the Time to read information, you can also use a code snippet. Add the following code snippet to your theme’s functions.php file:
    add_filter('rank_math/opengraph/facebook/article_read_time', function ($time) {
        return '';
    });

    By adding these code snippets, you can prevent the Author Name and Time to read from being included in the Open Graph Meta tags when sharing links.

    If you need further assistance or have any other questions, feel free to ask.

    Sources:
    How to Prevent Modified Date of Your Blog Posts from Being Updated » Rank Math
    How Does the Author Schema Entity Work? » Rank Math
    How to Hide SEO Score From the Frontend » Rank Math
    Rank Math ‘Titles and Meta’ Options and Settings
    How to Use the Watermark Option for Social Sharing in Rank Math PRO » Rank Math

    Hello,

    Thank you for contacting us and bringing your concern to our attention.

    Please head over to your WordPress Dashboard > Rank Math > Titles & Meta > [Post Types] and from there disable the Slack Enhanced Sharing option and see if that works for you:

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

    Thank you.

    svelter
    Rank Math free

    Great it worked…thanks for the help!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Hide Author Name & Time to read while sharing the link of pages’ is closed to new replies.