Add DataCite DOI metadata to a post and show a recommended citation on the frontend.
Open Academic Identity
- Edit a public post type in the block editor.
- Open the Academic Identity plugin sidebar.
- Paste the raw DataCite JSON payload into the DataCite DOI Schema field.
- Confirm the live citation preview looks correct.
- Update or publish the post.
The plugin stores the raw JSON as datacite_doi post meta and extracts a plain-text citation into datacite_doi_citation.
DOI Citation block
Use DOI Citation (prc-block/doi-citation) in a template or pattern when the page should show the recommended citation.
- The block reads
datacite_doi_citationfor the current post. - On singular
postpages, the plugin strips this block fromcore/post-contentso a template pattern and the post body do not both print the citation. - Prefer placing the block in the template pattern, not in the post body.
What readers see
On singular posts (and related dataset archive contexts), valid DataCite JSON is emitted as Schema.org application/ld+json in wp_head.