add_action( 'woocommerce_before_single_product', 'custom_prev_next_product' );
add_action( 'woocommerce_after_single_product', 'custom_prev_next_product' );
function custom_prev_next_product(){
$previous = next_post_link('%link »', '%title', true);
$next = previous_post_link('« %link', '%title', true);
echo '<div class="prev_next_buttons">';
echo $previous;
echo $next;
echo '</div>';
}
ymaps.ready(init);
function init() {
var myMap = new ymaps.Map("map", {
center: [55.733835, 37.588227],
zoom: 10
}, {
searchControlProvider: 'yandex#search'
});
myMap.balloon.open([55.733835, 37.588227], {
contentBody: [
'<address>',
'<strong>Офис Яндекса в Москве</strong>',
'<br/>',
'Адрес: 119021, Москва, ул. Льва Толстого, 16',
'<br/>',
'Подробнее: <a href="https://company.yandex.ru/">https://company.yandex.ru</a>',
'</address>'
].join('')
});
}
@font-face {
font-family: 'Muller';
src: url('fonts/MullerMedium.ttf') format('truetype');
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: 'Muller';
src: url('fonts/MullerBold.ttf') format('truetype');
font-style: normal;
font-weight: 700;
}
body{
font-family: 'Muller';
font-weight: 400;
}
p{
font-weight: 700;
}