passing current-language to body
This commit is contained in:
parent
252a76a317
commit
d3d32cc51d
|
|
@ -7,10 +7,10 @@
|
||||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
|
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
<?php $currentLanguage = apply_filters('wpml_current_language', null); ?>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?> current-language="<?php echo $currentLanguage ?? "" ?>">
|
||||||
<?php
|
<?php
|
||||||
do_action('tailpress_site_before');
|
do_action('tailpress_site_before');
|
||||||
global $post;
|
global $post;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user