@font-face {
font-family: "BigNoodleTitlingCyr";
src: url("../fonts/BigNoodleTitlingCyr.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "PFDinTextCondPro";
src: url("../fonts/PFDinTextCondPro.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
.centerM{
margin: 0 auto;
}
.centerA{
text-align: center;
}
body{
background-color: #f2f2f2;
font-weight: 300;
font-size: 16px;
color: #555;
}
h1, h2, h3, h4, h5, h6{
font-family: "BigNoodleTitlingCyr";
}
/*
.text-header h1{
font-family: "BigNoodleTitlingCyr";
}
*/
.text-header p{
font-family: "PFDinTextCondPro";
}
.wpcf7 .screen-reader-response {
display: none!important;
}
.wpcf7-response-output, .wpcf7-mail-sent-ng{
color: #FF5F5A;
}
<?php
$category = get_the_category(get_the_ID());
$cat_id = get_cat_ID($category[0]->cat_name);
$thumbnail = get_term_meta($cat_id, 'thumbnail_id', true);
$image = wp_get_attachment_url($thumbnail);
?>
<?php endwhile; // End of the loop. ?>
Вот так? Выходит бесконечная загрузка.