Commit d47b6535 authored by allan's avatar allan

fix bug in the functions.php and add language switcher

parent 214f68ad
Pipeline #1483 passed with stage
in 1 second
......@@ -197,9 +197,3 @@ require get_template_directory() . '/inc/customizer.php';
* Load Jetpack compatibility file.
*/
require get_template_directory() . '/inc/jetpack.php';
<<<<<<< HEAD
=======
>>>>>>> master
......@@ -27,7 +27,9 @@ $header = get_header_image();
<header id="masthead" class="site-header" role="banner">
<?php if ( ! empty( $header ) && ! is_single() ) { ?>
<div class="header-background" style="background-image:url(<?php echo esc_url( $header ); ?>)"></div>
<?php } ?>
<?php }
pll_the_languages(array('dropdown' => 1));
?>
<div class="site-branding">
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment