Support » Fixing WordPress » body_class stopped working



    body_class isn’t printing the classes any more. I’m just getting “custom-support”. Has anyone experienced this? Any way to fix this?

    Up to a few days ago, I would get a ton of different classes printed out now just “custom-support”. The site is hosted on Rackspace and I just pointed the domain to the site. Was running on a test server before.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chris Olbekson


    Level 12 Bug Squasher & Forum Moderator

    Please disable or delete all plugins and switch to the default theme (TwentyEleven since 3.3). After making these changes does the problem still occur? If no, re-enable everything one by one to see which component causes the problem.


    Thanks. Just relaunched the site and this is just one of the two things that are messing up.


    Haven’t disabled all the plugins yet. Site has had a lot of traffic. Going to try late at night.

    I did re-upload wp-admin and wp-includes folders from a fresh download of WordPress. Didn’t work.

    Switched to TwentyEleven and the body_class worked fine.

    Wonder if the theme of gotten messed up. Will disable all plugins and go through each one. It could be one of them mucking something up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘body_class stopped working’ is closed to new replies.