<script type="text/javascript" src="https://vk.com/js/api/openapi.js?169"></script>
<div class="col-lg-6 text-left">
<div id="vk_post_-206998906_533"> </div>
<script type="text/javascript">
setTimeout(() => {
VK.Widgets.Post("vk_post_-206998906_533", -206998906, 533, 'DsVRe3o1nQ-Y7jbVx0xuHnnwvss');
}, 0);
</script>
</div>
<div class="col-lg-6 text-left">
<div id="vk_post_-206998906_534"></div>
<script type="text/javascript">
setTimeout(() => {
VK.Widgets.Post("vk_post_-206998906_534", -206998906, 534, 'AimpCfLFhD2WjDrFGTERqeTD5Cg');
}, 5000);
</script>
</div>
$(document).ready(function () {
var ytFrame = '<iframe id="player" class="video" src="https://www.youtube.com/embed/B02INhxSnQY?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="allowfullscreen" width="560" height="315"></iframe>';
$('.ytLoader').html(ytFrame);
});
<div class="ytLoader">
</div>
function disable_wp_auto_p( $content ) {
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
return $content;
}
add_filter( 'the_content', 'disable_wp_auto_p', 0 );
@font-face {
font-family: "OpenSans";
src: url("fonts/opensans.woff2") format("woff2")
url("fonts/opensans.woff") format("woff") ;
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "OpenSans";
src: url("fonts/opensansbold.woff2") format("woff2"),
url("fonts/opensansbold.woff") format("woff");
font-weight: 700;
font-style: normal;
}
function ra_change_text_multiple( $changed) {
$text = array(
'Add Listing' => 'ВАШ ТЕКСТ',
);
$changed= str_ireplace( array_keys($text), $text, $changed);
return $changed;
}
add_filter( 'gettext', 'ra_change_text_multiple', 20 );
$image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full');
<img src="<?php echo $image_url[0]; ?>" />