Not sure if that headline makes sense.
We’re using a static page as the home page of our site and the blog is pointed to a WP Page: “My Blog Page”.
when you take the blog off of the home page in the reading settings, WP no longer includes “blog” as a body class. in fact it doesn’t give the body ANY classes.
i tried some if is_home() crap but that didn’t work because WP doesnt know it’s on the blog anymore.
basically, i have to have blog in the body class and can’t figure out how to get it in there using WP functionality. I dont want to parse the URL so thats not really an option.
anybody know how to fix this?
- The topic ‘"blog" Body Class doesn't show up when Blog isn't on home page’ is closed to new replies.