Skip to content

Creates non-theme specific citation shortcodes for adhd research micro-site

License

Notifications You must be signed in to change notification settings

Saudi-ADHD-Society/citation-shortcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Citation Shortcode

Creates Wordpress non-theme specific citation shortcodes for adhd research micro-site

[research_citation style="" pubtype="" authors="" year="" title="" volume="" issue="" journal="" shortjournal="" startpage="" endpage="" articlenum="" doi=""]

Microformat

Uses h-cite microformat markup. See: h-cite and: h-card

Styles

Currently just APA 7. See: https://owl.purdue.edu/owl/research_and_citation/apa_style/apa_formatting_and_style_guide/reference_list_basic_rules.html

Note on number of authors in APA 7 formatting:

Give the last name and first/middle initials for all authors of a particular work up to and including 20 authors (this is a new rule, as APA 6 only required the first six authors). Separate each author’s initials from the next author in the list with a comma. Use an ampersand (&) before the last author’s name. If there are 21 or more authors, use an ellipsis (but no ampersand) after the 19th author, and then add the final author’s name.

Usage

e.g. using Formidable Forms as input:

Shortcode

[research_citation style="APA" pubtype="journal" authors="[foreach 104][98] [99] [100],[/foreach]" year="[111]" title="[102]" volume="[112]" issue="[113]" journal="[109]" shortjournal="[110]" startpage="[114]" endpage="[115]" articlenum="" doi="[117]"]

Generated Markup

<blockquote class="cite_apa h-cite">
    <abbr rel="author" class="p-author h-card" title="Yasser Amer">Amer, Y.S.</abbr>,
    <abbr rel="author" class="p-author h-card" title="Haya Al-Joudi">Al-Joudi, H.F.</abbr>,
    <abbr rel="author" class="p-author h-card" title="Jeremy Varnham">Varnham, J.L.</abbr>,
    <abbr rel="author" class="p-author h-card" title="Fahad Bashiri">Bashiri, F.A.</abbr>,
    <abbr rel="author" class="p-author h-card" title="Muddathir Hamad">Hamad, M.H.</abbr>,
    <abbr rel="author" class="p-author h-card" title="Saleh Al-Salehi">Al-Salehi, S.M.</abbr>
    <abbr rel="author" class="p-author h-card" title="Hadeel Daghash">Daghash, H.F.</abbr>,
    &amp; <abbr rel="author" class="p-author h-card" title="Turki Albatti">Albatti, T.H.</abbr>
    (<time class="dt-published">2019</time>).
    <cite class="p-name noitalics">Appraisal of clinical practice guidelines for the management of attention deficit hyperactivity disorder (ADHD) using the AGREE II Instrument: A systematic review</cite>.
    <i><abbr title="PLoS ONE">PLoS ONE</abbr></i>, 14(7),
    doi: <a class="u-uid" href="https://doi.org/10.1371/journal.pone.0219239" target="_blank">10.1371/journal.pone.0219239</a>
</blockquote>

Generated Output

Amer, Y.S., Al-Joudi, H.F., Varnham, J.L., Bashiri, F.A., Hamad, M.H., Al-Salehi, S.M., Daghash, H.F., & Albatti, T.H. (2019). Appraisal of clinical practice guidelines for the management of attention deficit hyperactivity disorder (ADHD) using the AGREE II Instrument: A systematic review. PLoS ONE, 14(7), doi: 10.1371/journal.pone.0219239

Live Example

See: https://res.adhd.org.sa/en/lib/study/e93ob/

About

Creates non-theme specific citation shortcodes for adhd research micro-site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages