I know there is a body_class function for WordPress. But is there one (or a way) to add a class to the HTML element? My goal is to be able to add a unique class (or ID) to a page’s HTML element.
Quelle: functions – Add a unique class to HTML tag/element – WordPress Development Stack Exchange