body_class() and Pods Pages
I just noticed that Pods pages don't seem to play nice with the body_class() function - is this a fact? or am I missing something here?
On my Pods page the ouput from body_class is <pre> <body class="home page page-id-3 page-template page-template-page-home-php logged-in"> </pre>
2 Answers
My mistake, I had a loop in my pods.php template file which was causing problems.
I have the same problem where my podpage keeps getting the 'home' body class. I stripped my template to the minimum, being:
get_header(); pods_content(); get_footer();
Edit: dropping and remaking the podpage did the trick. Strange though.
edited May 9 '11 at 7:04


