/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<body class="<?php echo get_post_meta(url_to_postid($_SERVER['REQUEST_URI']), 'class', true); ?>">