passing a front-end body class

This commit is contained in:
Antoine M 2023-12-21 15:43:51 +01:00
parent 1d3f9dfcb6
commit 101b178bb4

View File

@ -11,7 +11,7 @@
</head> </head>
<?php $currentLanguage = apply_filters('wpml_current_language', null); ?> <?php $currentLanguage = apply_filters('wpml_current_language', null); ?>
<body <?php body_class(); ?> current-language="<?php echo $currentLanguage ?? "" ?>"> <body <?php body_class("homegrade-frontend-page"); ?> current-language="<?php echo $currentLanguage ?? "" ?>">
<?php <?php
do_action('tailpress_site_before'); do_action('tailpress_site_before');
global $post; global $post;