I try to add information from a custom field into the metadata in the source code. While searching for the solutions I found some. As I am not really an expert I ask you guys. I want to add information for a Digital Object Identifier (DOI) from a custom field to the source code so that the Search Engine of Altmetrics can find it. Necessary meta tags are:
- Identifier (e.g. citation_doi)
- Title (e.g. citation_title)
- Author (e.g. citation_author)
- ISSN - if applicable (e.g. citation_issn)
Finally, it should look like this in the Page Source:
<meta name="citation_title" content="A qualitative study" />
<meta name="citation_journal_title" content="Accountability in Research" />
<meta name="citation_author" content="David Shaw" />
<meta name="citation_doi" scheme="doi" content="10.1080/08989621.2017.1413940" />
<meta name="citation_source" content="https://doi.org/10.1080/08989621.2017.1413940" />
Some more comments: the DOI is unique for every blogpost. If you want to see the page look here: https://elephantinthelab.org/ I could really need help, especially in which .php-File I should put the information. I am also happy if you know a plugin which does the job. All SEO plugins I tried are not flexible enough. Thank you, much appreciated!