<body> Tag has no standard Wordpress classes

I am working on my first Wordpress theme development using Blocs.

So far everything is fine but I noticed that when exporting the theme the <body> tag has no classes.

Usually, with standard Wordpress themes, the <body> looks something similar to this

<body class="home page-template page-template-elementor_canvas page page-id-1622">

Do I have to set something in Project Settings?

That’s because Blocs does not use body_class function
You can add it manually in the body tag after exporting the theme.

I have already reported that to Norm a while ago in ticket #20856 (bug reporting tool, not here in the forum)

1 Like

I’ll see if I can get this into the 4.4 update, beta starts soon!

3 Likes