Skip to content

Source List

Academic source citations displayed at the bottom of articles and research summaries. Data comes from an ACF repeater field with fields for authors, year, article title + URL, and publication title + URL.

Token file: tokens/component/source-list.json

Source list — collapsed (5 of 7 visible)

Sources

  1. Jastreboff PJ, Hazell JWP (2004) Tinnitus Retraining Therapy: Implementing the Neurophysiological Model Cambridge University Press
  2. Langguth B, Kreuzer PM, Kleinjung T, De Ridder D (2013) Tinnitus: causes and clinical management The Lancet Neurology
  3. Cima RFF, Mazurek B, Haider H, et al. (2019) A multidisciplinary European guideline for tinnitus: diagnostics, assessment, and treatment HNO
  4. Fuller T, Cima R, Langguth B, et al. (2020) Cognitive behavioural therapy for tinnitus Cochrane Database of Systematic Reviews
  5. Searchfield GD, Durai M, Linford T (2017) A state-of-the-art review: personalization of tinnitus sound therapy Frontiers in Psychology

Source list — expanded (all 7 visible)

Sources

  1. Jastreboff PJ, Hazell JWP (2004) Tinnitus Retraining Therapy: Implementing the Neurophysiological Model Cambridge University Press
  2. Langguth B, Kreuzer PM, Kleinjung T, De Ridder D (2013) Tinnitus: causes and clinical management The Lancet Neurology
  3. Cima RFF, Mazurek B, Haider H, et al. (2019) A multidisciplinary European guideline for tinnitus: diagnostics, assessment, and treatment HNO
  4. Fuller T, Cima R, Langguth B, et al. (2020) Cognitive behavioural therapy for tinnitus Cochrane Database of Systematic Reviews
  5. Searchfield GD, Durai M, Linford T (2017) A state-of-the-art review: personalization of tinnitus sound therapy Frontiers in Psychology
  6. Baguley D, McFerran D, Hall D (2013) Tinnitus The Lancet
  7. Hoare DJ, Searchfield GD, El Refaie A, Henry JA (2014) Sound therapy for tinnitus management: practicable options Journal of the American Academy of Audiology

Each source displays as:

Authors (Year)
Article Title ← linked, sienna action color
Publication Title ← italic, muted

Items are separated by 1px pale-wheat horizontal dividers.

The first 5 items are always visible. Items 6+ are hidden by default with a text-only toggle button (“Show all N sources” / “Show fewer sources”). The toggle uses aria-expanded for accessibility. Collapse/expand requires minimal JS in the WordPress theme.

TokenValuePurpose
--component-source-list-heading-font-size15pxSection heading
--component-source-list-item-border-colorborder.subtle → #F9DFAEDivider between items
--component-source-list-authors-colortext.secondary → #7A6560Author names
--component-source-list-title-coloraction.primary → #A55838Linked article title
--component-source-list-publication-colortext.muted → #B09A90Publication name
--component-source-list-toggle-coloraction.primary → #A55838Toggle button
<section class="nl-source-list" aria-label="Sources">
<h4 class="nl-source-list__heading">Sources</h4>
<ol class="nl-source-list__items">
<li class="nl-source-list__item">
<span class="nl-source-list__authors">Jastreboff PJ, Hazell JWP</span>
<span class="nl-source-list__year">(2004)</span>
<a class="nl-source-list__title" href="...">Tinnitus Retraining Therapy</a>
<span class="nl-source-list__publication">Cambridge University Press</span>
</li>
</ol>
<button class="nl-source-list__toggle" type="button" aria-expanded="false">
Show all 7 sources
</button>
</section>

The source list is powered by an ACF repeater field on articles and research summaries:

Sub-fieldTypeMaps to
AuthorsText.nl-source-list__authors
YearText.nl-source-list__year
Article titleText.nl-source-list__title (text content)
Article URLURL.nl-source-list__title (href)
Publication titleText.nl-source-list__publication (text content)
Publication URLURL.nl-source-list__publication a (href, optional)