Adding body_class for just one page
-
Hello, I built a site for a client recently, but they just ask me to add a body_class tag that would say: <body class=”custom navy-seaport-e” onload=”setSPETODate()”>. They gave me a script for the head tag, but this was easy to add and is done. This would be breeze for me with regular html. But can anyone tell me how to do this in PHP? (please be thorough as I dont know how to write PHP) Also I am using Thesis the latest version. So if anyone can help through:
- Thesis
- WP
- plugin or widget
That would be great!
Thanks in advance
- The topic ‘Adding body_class for just one page’ is closed to new replies.