Support » Plugin: Yoast SEO » Remove Person graph from JSON-LD

  • Resolved Arijit Biswas

    (@dibbyo456)


    I’m trying to remove the "@type": "Person" from graph everywhere.

    I’ve used the filter specified in Schema API.

    add_filter( 'wpseo_schema_needs_person', '__return_false' );

    But it’s still outputting the Person pieces.

    Possible bug?

    • This topic was modified 1 month, 3 weeks ago by  Arijit Biswas.
    • This topic was modified 1 month, 3 weeks ago by  Arijit Biswas.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Can you please share the exact code that you have added on your site so that we can take a look at it?

    In addition, can you please confirm where did you add the relevant code? Do you have some example URLs for us that we can take a look at?

    I have added this codes in function.php

    add_filter( 'wpseo_schema_needs_person', '__return_false' );

    Plugin Support Pcosta88

    (@pcosta88)

    Hi,

    This is an issue. Thank you for bringing this issue to our attention. We apologize for the trouble you are experiencing with our plugin. An issue report is currently open with our development team for this issue. At this time no known workarounds exist for the issue.

    While we do not have an ETA for when the issue will be resolved we suggest signing up for the newsletter which contains plugin announcements and updates: https://yoast.com/newsletter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.