$wp_locale->text_direction = 'ltr';
} ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset') ?>" />
<title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
<!-- Created by Artisteer v4.1.0.59861 -->
<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
<!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
remove_action('wp_head', 'wp_generator');
if (is_singular() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<div id="art-main">
<div class="art-sheet clearfix">
<?php if(theme_has_layout_part("header")) : ?>
<header class="art-header
<?php echo (theme_get_option
('theme_header_clickable') ?
' clickable' : ''); ?>">
<?php get_sidebar
('header'); ?></header>
<?php endif; ?>
<div class="art-layout-wrapper">
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
Próbóje wstawić alternatywny odnośnik do header aby po zmianie języka zmienił się również header.
$wp_locale->text_direction = 'ltr';
} ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset') ?>" />
<title><?php wp_title('|', true, 'right'); bloginfo('name'); ?></title>
<!-- Created by Artisteer v4.1.0.59861 -->
<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
<!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
remove_action('wp_head', 'wp_generator');
if (is_singular() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}
wp_head();
?>
</head>
<body <?php body_class(); ?>>
<div id="art-main">
<div class="art-sheet clearfix">
<?php if(theme_has_layout_part("header")) : ?>
<?php
$mylocale1 = get_locale();
$mylocale2 = get_bloginfo('language');
$mylocale3 = $locale; // a WordPress Global variable
if($mylocale1 == 'pl_PL') echo <header
class="art-header<?php echo (theme_get_option('theme_header_clickable') ? ' clickable' : ''); ?>"><?php get_sidebar
('header'); ?></header>;
if($mylocale1 == 'de_DE') echo <header class="art-headerde
<?php echo (theme_get_option
('theme_header_clickable') ?
' clickable' : ''); ?>">
<?php get_sidebar
('header'); ?></header>;
<?php endif; ?>
<div class="art-layout-wrapper">
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
próbowłem tego kodu ale nie mogę dojść do ładu w którym miejscu go podpiąć w pliku style.css zrobiłem dwie zmienne do wóch obrazów tylko nie moge wywołać ich z header.php