Answer the question
In order to leave comments, you need to log in
How to display a video on a page that is written in code?
After the transformations on the site omiclinic.ru , the video on the main page was no longer displayed.
It is written in the code, uploaded on the hosting.
What and where to correct?
so it is written in the Page Template "Homepage" (homepage.php
<div class="video_blok">
<video src="business.mp4" controls></video>
</div>
<!--SLIDERS RIGHT-->
<div class="home_page_slader">
<!-- Slader (+) -->
<?php $slider = new WP_Query(array('post_type' => 'slides', 'order' => 'ASC')) ?>
<?php if ( $slider->have_posts() ) : ?>
<div class="page_slader">
<div class="owl-carousel">
<?php while ( $slider->have_posts() ) : $slider->the_post(); ?>
<div class="item_slader"><a href="<?php the_field( 'ссылка' ); ?>"><?php the_post_thumbnail('full'); ?></a></div>
<?php endwhile; ?>
</div>
</div>
<?php else: ?>
<div><h3>Место для слайдера</h3></div>
<?php endif; ?>
<!-- Slader (-) -->
</div>
<div class="slid">
<!--SLIDERS END-->
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question