Wordpress Technology

Wordpress Tips, Tutorials, Hacks

Posts Tagged ‘add post name to body class’

Add Post Name to Body Class

Sometimes doing the css layout, we need to assign the specific class name to the body tag. To achieve the task, the only thing you have to do is to copy the following code and paste it on your theme functions.php file. Once saved, the post/page name will be automatically be added to the body […]

© 2009 | Made by Vancouver Web Design | Internet Marketing