<script id="rendered-js">
(function ($) {
$(document).ready(function () {
var transformElm = function ($elm, $val) {
$elm.css({
'-moz-transform': $val,
'-ms-transform': $val,
'-o-transform': $val,
'transform': $val,
'-webkit-transform': $val});
};
var watchDoubleGear = function () {
var $doc = $(document);
$doc.on('scroll', function () {
var $doubleGear = $('.double-gear'),
$innerGear = $doubleGear.find('.inner-gear'),
$outerGear = $doubleGear.find('.outer-gear'),
st = $doc.scrollTop(),
igRotate, ogRotate;
// $self.initRotateAttr($innerGear);
//$self.initRotateAttr($outerGear);
transformElm($innerGear, 'rotate(' + st * -1 + 'deg)');
transformElm($outerGear, 'rotate(' + st / 5 + 'deg)');
});
};
watchDoubleGear();
});
})(jQuery);
</script>
window.open('https://drive.google.com/file/d/19eNHxizyb-iA-TidTxfUrNbdH6adivip/view?usp=sharing','_blank');
location = 'https://drive.google.com/file/d/19eNHxizyb-iA-TidTxfUrNbdH6adivip/view?usp=sharing';
/wp-content/themes/ПАПКА_ТЕМЫ/img/arrow-left.png
add_action( 'wp_enqueue_scripts', 'action_function_name_7714', 99 );
function action_function_name_7714(){
wp_localize_script( 'jquery', 'mytheme', array(
'template_url' => get_template_directory_uri(),
) );
}
$('.feedback__carousel').owlCarousel({
loop: true,
nav: true,
smartSpeed: 900,
navText: ['<img src="' + mytheme.template_url + '/img/arrow-left.png" alt="Стрелка влево">','<img src="' + mytheme.template_url + '/img/arrow-left.png" alt="Стрелка вправо">'],
});
Почему?
<!-- <meta property="og:title" content="The Rock3" />-->
<!-- <meta property="og:url" content="http://theplotnikova.ru/society/dementia" />-->
<!-- <meta property="og:description" content="ffff" />-->
<!-- <meta property="og:image" content="http://theplotnikova.ru/wp-content/uploads/2012/12/Censorship-small.jpg" />-->
function enqueue_versioned_script( $handle, $src = false, $deps = array(), $in_footer = false ) {
wp_enqueue_script( $handle, get_stylesheet_directory_uri() . $src, $deps, filemtime( get_stylesheet_directory() . $src ), $in_footer );
}
function enqueue_versioned_style( $handle, $src = false, $deps = array(), $media = 'all' ) {
wp_enqueue_style( $handle, get_stylesheet_directory_uri() . $src, $deps = array(), filemtime( get_stylesheet_directory() . $src ), $media );
}
function themename_scripts() {
enqueue_versioned_style( 'themename', '/style.css' );
enqueue_versioned_script( 'themename', '/js/scripts.js', array( 'jquery'), true );
}
add_action( 'wp_enqueue_scripts', 'themename_scripts' );
<link rel='stylesheet' id='themename-css' href='http://example.com/wp-content/themes/themename/style.css?ver=1429693860' type='text/css' media='all' />
<script type='text/javascript' src='http://example.com/wp-content/themes/themename/js/scripts.js?ver=1429694775'></script>
<?php if( get_field('enable_sidebar') ): ?>
<?php // do something ?>
<?php endif; ?>
(function ($) {
$(document).ready(function () {
var filterList = {
init: function () {
$('#portfoliolist').mixitup({
targetSelector: '.portfolio',
filterSelector: '.filter',
effects: ['fade'],
easing: 'snap',
// call the hover effect
onMixEnd: filterList.hoverEffect()
})
},
hoverEffect: function () {
$('#portfoliolist .portfolio').hover(
function () {
$(this).find('.label').stop().animate({bottom: 0}, 200, 'easeOutQuad');
$(this).find('img').stop().animate({top: -30}, 500, 'easeOutQuad');
},
function () {
$(this).find('.label').stop().animate({bottom: -40}, 200, 'easeInQuad');
$(this).find('img').stop().animate({top: 0}, 300, 'easeOutQuad');
}
);
}
};
filterList.init();
});
})(jQuery);
не помог, то можно попробовать набрать на клавиатуре, например, Alt+0160 или использовать  
.(function($){
$(document).ready(function () {
$('#popup-bg').removeClass('d-none');
$('#pop-wrapper').removeClass('d-none');
$('.main-pop').hide();
$('.blackout').hide();
function fade(){
$('.main-pop').fadeIn(1000);
$('.blackout').fadeIn(1000);
}
setTimeout(fade, 1000);
$('.close-button, .blackout').click(function (e){
var date = new Date();
date.setTime(date.getTime() + (60 * 100));
$.cookie(".main-pop, .blackout'", "", {expires: date} );
$('.main-pop').fadeOut(1200);
$('.blackout').fadeOut(1200);
e.stopPropagation();
});
});
})(jQuery);
Библиотеку jquery залил напрямую c google
function my_scripts_method() {
$tpl = get_stylesheet_directory_uri();
wp_enqueue_script('bootstrap', $tpl . '/js/bootstrap.min.js', array('jquery'));
}
add_action('wp_enqueue_scripts', 'my_scripts_method');
function search_filter($query) {
if ( !is_admin() && $query->is_main_query() ) {
if ($query->is_search) {
$query->set('posts_per_page', '1' );
}
}
}
add_action('pre_get_posts','search_filter');
перебрасывает на главную страницу
В консоли - ошибка 404 - не загружаются файлы css.
wp_enqueue_script('my_vendor_js', get_template_directory_uri().'/assets/js/foundation.js', array('jquery'));
wp_enqueue_script('my_custom_js', get_template_directory_uri().'/assets/js/app.js', array('jquery', 'my_vendor_js'));