body_class() and Pods Pages

0

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>

asked Feb 3 '10 at 6:46

jackson

33

add comment
enter at least 15 characters

2 Answers

0

My mistake, I had a loop in my pods.php template file which was causing problems.

answered Feb 3 '10 at 6:46

jackson

33

add comment
enter at least 15 characters
0

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.

answered May 9 '11 at 1:38

michael_db

1

edited May 9 '11 at 7:04

add comment
enter at least 15 characters