title: Wordpress: How to add Attribute to body
body: <p>I want to add <a href="https://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_scrollspy_affix&amp;stacked=h" rel="noreferrer">Scrollspy</a> support to the nav-menu, for that I have to add extra attributes <code>data-spy="scroll" data-target=".navbar"</code> to the <code>body</code> tag.</p>
  
  <p>Can I do that pragmatically without touching theme files?</p>