What did you expect to happen?
By having @id: #publisher in your JSON+LD structure, I can include my own reference to that @id: and add additional information about the organization that your script does not include. See https://gist.github.com/inetbiz/2f57d5e75234f5f0b47a494dd69cc838 for my custom gist. It has all the information I wanted that I could not do because the id ref was not there.
What happened instead?
It creates duplicate organization markup
How can we reproduce this behavior?
Create your own JSON+LD in the head
Can you provide a link to a page which shows this issue? No because I disabled the functions in your script and produce my own JSON+LD
Technical info
- WordPress version:
- Yoast SEO version:
What did you expect to happen?
By having
@id: #publisherin your JSON+LD structure, I can include my own reference to that@id:and add additional information about the organization that your script does not include. See https://gist.github.com/inetbiz/2f57d5e75234f5f0b47a494dd69cc838 for my custom gist. It has all the information I wanted that I could not do because the id ref was not there.What happened instead?
It creates duplicate organization markup
How can we reproduce this behavior?
Create your own JSON+LD in the head
Can you provide a link to a page which shows this issue? No because I disabled the functions in your script and produce my own JSON+LD
Technical info