Has anyone successfully used SmoothState.js with WordPress?
Particularly maintaining the classes that are applied to the body tag?
I have applied SmoothState to my WordPress site but the major problem I have is with the classes on the body tag not updating. I rely on the classes WordPress adds to the body tag to style different parts of the site. Smoothstate loads/changes page content but I cant get the body tag to update.
Has anyone encountered this same problem before? Could really do with some help.
Thanks in advance 🙂
Read more here: Using SmoothState.js with WordPress but maintain body classes