Вчера моя самозагрузки подсказки была нормальна, все работало нормально, но сегодня, после того, как я добавил этот код в header.php:подсказки не появляется больше
<!doctype html>
<!--[if IEMobile 7 ]> <html <?php language_attributes(); ?>class="no-js iem7"> <![endif]-->
<!--[if lt IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]-->
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
моей подсказку показать больше нет. Я попытался удалить этот код, buckup файл в хостинге, удалить все изменения, которые я сделал в css в прошлый раз - ничего не получилось. Я так расстроен. Что это может быть?
My wordpress сайт: http://video-walks.ru.com/?page_id=315. Мой header.php:
<!DOCTYPE html>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
<title><?php wp_title('|',true,'right'); ?> <?php bloginfo('name'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<!-- Le styles -->
<link href="<?php bloginfo('stylesheet_url');?>" rel="stylesheet" />
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<?php wp_enqueue_script("jquery"); ?>
<!-- tooltip enables -->
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tooltip.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a").tooltip({
'selector': '',
'placement': 'bottom'
});
console.log("jimmy");
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$("span").tooltip({
'selector': '',
'placement': 'bottom'
});
console.log("jimmy");
});
</script>
<?php wp_head(); ?>
</head>
<body >
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="<?php echo site_url(); ?>"><li class="icon-home"> </li><?php bloginfo('name'); ?></a>
<div class="nav-collapse collapse">
<ul class="nav">
<?php wp_list_pages(array('title_li' => '', 'exclude' => 310)); ?>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<?php if (! is_front_page()) : ?>
<form action="<?php echo home_url('/'); ?>" method="get" class="form-stacked pull-right">
<fieldset>
<div class="center">
<div class="input-append input-prepend">
<input type="text" name="s" id="search" placeholder="<?php _e("Search","bonestheme"); ?>" value="<?php the_search_query(); ?>" /><button type="submit" class="btn btn-inverse"><i class="icon-search"></i> </button>
</div>
</div>
</fieldset>
</form>
<?php endif; ?>
Спасибо, хотя мне понравилось, что вы сказали, что это не работает или путь неправильный, хотя я пробовал все возможные пути – user2653883
Где вы извлекаете файл? Он должен быть расположен в каталоге WordPress. – MasterAM
О, извините, одна секунда ... – user2653883